HomeSelenium

New Selenium IDE – Using ‘wait for element not editable’ command

New Selenium IDE – Using ‘wait for element not editable’ command

Refer the article New Selenium IDE – Commands (Selenese), for the complete list of Selenium IDE commands and their practical demonstrations.

wait for element not editable is one of the commands in Selenium IDE.

The purpose of the wait for element not editable command is to wait for the element to get non-editable. i.e. If any required element on the application is by default in editable state and gets non-editable in some time, we can use wait for element not editable command to wait for the element to get non-editable, before editing the element.

In this article, I will practically demonstrate wait for element not editable command with the below-shown example:

wait for element not editable Selenium IDE - demo

Let’s get started.

New Selenium IDE – Using ‘wait for element not editable’ command

Follow the below steps for practicing wait for element not editable command in Selenium IDE along with me:

1) Let’s write the below code in Selenium IDE to wait for the Button to get non-editable after clicking on the ‘Try it’ button:

Command Target Value
open http://omayo.blogspot.com/
click xpath=//button[text()=’Try it’]
wait for element not editable id=myBtn 30000
verify not editable id=myBtn

After incorporating the commands in the above table, Our Selenium IDE should look like below:

wait for element not editable Selenium IDE - typing

2) Run the test and observe that Selenium IDE waits for the Button to get non-editable and then verifies whether the Button is in the non-editable state as shown below:

wait for element not editable Selenium IDE - executed

Here concludes the practical demonstration of wait for element not editable command for waiting for the element to get non-editable.

In the next article, I will practically demonstrate another Selenium IDE command.

Next Steps:

  • > Check complete Selenium Tutorial Contents here (Click here)

Please leave your questions/comments/feedback below.

Happy Learning 🙂

About Me > Arun Motoori

On a mission to contribute to the Software Testing Community in all possible ways.

Refer the article New Selenium IDE – Commands (Selenese), for the complete list of Selenium IDE commands and their practical demonstrations.

If you like this article, share it on LinkedIn using the below button:

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *