Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error on web
#1
Solved: 11 Years, 4 Months ago
Hi all,

Here is my code:

Code:
SystemUtil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE","","C:\Documents and Settings\Sysadmin","open"
Browser("Browser").Page("Page").Sync
Browser("Browser").Navigate "http://www.timesofindia.com/"
wait(18)
Browser("Browser").Page("The Times of India: No").Link("IPL: Mumbai thrash Chennai").Click
Browser("Mumbai Indians thrash").Page("Mumbai Indians thrash").Sync
Browser("Mumbai Indians thrash").Close

In my code i've put wait statement cuz when you type url and when page open there is one popup window or advertisement comes and it stays there for sometime and when that goes or close by itself qtp should be able to click the link but somehow qtp doesn't when i recorded i did the same.

I've also tried to use recovery scenario.And added to the test but still i'm getting error.Can anyone help how to use recovery scenario or is there any other solution for this problem.

I've attached the screen shot.
Thanks,
Learner
Reply


Messages In This Thread
error on web - by newqtp - 05-14-2008, 11:59 PM
RE: error on web - by somisays - 05-15-2008, 01:53 AM
RE: error on web - by newqtp - 05-15-2008, 11:01 PM
RE: error on web - by somisays - 05-16-2008, 01:34 AM
RE: error on web - by newqtp - 05-16-2008, 06:06 AM
RE: error on web - by Guest - 05-16-2008, 12:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Web service automation:Error "could not create SSL/TLS secure channel" pranjalipalkar 0 2,647 01-16-2013, 11:40 AM
Last Post: pranjalipalkar
  XPath for web link throws error srselva 1 1,823 12-11-2012, 12:10 AM
Last Post: supputuri
  Web Page expired error smita godbole 2 3,142 04-25-2012, 08:36 PM
Last Post: smita godbole
  I want to not fail on handeled run error in web service test sanavab 4 4,551 05-21-2011, 12:10 PM
Last Post: sanavab
  Web Service Automation error Ajay Hoskote Somashekar 1 3,044 01-04-2011, 07:22 PM
Last Post: Saket

Forum Jump:


Users browsing this thread: 4 Guest(s)