How to handle the exceptions using recovery scenario
manager In QTP?
Answers were Sorted based on User's Feedback
Answer / mano
This is correct one . For Example how to use
Dim qtApp
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Test.Settings.Recovery.Enabled = True
qtApp.Test.Settings.Recovery.SetActivationMode "OnError"
qtApp.Test.Settings.Recovery.Add "C:\qtp\recovery.qrs",
"Recovery", 1
qtApp.Test.Settings.Recovery.Item(1).Enabled = True
‘Above statement will enable recovery file for specific test.
| Is This Answer Correct ? | 4 Yes | 0 No |
Their are Four trigger Events in the should be
activated.They are
1.A Pop up Window Appears in an Opened Application during
the Test Run.
2.A Property Of an Object Changes its State or Value
3.A step in the test does not run successfully.
4.An Open Application fails during the test run.
These Triggers are Considered as Exception. You can
instruct QTP to recover unexpected events or errors that
occur in your testing environment during the test run.It
Provides a wizard that guides you through defining recovery
scenario. Recovery Scenario has three steps they are
1.triggered Events
2.Recovery Steps
3.Post Recovery Test Run
| Is This Answer Correct ? | 2 Yes | 1 No |
what are the principles of good testing scripts for automation?
how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
for example u can take ebay or plifcart online shoping web application--------- write acode in vbscript in qtp---- search box and write (iphone6)and click on go button then opened diff prise iphones in next page but u can select 30,000 to 90,000 list pls write code?
2 Answers FFASVA, Genpact, Wipro,
i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)
How to recognize and read data from pdf file using Descriptive Programming in QTP?
Tel me what was the automation testing process you followed?
How to test login page by using QTP
What is difference between Quality centre and Test Director?
what are SetToProperty, SetROProperty,GetToproperty scripting?
QTP is identifying all windows application objects(i.e. winbutton,winconbobox,etc) as winobjects.How to handle this? Is there any way to add our own properties to identify objects?
How to retrive XML file data in QTP ? using Script(Chandana)
what is keyword driven framework in qtp.