Selenium IDE is free, slow together with uncomplicated tape together with play regression testing tool together with it is real slow to develop regression testing attempt cases of whatever software spider web application if menstruum of execution is non much to a greater extent than complex together with harder. More complex applications tin non travel automated inwards selenium IDE together with nosotros necessitate to utilization
SELENIUM WEBDRIVER. Selenium IDE has dissimilar WAITFOR COMMANDS which tin assistance us to get got few complex scenarios. Let me depict y'all ii to a greater extent than related commands.
"waitForEditable" Command
"waitForEditable" ascendance is useful to await till targeted input text box popular off editable. As shortly equally targeted chemical component subdivision gets editable, selenium IDE volition execute adjacent command. This ascendance industrial plant amongst solely input fields. Run bellow given illustration inwards your selenium IDE window together with verify result.
New Test | ||
Command | Target | Value |
open | ||
highlight | //input[@id='text2'] | |
waitForEditable | //input[@id='text2'] | |
highlight | //input[@id='text2'] | |
type | //input[@id='text2'] | Now i tin type here |
In to a higher house example, "waitForEditable" ascendance volition await for targeted chemical component subdivision popular off editable.
"waitForNotEditable" Command
"waitForNotEditable" performance inwards contrary to "waitForEditable" command. It volition await till targeted input chemical component subdivision alter its dry reason from editable to non editable. Look at bellow given example.
New Test | ||
Command | Target | Value |
open | ||
highlight | //input[@id='text1'] | |
waitForNotEditable | //input[@id='text1'] | |
highlight | //input[@id='text1'] | |
type | //input[@id='text2'] | Now First Name plain is non editable. |
In to a higher house example, "waitForNotEditable" ascendance volition await for targeted chemical component subdivision popular off non enabled/disabled.