Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
stop the execution of QTP script
#1
Solved: 10 Years, 9 Months ago
Dear All

i am having 2-3 condition to check and i want as soon as my first condition fails excution of whole script should stop after writing the result in to an excel file

please suggest.

Thanks
Rajmc
#2
Solved: 10 Years, 9 Months ago
You can use 'ExitTest' to stop the script if any condition fails as per your requirement.
The query does not have any concern with the Regular Expression, Thread has been moved to QTP Beginners.

#3
Solved: 10 Years, 9 Months ago
Let me try and will let you know

thanks
#4
Solved: 10 Years, 9 Months ago
- I have installed QTP 10 on Windows vista OS. I have problem to open the web site ( new mercury tour or which i set it on
"record and run" setting. My mercury application run well and record properly.

Thanks.

Piyush
#5
Solved: 10 Years, 9 Months ago
Hi Piyush,
Please open a new thread for your query.
You should not reply in thread which is not relevant to your query.

#6
Solved: 10 Years, 9 Months ago
Thanks Saket, ExitTest works ...

can u pls. tell me the difference between ExitTest, ExitRun and ExitIteration

Regards
rajmc
#7
Solved: 10 Years, 9 Months ago
Hi All,

Hereafter I request all the new members of forum to startup with best practice of having a quick look at "Posting Guidelines" & then u can start posting ur issues/Accessing the issue solutions so on so forth.

As we have been replicating the request for opening a new thread for multiple times.
#8
Solved: 10 Years, 9 Months ago
Yes , you should always put one query per thread,
as Sreekanth already suggested - Please read the Posting Guidelines.

For your answer-
ExitTest - Exits the entire Test
ExitRun - is an obsolete (not supported now in newer versions or supported for backward compatibilty) ExitTest is the alternative for this,
ExitTestIteration - Exits the current iteration of the test.

Thread is closed now

hope this helps.



Possibly Related Threads…
Thread Author Replies Views Last Post
  Issues while uft script execution Mrutyanjayam 0 1,702 10-03-2015, 01:46 AM
Last Post: Mrutyanjayam
  UFT taking different script execution timings while comparing 2 excel files. sudheer 0 2,210 06-26-2015, 03:28 PM
Last Post: sudheer
  QTP execution of script on completion of another ragunath 0 1,771 02-26-2015, 11:07 AM
Last Post: ragunath
  Perform some functions whenever QTP Stop button is pressed smartkarthi 2 2,935 08-22-2013, 11:43 AM
Last Post: smartkarthi
  How to stop Second Action Call faheem05 6 3,914 10-05-2012, 11:11 AM
Last Post: faheem05

Forum Jump:


Users browsing this thread: 1 Guest(s)