Skip to content

contextMenuAtAndWait (UI Automation - Manipulation)

Compatible with:
  • Purpose
  • Generated from contextMenuAt(locator, coordString)
  • Simulates opening the context menu for the specified element (as might happen if the user 'right-clicked' on the element) at the specific location provided.After performing the action the command waits for a specified amount of time (which can be configured).
  • Syntax
  • contextMenuAtAndWait(locator, coordString)
  • Target
  • locator - an element locator pointing to an element OR an element itself.
  • Value
  • coordString - Specifies the x,y position (i.e. - 10,20) of the mouse event relative to the element returned by the locator.
  • Return Value
  • N/A
 
 

Feedback and Knowledge Base