Skip to content

Keywords Available For Test Engine

rahuldantalwal edited this page Apr 27, 2016 · 1 revision

###INTRODUCTION: Test Engine uses few keywords to identify that which action to perform. Each Step of a test case have an action. Every action in test case is represented in form of a keyword. Test engine interprets the keyword into a meaningful action and then perform the action accordingly.

Keyword Dictionary: Framework maintains a keyword dictionary. It is simple text file, which contain keywords. Each keyword has multiple synonyms. While authoring the test case, user can choose any synonym, mentioned in dictionary, for a particular keyword.

###List Of Keywords:

  • initializeApp = Opens the landing page of application.
  • hitTwice = Double click on an element.
  • check = to check a checkbox.
  • uncheck = uncheck a checkbox
  • sendKey = Enter data in a textbox.
  • uploadfile = uplaod a file.
  • navigateURL = Open a given url.
  • isResourceLoaded = wait till page loads.
  • isTextPresent = verifies that given text is present.
  • click = click on an element.
  • closeAllBrowsersWindow = closes all the browser windows.
  • fireEvents = Executes a particular javascript.
  • isObjectThere = Verify that given object is present.
  • isObjectNotThere = Verify that given object is not present.
  • selectItemFromDropdown = Select given item from dropdown.
  • getTestElementAttribute = get a given attribute of an object.
  • presskeyboardkey = press given keyboard key.
  • verifyTestElementProperty = Verify the text of given attribute of an object
  • hover = hovering the mouse on a given object.
  • sleep = Wait for given time.
  • waitforobjectnotpresent = Wait till element is not present.
  • swipeToElementVisible = Scroll the screen till object appears.
  • gettestobjectcount = Get the number of instance of an object.
  • doCalculation = Performs a given calculation.