This chapter provides information on how to set up Selenium for visual testing the Servoy solutions in Web Client. Selenium IDE will record and playback the user clicks on the UI.
...
sendKeys
, also add a fireEvent
with value blur
on the target for the sendKeys
, otherwise the sendKeys
is not appliedselectWindow
commands. Most of these can be removed. They are only needed when the test needs to switch to another tab or to a different dialog (or back to the main form from a dialog)click
events, but those clicks usually result in an Ajax call to the server. Use the waitForWicketAjax
command to wait the result from the server before executing the next command. Note that waitForWicketAjax
fails if there are multiple Ajax call to the server or if the call results in closing the JSWindow ( The command would not find the current window and generate an error ).waitForWicketAjax
cannot be used wait for a specific element to be loaded instead.waitForSelectOptions
to wait for the value to be loaded on the list....
Tip: for more detailed documentation and video tutorials user this link: http://jroller.com/selenium/
...
...
...