right click on desktop window element {string} with coordinates {string} and {string} – SoliteraTA

SoliteraTA

Desktop step-Definition

right click on desktop window element {string} with coordinates {string} and {string}

right click on desktop window element {string} with coordinates {string} and {string}

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

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
				
					Then right click on desktop window element "mainProjectDirectory" with coordinates "500" and "400"
				
			
				
					"<elements>
  <element>
    <name>mainProjectDirectory</name>
    <type>XPATH</type>
    <value>(//span[@name='directoryName'])[1]</value>
  </element>
  </elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. 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.
  2. 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
  1. 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.

Solitera may collect certain information by automated means, such as cookies and web beacons, when a user visits our website. A “cookie” is a small piece of data that a website can send to your browser, which may then be stored on your system. learn more

Choose your Operating System