Mouse Events Operation – Page 2 – SoliteraTA

SoliteraTA

Mouse Events Operation

move to the element {string} on desktop window

Desktop step-Definition move to the element {string} on desktop window Keyword Given, When, And, Then Description move to the element on the desktop window Declaration Code Element Application Test Data Then move to the element “FormulaBar” on desktop window FormulaBar NAME Formula Bar NILL NILL Remarks The element with the name “element name” should be movable, and it should be possible to move it in the desktop window 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

move to the element {string} on desktop window Read More »

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

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

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

if desktop element {string} is found then click on it else do nothing

Desktop step-Definition if desktop element {string} is found then click on it else do nothing Keyword Given, When, And, Then Description check for the first element, if first element is found then do nothing. Declaration Code Element Application Test Data Then if desktop element “BlankWorkbook” is found then click on it else do nothing BlankWorkbook NAME Blank workbook NILL NILL Remarks NILL 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

if desktop element {string} is found then click on it else do nothing Read More »

if element {string} is not found on desktop window then click on element {string}

Desktop step-Definition if element {string} is not found on desktop window then click on element {string} Keyword Given, When, And, Then Description check for the given element, if element is not found then click on the specific element Declaration Code Element Application Test Data Then if element “A1_Cell” is not found on desktop window then click on element “BlankWorkbook” A1_Cell NAME A1 BlankWorkbook NAME Blank workbook NILL NILL Remarks This step performs a click action on the element specified by “element_name” within the desktop window. 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

if element {string} is not found on desktop window then click on element {string} Read More »

click on current pointer location in desktop window

Desktop step-Definition click on current pointer location in desktop window Keyword Given, When, And, Then Description click on the current pointer location in the desktop window  Declaration Code Element Application Test Data Then click on current pointer location in desktop window NILL NILL NILL Remarks This step performs a click action on the current pointer location within the desktop window. Restriction The current desktop window should be in active position. Table of contents Keyword Description Declaration Remarks Restriction

click on current pointer location in desktop window Read More »

hover over desktop window element {string}

Desktop step-Definition hover over desktop window element {string} Keyword Given, When, And, Then Description Will hover the mouse to the element present in the desktop window Declaration Code Element Application Test Data Then hover over desktop window element “InputField” ” InputField ID Input ” NILL NILL Remarks This step definition hovers the mouse over an element with the name “element_name” in the desktop window. Restriction The element with the name “element_name” should be accessible and hoverable in the desktop window. Table of contents Keyword Description Declaration Remarks Restriction

hover over desktop window element {string} Read More »

hover and click on desktop window element {string}

Desktop step-Definition hover and click on desktop window element {string} Keyword Given, When, And, Then Description hover the mouse to the element present in the desktop window and click on it Declaration Code Element Application Test Data When hover and click on desktop window element “InputField” ” InputField ID Input ” NILL NILL Remarks This step definition hovers the mouse over an element with the name “element_name” in the desktop window, clicks on it, and sends the specified value to given desktop window element. Restriction The element with the name “element_name” should be accessible and hoverable, and the target desktop window element should be accessible and interactable. Table of contents Keyword Description Declaration Remarks Restriction

hover and click on desktop window element {string} Read More »

drag element {string} in desktop window with xCords {string} and yCords {string}

Desktop step-Definition drag element {string} in desktop window with xCords {string} and yCords {string} Keyword Given, When, And, Then Description Drag the element with the specified element in the desktop window to the provided X and Y coordinates. Declaration Code Element Application Test Data When drag element “InputField” in desktop window with xCords “10” and yCords “20” ” InputField ID Input ” NILL NILL Remarks The element with the name “element_name” should be draggable, and it should be possible to drag it to the specified coordinates (x, y) in the desktop window. 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 any action. Table of contents Keyword Description Declaration Remarks Restriction

drag element {string} in desktop window with xCords {string} and yCords {string} Read More »

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

Desktop step-Definition click on desktop window with coordinates {string} and {string} Keyword Given, When, And, Then Description click on the desktop window at the provided X and Y coordinates Declaration Code Element Application Test Data When click on desktop window with coordinates “100” and “200” NILL NILL NILL Remarks The element with the name “element_name” should be clickable, and it should be possible to click it to the specified coordinates (x, y) in the desktop window. Restriction Ensure that “element_name” is a valid and unique identifier for the element you want to double-click on. Make sure the element is visible and clickable before attempting the double-click action. Table of contents Keyword Description Declaration Remarks Restriction

click on desktop window with coordinates {string} and {string} Read More »

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

Desktop step-Definition click on desktop window element {string} with coordinates {string} and {string} Keyword Given, When, And, Then Description Click on the element with the specified element in the desktop window at the provided X and Y coordinates. Declaration Code Element Application Test Data When click on desktop window element “InputField” with coordinates “10” and “20” ” InputField ID Input ” NILL NILL Remarks This step clicks on the element with the name “element_name” in the desktop window at the specified coordinates (“String Value” for xCords and yCords). Restriction The element with the name “element_name” should be accessible and interactable in the desktop Table of contents Keyword Description Declaration Remarks Restriction

click on desktop window element {string} with coordinates {string} and {string} Read More »

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