Nov 10 2008 09:59:26 PM Posted By : Raghavan
Comments (0)

QEngine does have a built-in feature to automatically recover from any of error scenario during regression test execution.

The feature is explained below,

Error Recovery settings is used in regression playback only. During script creation stages you may run script one at a time or maximum a module of script. But when you move the script in to regression mode you may want to execute all the scripts present in the suite in a single night. Assume you have some 500 scripts in your suite. In that case, if the script is continuously executed the performance of the system may be degraded. This may lead to failures / system hang up / delay in script execution. To overcome such problem in QEngine , it has "Error Recovery" option.

In "Error Recovery", all the browser for playback will be closed and reopened after playing back certain number of scripts. The number of script after which the browser should close can be configured. By doing this the memory foot print of the browser will be nullified and hence the playback will be fast and successful.

In another case, if the browser goes unresponsive / crashes during playback and does not respond to any commands, QEngine has a mechanism, which will terminate the browser process and restart the regression from the point at which script it crashed. You can also configure to rerun the script where it went unresponsive or start from the next script from the one in which it crashed. The unresponsiveness of the browser will be determined by a timeout value which is configurable. If the browser does not respond to QEngine within the configured timeout value then QEngine will assume the browser is crashed and close the browser process and restart the regression.

This is a powerful mechanism which will allow QEngine to use the System resource efficiently, hence the test can be completed as scheduled. This way the time to market the product will be improved.

Raghavan

No one has commented yet! Be the first one to comment!

Post Comment