I dont want to hijack by inserting my question in the Chaitanya Nimmala on Wait Property.
The tip is really great as i can remove wait(XX) times on each invoke.
used the below sync code for each of the invoke:
Do while ((Browser(objBrowser).Page(objPage).Object.ReadySt ate)<>"complete")
I have five ie browsers opened up by using invoke and had to use wait(10) inorder to get the screen captures in the results for documentation purposes.
I had embedded the above sync code after each invoke and removed the wait(10) for all the invokes.
it worked like charm. But I didn't get any screen captures.
In QTP i configured the following:
1. In QTP: Options under Tools and then run
the screen capture is defaulted to errors and changed it to Always.
2. Clicked on Automation and then clicked on Record and Run settings and then clicked on Windows Applications
in this selected the radio button "Record and run test on any open window based application"
Is there any other settings i need to set for the screen captures. Once I get the results, I am exporting to PDF format for documentation purposes. please advise.
Thank you for help in advance
This is really cool feature about QTP. I was unaware of this instead working on QTP since long. I have tried this and its actually capturing all the screens. You have to check both the options ie Save still image capture to results and another one is Save movie to Results as always. You can get the movie clip inside reults Under Screen Recorder and Still Images under Results. Am successfully able to perform this. Cheers.