Forum Discussion
tristaanogre
14 years agoEsteemed Contributor
It is possible that, during the run, the object is not created by the time you get access to it. Scripts typically play back faster than real world so there are times when an object is referenced in script code but has not been instantiated in real-world in time.
To get around that, there are specific methods that will wait for an object to be returned before moving on. In your case I'd look into using the WaitVCLObject method (described at http://smartbear.com/support/viewarticle/17247/)
You might also benefit from http://smartbear.com/support/viewarticle/12168/ as it describes different methods and abilities to wait for an object or process to be available before moving on to the next step of a test script.
To get around that, there are specific methods that will wait for an object to be returned before moving on. In your case I'd look into using the WaitVCLObject method (described at http://smartbear.com/support/viewarticle/17247/)
You might also benefit from http://smartbear.com/support/viewarticle/12168/ as it describes different methods and abilities to wait for an object or process to be available before moving on to the next step of a test script.
Related Content
- 12 years ago
Recent Discussions
- 5 hours ago
- 21 hours ago
Working with Visual Test
Solved3 days ago