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 |
I have the script like this: Browser("Login").Page ("Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. I got the value "DC3701737" in to a variable(Say x). Now if i want to pass the variable in to link object .. how? Browser("Login").Page("Application").Frame ("ScopeFrame").Link(x).Click Is it possible to pass any variable into a link object .. so, that the application will select that link automatically? If ur not able to understand, pls let me know.
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
How can we QTP Scripts in xml format? is there any way to do so?
hi i have one issue while coding the dates . i want to add the date curret to 4 days . can any one helme plz about this regards balaji
How will you set a unique four digit number in an edit field in QTP?
How to capture the text from the application using QTP?
i have batch scripts in qtp and i want to update the status like pass/fail in excel sheet after excecuting the every script in batch.how to write the script for this?
how to retrieve the xml file data through qtp. can anybody send script for this..
What are the limitations in using Virtual objects?
when we open flight reservation.at that time where we found synchronization point() and wait function().i m confused .i want this answer.
what is throw object ?
How to Analyze the Checpoint results by Table and DB Checkpoints?