How to automate date selection using jQuery UI date selector in Selenium RC?

There are 2 date fields, DateField1 and DateField2. Clicking on any of the fields opens the jQuery UI date selector. "DateField1" has a default value of the current date. The user needs to select a date for "DateField2". How to automate this scenario with Selenium RC and Junit.

+4
source share
1 answer

You can use focus and key entry, for example, 2011-07-08 for July 8 last year. JQuery UI date controls can handle direct keyboard input, although they hide the text input field.

0
source

Source: https://habr.com/ru/post/1389465/


All Articles