How to handle the errors without using recovery scenery?
Answers were Sorted based on User's Feedback
Answer / radhika
on error resume next---- has to be written in the beginning
or the code....
Is This Answer Correct ? | 9 Yes | 1 No |
write on error resume next statement ,where do you expect an error may come. or in run setting set as "proceed to next step.
Is This Answer Correct ? | 0 Yes | 0 No |
hi U can use like this also
If browser("HOW TO HANDLE THE EARRORS").Page("HOW TO HANDLE
THE EARRORS").WebElement("Question : HOW TO HANDLE").Exist
Then
browser("HOW TO HANDLE THE EARRORS").Page("HOW TO
HANDLE THE EARRORS").WebElement("Question : HOW TO
HANDLE").Click
End If
Correct if wrong
Balaji
Is This Answer Correct ? | 0 Yes | 7 No |
How to write business scripts using object repository with different scenarios
can we change the name of a check point? when will you start writing testcases? do you follow any methodology for writing test scripts? qtp is key word driven testing or data driven testing?
What is the difference between property and method?
if interviewer asked about the framework used for automation how we will handle the question..means what should be the answer..plz help..which framework u r used in our company?
What are the drawbacks of QTP?
How can we disable smart identification at the time of recording? Ideally, smart identification should be enabled only at the run-time.
for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b
How many types of actions are there in quicktest professional?
Could you please any body help me.for example in web table in the first row and first column there are 3 links like l1,l2,l3 having indexes 0,1,2 but second time links will change their order like l2,l3,l1 and indexes also changed how can we handle this situvation with script....
In qtp is it possible to check broken links of a page?
how to call a funtion in a script? i have saved the login scipt in notepad. with extension .vbs. But when i am calling the function with the keyword CALL <Function Name>. its not working out. can any one give me a clue how to call the external functions. with example.
what is flag=0 in qtp tool.. i am strugglin to use flag function , exactly when it is used , any real time expert pls explain clearly?