Running Test Cases - SELENIUM

The IDE allows many options for running your test case. You can run a test case all at once, stop and start it, run it one line at a time, run a single command you are currently developing, and you can do a batch run of an entire test suite. Execution of test cases is very flexible in the IDE.

Run a Test Case:

Click the Run button to run the currently displayed test case.

Run a Test Suite:

Click the Run All button to run all the test cases in the currently loaded test suite.

Interested in mastering Selenium Training? Enroll now for FREE demo on Best Selenium Training.

Stop and Start:

The Pause button can be used to stop the test case while it is running. The icon of this button then changes to indicate the Resume button. To continue click Resume.

Stop in the Middle:

You can set a breakpoint in the test case to cause it to stop on a particular command. This is useful for debugging your test case. To set a breakpoint, select a command, right-click, and from the context menu select Toggle Breakpoint.

Related Page: Introduction To Selenium

Start from the Middle:

You can tell the IDE to begin running from a specific command in the middle of the test case. This also is used for debugging. To set a startpoint, select a command, right-click, and from the context menu select Set/Clear Start Point.

MindMajix YouTube Channel

Get interview-ready with this tutorial on most popular Selenium interview questions and best ways to answer them.

Run Any Single Command:

Double-click any single command to run it by itself. This is useful when writing a single command. It lets you immediately test a command you are constructing, when you are not sure if it is correct. You can double-click it to see if it runs correctly. This is also available from the context menu.

Related Page: Synchronisation Commands - SELENIUM

Analyzing the Results:

  • From Table view, observe the green vs. red shading.
  • From Table or Source view, select the Log tab and look for errors (bold red font).

Job Support Program

Online Work Support for your on-job roles.

jobservice

Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:

  • Pay Per Hour
  • Pay Per Week
  • Monthly
Learn MoreGet Job Support
Course Schedule
NameDates
Selenium Training Nov 19 to Dec 04View Details
Selenium Training Nov 23 to Dec 08View Details
Selenium Training Nov 26 to Dec 11View Details
Selenium Training Nov 30 to Dec 15View Details
Last updated: 28 Sep 2024
About Author

 

Madhuri is a Senior Content Creator at MindMajix. She has written about a range of different topics on various technologies, which include, Splunk, Tensorflow, Selenium, and CEH. She spends most of her time researching on technology, and startups. Connect with her via LinkedIn and Twitter .

read less
  1. Share:
Selenium Articles