Hi This is tanya actually im facing problem in Qtp actully
some time QTP doesnot recoznise the recorded object due to
which script is going to fail.so can you tell me how we can
handle this situation and i have another concerened issue
is that at the time of run New errors comes every time so
how we can handle this sitauation how we can add Recovery
scenarios to the script.some time application runs
successfully and some time it produces new error thats why
i am facing lot of problem please give me the sugeestion as
soon as possible.
Answers were Sorted based on User's Feedback
Answer / shilpa reddy
go to object repository-->select add/remove objects-->show
ur unrecognised object with hand icon-->click ok.
now ur unrecognised object will be aded to object
repository,so ur script will run succesfully.coming to ur
second question,i will xplain u about recovery scenario(RS)
concept.
In this RS we have 4 types of trigger events.RS is concept
to handle the unexpected errors at run time,practically
these are:
1)application crash
2)pop up window
3)object state
4)test run error
RS for application crash handles,how to get recoverd from
application crash.
RS for pop up window deals the unexpected pop up windows at
runtime.
RS for object state deals with the objects which are
changing dynamically,in one word to say it handles object
related errors.
RS for test run error is applicable when a step in the test
fails to run succesfully.
I will provide u the navigation for application crash
scenario.all other are same but differs in selecting
trigger events.instead of application crash u can choose
other trigger events:
tools-->recovery scenario manager-->click on new scenario
icon-->nnext-->select application crash as tigger event--
>next-->add or specify application-->next-->next-->select
recovery operation type-->next-->check/uncheck add another
recovery operation-->next-->next-->enter scenario name--
>next-->select add scenario in to current test-->finish--
>close-->save scenario-->run ur script.
if any error occurs in ur application qtp invokes the
corresponding scnario.
| Is This Answer Correct ? | 1 Yes | 0 No |
what is the test object?
Differenece betwen Project and product ? when company need project or product?
How does qtp recognize objects in aut?
i need the word "good morning" to be displayed by default whenver we click upon the blank test while opening the qtp. Could you please answer...
we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?
Hello, Can we capture only the labels of the web page in the object repository. If yes, then how. Actually my scenario is: I have to capture all the label of mercury site http://newtours.mercuryinteractive.com/tour/mercurypurchase. php. and want to copy all these labels in the notepad. So,please help me how to do this all. Thanks in advance, Gaytri
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
what is Automation frame work and how do u used this for your project?
write a VBscript code to parametrize test script using test data from sqlserver database?
The interviewer asked me when u recorded one application.object repository properties are saved with .tsr extention. in qtp expert view wherever mouse is there that snapshot displayed in active screen but some recored script lines are not displyed in actives screen y?
I have 14 itmes in a drop down that are associated with an account And these items change with different accounts I want to be able to define it by and index number or any other id so if I enter 2 in my Global excel sheet it selects the 2nd item from the drop down - is this possible?
What is AUT in object reposity in QTP? Why we use it in Object repository???What is full form???????