Answer Posted / j. sambasivarao
Mostly, we come across application errors. In that case, we
may go for recovery scenario manager to overcome this
problem either using recovery with function call or
condition (to check error window existency in application
and then recover). Next to the application errors, we may,
but rarely, come across QTP runtime errors. In this case,
we have to go for "Test Run Error" in Recovery Scenario Manager.
J. Sambasivarao
9948280248
jampani_sivarao@yahoo.com
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian
How to export quicktest professional (qtp) results to an .xls file?
How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538
Explain in brief about the quicktest professional automation object model?
Is virtual object supported in low level recording mode?
What do you mean by checkpoints in qtp?
How to create a standard checkpoint ?
Explain about Test Fusion Report of QTP?
what is the difference between IE & Netscape in web testing on a log in page
How you can make an action as re-usable action?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
How to create runtime property for an object?
What is the meaning Work bench?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?