Hello,
Product: Telerk TestStudio, Version: 2023.1.329.1
Browser: Chrome, Version: 116.0.5845.97 (Official Build) (64-bit)
In automation, I need to navigate from start page to end page to complete the contract creation process which requires entering/selecting info and navigate to next pages by clicking on "Next" button. In this process after clicking on Next button, next page takes more than 30 secs to load (~40-50 secs). And automation fails at that moment with exception. Exception attached.
For instance, there are 3 pages to complete the process. I am selecting few values on the 1st page and clicking on the Next button. It navigates to the 2nd page immediately. But when click Next button on 2nd page, it is taking more than 30 seconds before it goes to 3rd page.
NOTE: I am clicking "Next" button on 2nd page. As soon as I click on Next, it is trying to go to 3rd page. But it takes more than 30 secs on 2nd page before it navigates to 3rd page.
I tried different ways to to solve this problem to wait until the next page is displayed.
1. By updating ClientReadyTimeout to 180000 milliseconds
int oldValue = Manager.Settings.ClientReadyTimeout; Manager.Settings.ClientReadyTimeout = 180000; ActiveBrowser.Window.SetFocus(); Pages.EntrustPartnerPortal27.ProductConfigSubmitSubmit.ScrollToVisible(ArtOfTest.WebAii.Core.ScrollToVisibleType.ElementTopAtWindowTop); Pages.EntrustPartnerPortal27.ProductConfigSubmitSubmit.MouseClick(ArtOfTest.WebAii.Core.MouseClickType.LeftClick, 0, 0, ArtOfTest.Common.OffsetReference.AbsoluteCenter); Manager.Settings.ClientReadyTimeout = oldValue;
2. By updating Client Ready Time to 120000 from Test Ribbon. Screen shot attached
Question: How can I resolve the issue so automation wait until next page is displayed after clicking on Next button?
Please provide the solution to overcome this issue.
Regards,
Ashish Thakkar