Posted by Albert Gareev on Dec 16, 2008
As promised, I’m writing more detailed post on QTP Recovery Scenario management. Overview Exception / Event Handlers in QTP are declared as “Recovery Scenarios” through wizard dialogs and editable with Recovery Scenario Manager. All exception handlers must be added to test script to use them. Programmatically exception handlers are accessible through Recovery object. During run-time, exception handlers can […] ...
Posted by Albert Gareev on Dec 10, 2008
A company hired another “automated tester”… Process description In the nutshell, the actual job description is: Bring up an application-under-test Start “testing” script Babysit “testing” script, i.e. manually click/type on the GUI when the script is stuck, then resume script After execution is done, review “test logs” Reviewing the “test logs” includes: Go through […] ...
Posted by Albert Gareev on Dec 04, 2008
Error Handling In WinRunner, every GUI function returns result – an integer value. Checking status of an operation is as simple as single line: In QTP, most of GUI operations do not return code but execution stops if an error is encountered. To keep execution flow stable, errors have to be handled in a bit […] ...