1

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

4
  • As far as I know there is no way to do this in the manner you want. The closest thing would be inputting a breakpoint before this step, but if it isn't a command at the end of your script, that would also exclude every step following it. Commented Oct 22, 2015 at 11:36
  • Thanks for your comment. Setting up the Breakpoint will stop the test execution in that point and test will stop there. But I want to stop an entire step/command and I like to proceed further steps. Commented Oct 26, 2015 at 7:14
  • Is there a reason you just don't want to delete it? Commented Oct 28, 2015 at 14:18
  • It might be needed for further use depends on individual to individual needs, that's why I don't want to delete. Commented Oct 29, 2015 at 4:21

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.