Header Ads

WHAT ARE THE SELENIUM COMMAND TYPES?

  • Actions are commands that
    generally manipulate the state of the application. They do things like “click this link” and “select that option”. If an Action fails, or has an error, the execution of the current test is stopped.
  • Accessors examine the state of the application and store the results in variables, e.g. “storeTitle”. They are also used to automatically generate Assertions.
  • Assertions are like Accessors, but they verify that the state of the application conforms to what is expected. Examples include “make sure the page title is X” and “verify that this checkbox is checked”. 




No comments


What would you like to add in my list? I look forward to reading your comments below.



Powered by Blogger.