April 2024 – Page 8 – SoliteraTA

SoliteraTA

April 2024

take screen shot for desktop application

Desktop step-Definition take screen shot for desktop application Keyword Given, When, And, Then Description Will start taking ss again, after they have been disabled by other step def, use this in context menu or dropdowns or wherever things get closed unpredictably. Declaration Code Element Application Test Data Then take screen shot for desktop application NILL NILL NILL Remarks Capturing screenshots can be useful for debugging and reporting purposes. Restriction  The desktop window should be accessible and in focus. Table of contents Keyword Description Declaration Remarks Restriction

take screen shot for desktop application Read More »

open file explorer and navigate to {string} location and switch to the file explorer

Desktop step-Definition open file explorer and navigate to {string} location and switch to the file explorer Keyword Given, When, And, Then Description open a new window of file explorer and navigate to the given location as well as switch to that window Declaration Code Element Application Test Data Then open file explorer and navigate to “C:Program Files” location and switch to the file explorer NILL NILL NILL Remarks NILL Restriction The given location should be a valid file path. Table of contents Keyword Description Declaration Remarks Restriction

open file explorer and navigate to {string} location and switch to the file explorer Read More »

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 »

pause element highlight on steps

All Step Definition pause element highlight on steps Keyword Given, When, And, Then Description Will pause highlighting elements in current execution. Declaration Code Element Application Test Data Then pause element highlight on steps NILL NILL NILL Browser Support Google Chrome Firefox Edge Remarks The “String Value” that is used through test data file should be in angular brackets We can use any variable name Restriction Element and application file should be in xml format. Table of contents Keyword Description Declaration Browser Support Remarks Restriction

pause element highlight on steps Read More »

hover on xCords “<testdata_name>” and yCords “<testdata_name>” on element “element_name”

Desktop step-Definition hover on xCords “<testdata_name>” and yCords “<testdata_name>” on element “element_name” Keyword Given, When, And, Then Description Will hover on x cords and y cords within element. Declaration Code Element Application Test Data Then hover on xCords “” and yCords “” on element “practiceFormPrintContentInputField” ” practiceFormPrintContentInputField ID contentInput NILL A B ValueX 50 ValueY 50 Remarks The “String Value” that is used through test data file should be in angular brackets We can use any variable name Restriction Element and application file should be in xml format. Table of contents Keyword Description Declaration Remarks Restriction

hover on xCords “<testdata_name>” and yCords “<testdata_name>” on element “element_name” Read More »

drag element “element_name” into another element “element_name” using image identification

All Step Definition drag element “element_name” into another element “element_name” using image identification Keyword Given, When, And, Then Description Will drag first element into second element and both elements will be identified by image Declaration Code Element Application Test Data Then drag element “Image1” into another element “Image2″ using image identification Image1 IMAGE_REPO ss.MethodeWnd.ImageOne Image2 IMAGE_REPO ss.MethodeWnd.ImageTwo NILL NILL Browser Support Google Chrome Firefox Edge Remarks The “String Value” that is used through test data file should be in angular brackets We can use any variable name Restriction Element and application file should be in xml format. Table of contents Keyword Description Declaration Browser Support Remarks Restriction

drag element “element_name” into another element “element_name” using image identification Read More »

hover mouse to element “element_name” and perform click using image identification

All Step Definition hover mouse to element “element_name” and perform click using image identification Keyword Given, When, And, Then Description Will hover mouse to element identified by image and perform click Declaration Code Element Application Test Data Then hover mouse to element “Image1″ and perform click using image identification Image1 IMAGE_REPO ss.MethodeWnd.ImageOne NILL NILL Browser Support Google Chrome Firefox Edge Remarks The “String Value” that is used through test data file should be in angular brackets We can use any variable name Restriction Element and application file should be in xml format. Table of contents Keyword Description Declaration Browser Support Remarks Restriction

hover mouse to element “element_name” and perform click using image identification 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