how can we handle exceptional handling in qtp

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the concept of object repository and how QTP recognizes objects?

546


What is the difference between the keyword view and expert view?

521


How many types of status are there?

584


What is reusable action?

599


Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly

1251






how to do the batch testing in test director using manual testing procedure?

1776


I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)

1408


How to define array in qtp?

570


Can I change properties of a test object?

620


i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

1498


How will you test a keyboard?

599


HOw to add the recovery file at runtime to the test file .

1535


Is the qtp course will help to create a virtual object?

1514


Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?

561


www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example

1726