Hi, I have a working script where I am trying to exit 2 (two) for loops after a condition is met. Can you help? I included the snippet that is in question and the entire script which is below.
Thank-you
Here is the snippet:
If n = 3 Then
print "Terminated after" & n & " loops"
'I want...
Hi, I need help breaking out of a loop after x number of minutes. The following script loops every 5 seconds until txtout = txtin. The script loops indefinitely if txtout does not equal txtin.
How do I break out of the loop after 10 minutes?
'Loop start
Do
txtout =...
Can you help? I am using vbscript with QTP and I am trying to delete characters in a string. I want my code to output: "3900".
The original string is: "System;3900;Chassis 1;S-Blade;3900 01.01.01"
My code currently outputs: "3900 Remove from Here to End 1;S-Blade;3900 01.01.01"
How do I...
Can you help modify this script?
I have a working script (below) that will read the last line of a text file and then report whether the specific text ("Charlie Brown") was found or not.
I would like to modify the script to read the last 5 lines of the text file and then report if ("Charlie...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.