which tpye of exceptions mostly do we face in QTP

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


Please Help Members By Posting Answers For Below Questions

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

1666


How to export quicktest professional (qtp) results to an .xls file?

685


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

3757


Explain in brief about the quicktest professional automation object model?

623


Is virtual object supported in low level recording mode?

715






What do you mean by checkpoints in qtp?

653


How to create a standard checkpoint ?

641


Explain about Test Fusion Report of QTP?

701


what is the difference between IE & Netscape in web testing on a log in page

1905


How you can make an action as re-usable action?

757


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

675


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

1856


How to create runtime property for an object?

1540


What is the meaning Work bench?

1839


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

2023