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

Selenese Commands

Selenium IDE commands offer a variety of commands that enable you to perform different actions on web elements.

  • Actions
  • Assertions
  • Storage Commands
  • Wait Commands
  • Flow Control Commands

Actions

Actions are commands that change the state of the AUT(application under test).

Examples: open, click, type, etc.

You can use Actions commands to open a URL, click a button, type text in text boxes,  select an option from the dropdown box, etc

Assertions

Assertions are test commands that verify the application. Assertions can be:

  • verify
  • assert

Both verify and assert commands are used to check the result of a given condition, whether it is true or false.

If verify commands fail, the program does not halt or pause. They still allow the execution of the next steps. If assert commands fail, they do not allow the execution of the next steps. The rest of the commands are skipped.

Examples: assert text, assert element present, etc

You can use Assertions to verify and assert the application state. For example,  assert that the correct web page is displayed when clicking a link, etc. The assert and verify commands are used as verification points in the tests.

Storage Commands

Storage commands allow the storage of values in variables.

Examples: store value, store title, store text

You can use Accessors to appraise an application state and store the values in variables.

Join the conversation