09-13-2010, 08:47 PM
|
Changing URL
|
|
09-13-2010, 09:22 PM
Should be as simple as...
Code: 'The following example uses the Navigate method to navigate to the
'Mercury Interactive Web site.
Browser("Mercury Tours").Navigate ("www.merc-int.com")That is from the QTP help documentation.
09-14-2010, 07:31 PM
Once you invoke browser with URL.
with Systemutil.Run "iexplore", "www.google.com" it invoke the internet explorer with "www.google.com" url, invokeapplication "path of the internet explorer/other browser" Browser("CreationTime:=0").Navigate2 "www.google.com" even this invokes the browser and navigate to "www.google.com" Here, we can change url on same browser by using Navigate or Navigate2 methods... to navigate other url's Here, you can use descriptive way or directly use the saved browser in OR. Browser("Google").Navigate2 "www.yahoo.com" ' It navigates from google page to Yahoo page |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Page element keep changing | chong67 | 4 | 5,333 |
11-08-2016, 09:17 PM Last Post: Paul Rammone |
|
| Problems with URL as Object identifier??? | jcraig26 | 1 | 3,887 |
02-27-2013, 05:06 PM Last Post: anil2u |
|
| Changing QTP Class | praveendasika | 1 | 3,295 |
07-13-2012, 07:35 AM Last Post: ravi.gajul |
|
| url value | sia sharma | 0 | 2,572 |
07-02-2012, 12:30 PM Last Post: sia sharma |
|
| split the values in url ....................... | rjkmr.aiht | 3 | 4,997 |
05-21-2012, 06:09 PM Last Post: Ankesh |
|
Users browsing this thread: 1 Guest(s)

