Course Content
Selenium Python First Script
Selenium Python First Script
0/2
HTML Form elements
HTML Form elements
0/1
Handle HTML Frames
Handle HTML Frames
0/2
Handling Dropdown Lists
Handling Dropdown Lists
0/2
Selenium Action class
Selenium Action class
0/1
Selenium Python for Beginners [ 2024 ]
About Lesson

Run Python Programs using IDE

You learned how to run Python programs on your machine in earlier lessons using: 

  • Interactive Python Interpreter
  • Command line 

In this lesson, you will learn to run Python programs using Python IDE. 

Eclipse IDE

Launch Eclipse IDE.

Open Python project in the IDE. Click on the project in the left Package Explorer.

Choose the file to execute and open it. 

Choose the following menu options:

Run >> Run As >> Python Run

To run the Python unit test:

Run >> Run As >> Python unit-test

 

Run Python Unit Test IDE

Alternatively, right-click on the script code:

Choose the following context menu option:

Run As >> Python Run

To run unit test:

Run As >> Python unit-test

 

Join the conversation