Ripon Al Wasim
Ripon Al Wasim

Reputation: 37786

How to disable a command in Selenium IDE

I have recorded some steps from http://docs.seleniumhq.org/ using Selenium IDE. After recording I have save the file as SeleniumhqExample.html -> I ran it and it passed successfully. I want to disable/inactive one of the recorded commands in Selenium IDE.

I want to disable the following command:

<tr>
    <td>assertTitle</td>
    <td>SeIDE Release Notes · SeleniumHQ/selenium Wiki · GitHub</td>
    <td></td>
</tr>

How can I disable that single command in Selenium IDE? Please see the image: enter image description here

Upvotes: 1

Views: 1542

Answers (1)

Ripon Al Wasim
Ripon Al Wasim

Reputation: 37786

You can do this by using HTML comments as . For example I want to disable the step assertTitle, follow the steps:

  1. Go to "Source" Tab in Selenium IDE
  2. Comments the specific step(s) as below: enter image description here Now the above step/command is disable and during running that step/command would be skipped and further steps/commands would be executed usually.

In the Table view disable/commented row should be shown as below: Table view of disabled row

Upvotes: 1

Related Questions