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.
Answer Posted / 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 |
Post New Answer View All Answers
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
How to get popup error message.
Hi I have exp in manual testing and planning to move in automation testing qtp(9.2).So can help me how to automate customer relationship management tool using qtp and vb script this tool already developed so how can I test it whatever maintaining by development team like documents,various options just give the whole life cycle thanks in advance
Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
Why we load add-ins in qtp?
What is the parameterization? Give one example?
Explain advantages and disadvantages kdf?
Generic function to search for the unique link in webtable and click on it
Without using gui map editor we can recognize the application in winrunner ?
What the differences are and best practical application of Object Repository?
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak
How does you test a weblink which is changing dynamically?