| || |
We are executing the QTP Scripts from the QC , for error handling we are using Recovery Scenario(On Test error , stop the test run) .
In "File"->"Settings" we are giving a object sync time as 40 seconds , here it was noticed that QTP does not wait for 40 seconds for the object sync time but it immediately calls the recovery scenario.we checked the option (On every Step) for the recovery scenario.
Can any one please let me know on this.
If recovery definition matches in test then it invoke as soon as possible.
OST is waiting time , not error handling timeout
Also you can find more on OST and .Exist relation here.
Technology Tree - Automation: QTP - Object Synchronization time and .Exist Relationship
I would try to debug the issue by the following ways.
1. Put a breakpoint at the object access point and check the value of synchronisation timeout.
2. Check if there is some other recovery scenario which is causing this behavior
3. Check for the object existence before performing the sync operation.
QTP Inside Out - Mansoor Shaikh | All about testing/Automation