Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open a URL. through QTP
#11
its fine...
1) He has combined DP and regular expression. Yes, name refers to the name of browser. You can see it by doing an object spy on it OR in the Object Repository
2) This would work in case you have only 1 browser open. If you have more than 1, you need to give some more properties.
3) As above
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#12
Thanks Ankur!

As you suggested I found the name of the browser by doing an object spy, and the script run is successful.
I modified the script as....
Browser("Gmail: Email from Google").Close
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP does not record the first step of open filight reservation application. Blossoms 9 19,391 07-20-2015, 05:50 PM
Last Post: AJAJ
  When QTP is open am not able to open my AUT. chetan3987 2 3,679 02-12-2014, 01:18 AM
Last Post: supputuri
  How to enter values into excel which is already open using QTP Narayanan 1 4,874 12-11-2013, 07:30 AM
Last Post: basanth27
  Problems with URL as Object identifier??? jcraig26 1 3,884 02-27-2013, 05:06 PM
Last Post: anil2u
  cannot open QTP tests learnasugo 8 10,472 10-18-2012, 11:28 AM
Last Post: Ankesh

Forum Jump:


Users browsing this thread: 1 Guest(s)