09-17-2012, 01:48 PM
Hi,
I have recorded a simple script in QTP.
It replays for the first time but stops midway the second time I run it with an error. Please refer to the attachment for the error.
I am using IE7 and QTP 11.00 .
Below is the script.
Please help.
I have recorded a simple script in QTP.
It replays for the first time but stops midway the second time I run it with an error. Please refer to the attachment for the error.
I am using IE7 and QTP 11.00 .
Below is the script.
Code:
Browser("Google").Page("Google").WebEdit("q").Set "QTP"
Browser("Google").Page("Google").WebButton("Google Search").Click
Browser("QTP - Google Search").Page("QTP - Google Search").Link("HP QuickTest Professional").Click
Browser("HP QuickTest Professional").Page("HP QuickTest Professional").Sync
Browser("HP QuickTest Professional").Close
Please help.