How to set test execution speed.

You (your test script) MUST make appropriate wait for the HTML of web page to load completely in a browser window before doing any operation on the page. Your test case script shouldn’t click a button, shouldn’t set text into <input> element without making sure that the target HTML element is there and ready. Your test scipt must wait for the HTML elements to be there in the browser.

Are you conscious of this practice? I guess, you aren’t.

The WebUI.openBrowser(url) and WebUI.navigateToUrl(url) implicitly & automaticaly wait for the HTML to load in the opened browser. If you decide not to use the WebUI keywords and you prefer creating a WebDriver instance yourself, you MUST write your script so that it waits for the HTML to load completely before your test script starts doing anything on the page. If your script does not make appropriate wait, your test will certainly fail. This is a common pitfall of Selenium testing.

If this is the case for you, something equivalent to “Delay between actions” setting which is avaialble at Projet → Settings > Execution would not help you at all.

How to fix? — well, I don’t know yet because you haven’t informed to us anything about your current problem. See

Please show us the error log, show us your test case script, show us the HTML source of the target web page, show us the definition of your Test Object that is used in the test case script to select the HTML element of your interest.

1 Like