How to handle Run-time errors?
Answers were Sorted based on User's Feedback
Answer / raja83
QTP have Recovery scenerio concept we can handle run time
error through Recovery Scenario
| Is This Answer Correct ? | 4 Yes | 0 No |
there are two types of run-time errors
expected (if we know in which line of script it is occuring)
and unexpected (if we do not know the occuring place)
for expected run-time errors we will handle using VB script
like on error resume next method
for unexpected errors we will go for recovery scenario
| Is This Answer Correct ? | 3 Yes | 1 No |
take one exmple and write on that discriptive programe in qtp?
QTP script is not working on other's machine..
How many scripts did you have?
How to use actions in qtp ?
Suppose if a functionalityis not mensioned in requirement document and but its present in application. will it be consider as a bug and viceversa?
If you use low level recording,what objects will be recorded in Object Repository and what properties?
suppose i can done the project , that project have 4 modules in that one module they have many links(web pages).in that time i can say i can work on some links? or total module?
How would you directly trigger javascript in a test?
How we can add objects to the object repository during the running?is it possible or not?explain
How can we upload pdf files in qtp?
I have to automate webpage. If I click one hyperlink2 it will take 2 hrs to open. How to automate hyperlink2?
4 Answers Cap Gemini, Polaris,
how to write code for to select all the checkboxs in the gmail i wrote code for my question but it didn't works any body suggest what wrong my code my code is Set chkboxDesc=Description.Create() chkboxDesc("type").value="chekbox" Set chboxcollection=Browser("name:=Gmail .*").Page("title:=Gmail .*").ChildObjects(chkboxDesc) For i=0 To chboxcollection.count-1 chboxcollection(i).set "ON" Next i was getting general run time error pls help me i am in learing stage