Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to automate the execution of the script...
#2
Not Solved
Write ur code in such a manner that if error comes then it should handle it then moves to the next URL.

For eg.
Code:
Browser("").AddressBar("").Set URL1
          If Window("").Dialog("Error").Exist then
              Dialog("Error").Button("Ok").Click
              Reporter.reportevent micFail, "URL1","showed run time error"
          Else
              reporter.ReportEvent micPass,"URL1","opened successfully"
Then write same code for other RLs aswell

Regards,
Gaurav
Reply


Messages In This Thread
RE: how to automate the execution of the script... - by K Gaurav Varshney - 07-09-2012, 05:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Issues while uft script execution Mrutyanjayam 0 2,085 10-03-2015, 01:46 AM
Last Post: Mrutyanjayam
  UFT taking different script execution timings while comparing 2 excel files. sudheer 0 2,655 06-26-2015, 03:28 PM
Last Post: sudheer
  QTP execution of script on completion of another ragunath 0 2,133 02-26-2015, 11:07 AM
Last Post: ragunath
  Need to exit hte execution of the script... manishnangalia 3 3,793 07-18-2012, 07:02 PM
Last Post: sshukla12
Exclamation QTP 11 - Object properties are lost after execution of script for Oracle Forms 11 ramapullareddy 0 3,167 12-07-2011, 04:15 PM
Last Post: ramapullareddy

Forum Jump:


Users browsing this thread: 1 Guest(s)