Selenium WebDriver Java Framework Course Limited Time Offer for $20

Selenium WebDriver Java Framework Course Limited Time Offer for $20

 

Print

Selenium IDE Script Debugging

Selenium IDE supports the setting of breakpoints and the functionality to start and stop the running of a test case.

Users can run up to a specific command in the middle of the test case and inspect how the test case behaves at that point.

To do this, the user needs to set a breakpoint on the command just before the one to be examined.

 

As shown on the picture above, the command "Toggle Breakpoint", "Set/Clear Start Point", and "Execute this command" will help debug.

To set a breakpoint, select a command, right-click, and from the context menu select Toggle Breakpoint. Then click the Run button to run your test case from the beginning up to the breakpoint.

To set a startpoint, select a command, right-click, and from the context menu select Set/Clear Start Point. Then click the Run button to execute the test case beginning at that startpoint.