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 |
Explain about the Test Fusion Report of QTP?
I want to test advanced Java applications what kind of add- ins I have to install?
Where we use data driver in qtp?
When we use Object Spy? can we write QTP script before built is came in testing?
How to use Environment parameterization? Explain with an example.
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab1"" value=""Save"" type=""button"">", Second button "html id:=btnSave "outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"">", Third button "html id:=", outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab Fourth button "html id:=btnSave outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"" 5th button "html id:=", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a5').click();"" value=""Save"" type=""button"">",
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
how to retrieve the value from data table to the script and using the value to be displayed in message box. an also retrieve the value of the output value during runtime to the script or separating and using that value in the script.