Selenese is the set of commands which is used in Selenium IDE. These set of commands are used to test our web applications. Selenese commands help us to run our tests, to check the existence of specific elements on web page, presence of broken link on web page, any window or pop up, any alert box, any Ajax functionality and many more.
Selenese i.e Selenium Command in a group creates 'test script'
Selenese i.e. Selenium Commands can be classified into three categories:
1. Actions: These are command that manipulate the state of the application.
2. Accessors: These commands examine the state of the application and store the result in variables.
3. Assertions: These commands are like accessors, but they verify that the state of the application conforms to what is expected.
Now the Selenium Assertions can also be categorized into three category:
a. assert: When an 'Assert' fails, the test is aborted.
b. verify: When a 'Verify' fails, the test will continue execution, logging the failure.
c. waitFor: Wait for some condition to become true. They will succeed immediately if the condition is already true. However, they will fail and halt the test if the condition does not become true within the current timeout setting.