Desktop step-Definition right click on desktop window element {string} with coordinates {string} and {string} Keyword Given, When, And, Then Description Will right click on an element in the desktop application based on X and Y coordinates Declaration Code Element Application Test Data Then right click on desktop window element “mainProjectDirectory” with coordinates “500” and “400” ” mainProjectDirectory XPATH (//span[@name=’directoryName’])[1] ” NILL NILL Remarks The element with the name “element_name” should be clickable, and it should be possible to click it to the specified element in the desktop window. Working when we are passing coordinates after calculating from focused element in both the cases, second x,y coordinates will be calculated from first x,y coordinates Restriction Ensure that “element_name” is a valid and unique identifier for the element you want to click on. Make sure the element is visible and clickable before attempting the click action. Table of contents Keyword Description Declaration Remarks Restriction