how can we handle exceptional handling in qtp
Answer Posted / raveendran
You can handle expeption in your script using If..Then
statement, or you can use .Exist statement, If any know
error message which you fell it occur, you can use
this .exist stmt to close that window.
You can use recovery scenario (.qrs file) record your
recover scenario and makesure that you are loaded that .qrs
filr into your QTP window whenever you run the test, if any
problem occur during run, it use that recovery scenario to
recover from failure.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How did you use regular expressions in QTP and also in WR?
Define Error Pane of UFT?
What is the pros and cons between QTP and Rational Robot
How to find the difference between 2 dates in qtp?
Explain the benefits of quick test pro(qtp)?
How to Test the mainframe application?
what is ODC and GDC?
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
How to interact tool & application build in QTP?
how do u plan test automation?
Explain advantages and disadvantages of ddf?
How to use checkpoints in qtp ?
What is the architecture of your project? Can any one answer for this question plz........
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?