Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how can we handle exceptional handling in qtp

Answers were Sorted based on User's Feedback



how can we handle exceptional handling in qtp..

Answer / siva krishna

We can handle exceptional handling in qtp by using
Recoery Scenarios and the next one is by using "ON ERROR
RESUME NEXT".I think both these are the methods we actually
have in QTP with exceptional handling.Let me know if any
mistakes are there.

Is This Answer Correct ?    4 Yes 0 No

how can we handle exceptional handling in qtp..

Answer / softwaretester4u

Hi we can handle exception handing through recovery
scenarios ,after creation of recovery scenarios ,call the
settings ,resource tab

Is This Answer Correct ?    2 Yes 0 No

how can we handle exceptional handling in qtp..

Answer / mogal

We can handle exceptions siuing below ways
1.On Error Resume Next - Skip the Error and continue the next stpes of execution
2. Recovery Scenarios
Select Resources > Recovery Scenario Manager. Create new Scenario > Specify the Trigger Event > Specify the Recovery Operation > Specify Post-recovery test run options
3. Conditional Statements ( If, ElseIf,Else,Do,While,...)
4.Synchronization Methods (Wait,WaitProperty,Sync,Exist)

Is This Answer Correct ?    1 Yes 0 No

how can we handle exceptional handling in qtp..

Answer / 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

how can we handle exceptional handling in qtp..

Answer / denis parker

Scripting related exceptions can be handled in two ways:
1. On Error Resume Next - To Suppress error and proceed the script execution

2. On Error GoTo 0 - To express (or prompt) the error and proceed or stop the script execution based on user selections in the error prompting message box.

Generic Application (outside the scripting)related exceptions can be handled in more ways (but listed here 3 ways):

1. Recovery Scenario
2. Conditional Statements
3. Using "Exist" method

Is This Answer Correct ?    0 Yes 0 No

how can we handle exceptional handling in qtp..

Answer / saket

We can handle exceptional handling using the VB scripts to
some extent.All procedure which are prone to exception can
be kept in a if-then loop and depending upon the result of
the operation,either proper error message can be displayed
or next procedure can be executed.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

what is use of optionexplicit in variable declaration

5 Answers   GE,


how you have used object libraries? plzzzzz do answer

1 Answers  


what is tool interface?

1 Answers   ITC Infotech,


How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.

0 Answers  


How to find array size in qtp?

0 Answers  


What is OUTPUT VALUE ? PLZ Explain With Example?

5 Answers  


How you are maintaining shared object repository in your team or your project?help me plz

1 Answers   CTS,


What is the use of "Step Generator" in QTP??for what purpose we are using??explain with an example

2 Answers  


in one page we have 100 links i have to click the 99th link how can i click the 99th link.

4 Answers   GK Technologies, IBM,


how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?

0 Answers  


How to manage a drag drop event in the qtp

3 Answers  


hi friends i was tried to connect qtp with oracle database using provider.i got a error.so anyone can help me out by correct script

2 Answers  


Categories