Mouse Events Operation – SoliteraTA

SoliteraTA

Mouse Events Operation

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

Desktop step-Definition double click on desktop window with coordinates {string} and {string} Keyword Given, When, And, Then Description will double click on desktop window with coordinates Declaration Code Element Application Test Data Then double click on desktop window with coordinates “280” and “350” NILL NILL NILL Remarks This step performs a click action on the element specified by “element_name” within the desktop window. Working when we are passing coordinates after calculating from focused element 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. 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. Table of contents Keyword Description Declaration Remarks Restriction

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

hover over desktop window with coordinates {string} and {string}

Desktop step-Definition hover over desktop window with coordinates {string} and {string} Keyword Given, When, And, Then Description will hover over desktop window with coordinates Declaration Code Element Application Test Data Then hover over desktop window with coordinates “x1” and “y1″ NILL NILL NILL Remarks This step performs a click action on the element specified by “element_name” within the desktop window. Working when we are passing coordinates after calculating from focused element 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

hover over desktop window with coordinates {string} and {string} Read More »

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

Desktop step-Definition drag element in desktop window with xCords {string} and yCords {string} and drop to xCords {string} and yCords {string} Keyword Given, When, And, Then Description will drag element from first x and y coordinate and drop to second x and y coordinate Declaration Code Element Application Test Data Then drag element in desktop window with xCords “x1” and yCords “y1” and drop to xCords “x2” and yCords “x2″ NILL NILL NILL Remarks This step performs a click action on the element specified by “element_name” within 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

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

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

Desktop step-Definition right click on desktop window with coordinates {string} and {string} Keyword Given, When, And, Then Description Will right click on the desktop with coordinates. Declaration Code Element Application Test Data Then right click on desktop window with coordinates “280” and “350” NILL 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. 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. Table of contents Keyword Description Declaration Remarks Restriction

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

click on desktop window element at current cursor location for {string} times

Desktop step-Definition click on desktop window element at current cursor location for {string} times Keyword Given, When, And, Then Description Will click on the current desktop window multiple times Declaration Code Element Application Test Data Then click on desktop window element at current cursor location for “5” times NILL NILL NILL Remarks NILL Restriction Make sure the element is visible and clickable Table of contents Keyword Description Declaration Remarks Restriction

click on desktop window element at current cursor location for {string} times Read More »

right click on current pointer location in desktop window

Desktop step-Definition right click on current pointer location in desktop window Keyword Given, When, And, Then Description will right click at the current cursor location Declaration Code Element Application Test Data Then right click on current pointer location in desktop window NILL NILL NILL Remarks NILL Restriction NILL Table of contents Keyword Description Declaration Remarks Restriction

right click on current pointer location in desktop window Read More »

drag element {string} in desktop window to the element{string} with offset of xcord {string} and ycord {string}

Desktop step-Definition drag element {string} in desktop window to the element{string} with offset of xcord {string} and ycord {string} Keyword Given, When, And, Then Description Will drag the element with the specified element in the desktop window to the provided offset of xCord coordinate. Declaration Code Element Application Test Data Then drag element “insertedRectangularShape” in desktop window to the element”F7_Cell” with offset of xcord “x1” and ycord “y1″ F7_Cell NAME F7 insertedRectangularShape XPATH //*[@Name=’Rectangle 1′ and @LocalizedControlType=’shape’] 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 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

drag element {string} in desktop window to the element{string} with offset of xcord {string} and ycord {string} Read More »

double click on current pointer location in desktop window

Desktop step-Definition double click on current pointer location in desktop window Keyword Given, When, And, Then Description Will double click on the current cursor location. Declaration Code Element Application Test Data Then double click on current pointer location in desktop window NILL NILL NILL Remarks The Windows Application Driver (WinAppDriver) installed on your machine. You can download it from the  WinAppDriver v1.2.1. A windows machine with the desktop application you want to test installed. Inspect.exe should be present on your system to inspect the element of desktop application under test (Inspect .exe is a part of Microsoft SDK). Default winAppDriver location: C:Program Files (x86)Windows Application Driver Restriction Element and application file should be in xml format. Table of contents Keyword Description Declaration Remarks Restriction

double click on current pointer location in desktop window Read More »

scroll to the desktop window element {string} to make it visible on screen

Desktop step-Definition scroll to the desktop window element {string} to make it visible on screen Keyword Given, When, And, Then Description Will scroll to the specified element present in the desktop window to make it visible on the screen. Declaration Code Element Application Test Data Then scroll to the desktop window element “projectTimelineListItem” to make it visible on screen projectTimelineListItem XPATH //*[@Name=’Project timeline’ and @LocalizedControlType=’List Item’] NILL NILL Remarks This step scrolls the element with the name “element_name” to make it visible in the desktop window. Restriction The element with the name “element_name” should be accessible and scrollable in the desktop window. Ensure that “element_name” is a valid and unique identifier. Make sure the element is visible and clickable before attempting the any action. Table of contents Keyword Description Declaration Remarks Restriction

scroll to the desktop window element {string} to make it visible on screen Read More »

drag element {string} in desktop window to the element {string}

Desktop step-Definition drag element {string} in desktop window to the element {string} Keyword Given, When, And, Then Description Will drag the element with the specified element in the desktop window Declaration Code Element Application Test Data Then drag element “insertedRectangularShape” in desktop window to the element “F7_Cell” F7_Cell NAME F7 insertedRectangularShape XPATH //*[@Name=’Rectangle 1′ and @LocalizedControlType=’shape’] NILL NILL Remarks The element with the name “element_name” should be draggable, and it should be possible to drag it to the specified element 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

drag element {string} in desktop window to the element {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

Choose your Operating System