Forum Discussion

udhayas's avatar
udhayas
Occasional Contributor
12 years ago

Clicking on a Control Even before the Control is visible or the Page is loaded.

Hi,



I'm working on automating a Performance Testing of an Out Of Browser Silverlight application using Test Complete 8.7 version.



In my application, I have a Test case to Save the Page and refresh the page. I had written the scripts to click on save button, and waiting still the Save button is Invisible and Edit button is Enabled. Once these are done, I have to refresh the page by clicking on the Refresh button in my application.



The issue comes with this Step where I refresh the Page and waiting for a control to visible in the screen. Once the control is visible, the script has to click on it. But, the problem is that the Test Complete scripts are capturing it and clicking on that control even before the page is loaded and the control is visible on the screen. I have no idea why this is happening.



Please help me with this.

1 Reply

  • Julia_K's avatar
    Julia_K
    SmartBear Alumni (Retired)
    Hello Udhay,

    Could you please post here the script code you are using to determine whether the page is loaded and the control is visible?

    Thank you.