clicking a Image when the page is still loading
I need to click on cancel image on file upload page. When I upload the file the page also reloads and the cancel button is displayed. Also the page loading finishes when the file is fully uploaded. What it means is that i need to click on image when the page is still not fully loaded. I have the test seetings->Web->browser navigation timeout set to 60000 seconds. This would mean that QTP will wait 60 secs for the page to load fully nad then go about its bussiness. But i can't wait for the page to load fully i need to click on this cancel image while the page is still loading.
Re: clicking a Image when the page is still loading
timeout set to 60000 seconds does not mean page wont be loaded before that. It is the upper limit QTP will wait for a page to load and not the lower limit.
Re: clicking a Image when the page is still loadin
The 2 things that would need to do is Lower down the timeout value at run-time using Setting object and then do not use Sync. Just click the cancel link/button and you will be able to click even when the page has not loaded.