1.

What do you know about Selenese?

Answer»

Selenium IDE has a built-in linguistic system called Selenese. Selenese is a collection of Selenium commands to perform actions on a web page.

Selenese can detect broken links on a page, or check the presence of a web element, AJAX, JavaScript alerts and a lot of many things. Mainly there are three types of command in Selenese. 

  1. Actions: Action can alter the state of an application. For example,  clicking on a LINK, or selecting a value from the drop-down, etc. Action command DIRECTLY interacts with web elements.
  2. Accessors: Accessor commands monitor the state of an application and STORE it into some variable. For example, storeTextPresent, or storeElementPresent, etc are accessor commands because it reads the state of the element and stores it into a variable.
  3. Assertions: Assertion commands allow adding a checkpoint or a verification point. The assertion command confirms the CURRENT state of a UI element. These commands verify if a certain condition is met.


Discussion

No Comment Found