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
Explain the concept of object repository and how QTP recognizes objects?
What is the difference between the keyword view and expert view?
How many types of status are there?
What is reusable action?
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
how to do the batch testing in test director using manual testing procedure?
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)
How to define array in qtp?
Can I change properties of a test object?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
How will you test a keyboard?
HOw to add the recovery file at runtime to the test file .
Is the qtp course will help to create a virtual object?
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
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