How the exception handling can be done using QTP

Answer Posted / raghu

Recovery scenario is the best solution to handle the
Expceptional Handling. Previously in Winrunner there is a
concept of expceptional handling but in QTP it is overcomed
by Recovery Scenario concept.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If

2582


If you are testing a web application then what will you test in that application?

1544


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1364


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

1305


How will you check a web application for broken links using qtp?

556






How do I get the QTP scripts result in xml format by using vb script function?

1789


How to connect to a database?

583


Explain features of the latest version of qtp/ uft 12.1?

610


how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up

3775


How to Test the mainframe application?

1826


How the exception handling can be done using quicktest professional (qtp)?

575


What does it mean when a check point is in red color? What do you do?

570


How you can delete excel file in qtp?

601


give me the code to save all messages of inbox of gmail into a folder and notepad

1625


breef description of batch testing ?

1713