Please any on explain usage of "on error resume next","On
error goto 0" with sample code....Thankyou.........
when a tester is asked to execute 100 scripts in a short
time..(the server will be down in another 10 min)..how he
has to run those scripts?
Answers were Sorted based on User's Feedback
Answer / ganesh kumar
"on error resume next" is to resume the QTP to the next
line,next action when an error occurs while executing the
Test Script
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / aiswaryan
On error resume next - If any error occured in the function
then qtp will skip that error and start from the line next
to that and report the error in the result.
On error go to 100 - goto 100th line.
If the scripts are independent to each other, then you can
execute the scripts even if it stops in 10th script, in
later you can continue testing with that.
| Is This Answer Correct ? | 3 Yes | 4 No |
How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks
how do you find the number of occurences of string QTP from the expression , " QTP+QTP=2QTP"
who is the best faculty in Hyderabad for QTP?
For what purpose to we use object repository in a application?also explain usage of obj.repository?
Hi Frriends... I have one Query please give the apropriate ans. when we r working with web based application , the user loggedin page name is changed respect to the username ( Take a exp. Yahoomail.com) .When we use Datadriven test to this scenario ,each time the loggedin page name is changed ...then the script is fail.. at that time wat can do... please give the apropriate ans. Thanx in advance..
What are accessibility check point and xml check point?
where is the bitmap checkpoint be saved
How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.
How would you directly trigger javascript in a test?
i have an array CAPGEMINI .....Here i need to check whether G is there or not ..how to do that and friends i have one big doubt that is whether it is array or string ,how we come to know that and where we consider that it's array ,where we consider that it's an string because when i want to find the length i have big doubt whether we need to use len function or ubound ... ans me for this TWO Questions any one please
Using Regular expression method some particular value is not present in given value. HOow do use regular expression? Forexample password all number,character ,special character are accepted but (_',)underscore,comma are not used. How do write regular expression.
Whats the realtime QTP testing process