How to handle the exceptions using recovery scenario
manager In QTP?
Answer Posted / 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 |
Post New Answer View All Answers
write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading
How many types of recording facility are available in quicktest professional (qtp)?
Sql questions to find second max salary and how to use joins
What is the purpose of loading qtp add-ins?
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
how to convert 100 into hundred repees only and viceversa
What is the Difference between test object and run time object?
Describe how Smart Identification is used
What is the parameterization? Give one example?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
Can we write winrunner language i.e TSL in QTP tool?
Dis advantages of XML checkpoint ?
On what document base Descriptive programming is written if build is not yet ready ?
I have two For loop, first For loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes through the second time creating another customer and then verify the second customer then it creates the following during runtime. I want is to have the customer2 below Customer1 under the Customer_from_Apps. Any help will be greatly appreciate it. Customer Customer_from_Apps Customer_from_Apps1 Customer1 Customer 1 Customer2 Customer2 Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Customer_Val= Datatable.GlobalSheet.AddParameter ("Customer_from_Apps",runtimevalue) row=datatable.getsheet("Global").GetRowCount For x=1 to row datatable.SetCurrentRow(x) Data_Val=Datatable.Value("Customer",dtGlobalSheet) If (trim(Customer_Val)=trim(Data_Val)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val else Reporter.ReportEvent micFail, "Cusotmer validation unsuccessful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val End If Next