Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Web Repository Programming
#1
Not Solved
I tried Recording and playingback on Greyhound.com.It passed

1. Start recording
2. Open Browser
3. Navigate to: greyhound.com

Code:
SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe","","C:\Documents and Settings\Renu","open"
Browser("MSN.com").Page("MSN.com").Sync
Browser("MSN.com").Navigate "about:blank"
Browser("MSN.com").Page("MSN.com").Sync
Browser("MSN.com").Navigate "http://greyhound.com/"
Browser("MSN.com").Page("Greyhound.com | Home").WebEdit("ctl00$body$search$listOrigin").Set "Atlanta, GA"
Browser("MSN.com").Page("Greyhound.com | Home").WebEdit("ctl00$body$search$listDestinat").Set "virgin"
Browser("MSN.com").Page("Greyhound.com | Home").WebEdit("ctl00$body$search$listDestinat").Set "Virginia Beach, VA"
Browser("MSN.com").Page("Greyhound.com | Home").Link("Search Schedules").Click


when I am playing back ...its failing and not going to results page It is asking to please fill out required fields and stopping
Reply


Messages In This Thread
Web Repository Programming - by renurao - 05-18-2012, 08:22 PM
RE: Web Repository Programming - by Tarik Sheth - 05-24-2012, 07:21 PM
RE: Web Repository Programming - by renurao - 05-25-2012, 02:22 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to merge Local object repository to Shared Object Repository in QTP9 keerthana 1 4,483 06-16-2010, 07:21 AM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)