Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Query on Recording
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
When we record web application via Record and run test on any browser method
Script:

Code:
1. Systemutil.Run "C:\Program files\Internet Explorer\iexplore.exe"
2. Browser("XXX").Page("XXX").sync
3. Browser("XXX").Navigate "http://www.google.com"


After recorded, i removed the script line 2 and run, it run successfully without show error. Please let me know what the purpose of the line 2?

V.Vadivelan
Reply
#2
Solved: 10 Years, 9 Months, 2 Weeks ago
Its simply a syncrhonization point. Its running successfully because your QTP does not reach the default timeout till it reach line 3 (when line 2 isn't there).
Try lowering your default timeout (from tools > settings) and you will see the reasoning more clearly.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Query regarding "Call" statement anupam4j 1 1,918 09-26-2014, 01:46 PM
Last Post: vinod123
  Data Table Query Suma Parimal 4 4,475 01-21-2014, 12:50 PM
Last Post: Suma Parimal
  UFT Query invisible786 0 1,797 01-15-2014, 09:41 PM
Last Post: invisible786
  Query about checkpoints pkdhake 5 3,481 07-11-2013, 03:17 PM
Last Post: vinod123
  query on test results look in qtp 11 madhulika99 1 2,594 02-25-2012, 07:28 AM
Last Post: inborntester

Forum Jump:


Users browsing this thread: 1 Guest(s)