Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Browser.Navigate
#1
Solved: 11 Years, 4 Months ago
Hi Friends,

I am using QTP9.2

I have recorded the following script:

Code:
'SystemUtil.Run "internet","","","open" this is generated by QTP
SystemUtil.Run "iexplore.exe","","","open"  ' i did small modification here
Browser("Browser").Page("Page").Sync
Browser("Browser").Navigate "http://www.allinterview.com/Interview-Questions/QTP/page1.html"
Browser("Browser").Page("Page").Sync
Browser("Browser").Navigate "http://www.allinterview.com/Interview-Questions/QTP/page2.html"
Browser("Browser").Page("Page").Sync
Browser("Browser").Navigate "http://www.allinterview.com/Interview-Questions/QTP/page3.html"
Here i am just opening the IE and navigating to the pages.

But when i run the script, the page is not navigating to the URL.

Can anybody know the reason, please let me know how to do this.

Similar scripts worked fine in QTP8.2(it seems).

Thanks in advance,
Uday.
Reply
#2
Solved: 11 Years, 4 Months ago
It is navigating If you want to view it. Keep wait() statement after navigate statement you can view it. Provide wait () with little amount of time.
Reply
#3
Solved: 11 Years, 4 Months ago
Hi,

Thanks for the reply.

I tried it previously, but it doesn't work for me.

So posting this in the forum.

Environments i am using is:
QTP9.2
IE6
Reply
#4
Solved: 11 Years, 4 Months ago
tRY THIS
Code:
SystemUtil.Run "iexplore.exe","http://www.allinterview.com/Interview-Questions/QTP/page1.html"
SystemUtil.Run "iexplore.exe","http://www.allinterview.com/Interview-Questions/QTP/page2.html"

SystemUtil.Run "iexplore.exe","http://www.allinterview.com/Interview-Questions/QTP/page3.html"
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  error object disabled on line 9 where it says " Browser("Browser").CloseAllTabs" kp_usa 1 3,343 12-20-2012, 12:20 AM
Last Post: adityapant27
  Navigate & Learn Objects Shama Ahsan 0 2,227 12-05-2012, 11:51 AM
Last Post: Shama Ahsan
  Not able to navigate and learn oracle forms manumaan 2 3,581 06-26-2012, 06:16 PM
Last Post: manumaan
  My IE Browser Recognizing as Window instead of Browser. sivakrishna 4 9,094 02-11-2012, 12:19 AM
Last Post: ravi.gajul
  Navigate and Learn Freezes up consumed85 0 2,533 11-08-2011, 12:25 AM
Last Post: consumed85

Forum Jump:


Users browsing this thread: 2 Guest(s)