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



Hi This is tanya actually im facing problem in Qtp actully some time QTP doesnot recoznise the rec..

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

Hi This is tanya actually im facing problem in Qtp actully some time QTP doesnot recoznise the rec..

Answer / mohammad

hi dude call me i will give my noyes that will clarfy ur
doubts call freely 09739391626

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

what is the difference btn risks & Therads in the Test plan documentation?

0 Answers   Accenture,


Write a command for setvalue function in a webedit

3 Answers   Wipro,


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

1 Answers  


Plz write the code, function will take the parameter as month number, i.e., numerical value, but it returns the last day of the month in string (weekday). example: input: function parameter: 3(march) output: thursday

1 Answers  


where the check points are stored ?

3 Answers   IBM,






How do you capture tooltip using QTP?

0 Answers  


who will distribute the project modules for testing in testing team ?

2 Answers  


What is recovery scenario in qtp?

0 Answers  


HO DO U CALL A ACTION?

3 Answers   BirlaSoft,


Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out

0 Answers  


How to export QTP results to an ".xls" file?

3 Answers  


what is the difference between xmlutil and xmlDOM in qtp?

2 Answers  


Categories