Desktop application operations – SoliteraTA

SoliteraTA

Desktop application operations

do not take screen shot for desktop application

Desktop step-Definition do not take screen shot for desktop application Keyword Given, When, And, Then Description Will not take screen shot for rest of test cases until they are enabled by the other step def to take ss, use this in context menu or dropdowns or whenever things get closed unpredictably. Declaration Code Element Application Test Data Then do not 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

do not take screen shot for desktop application Read More »

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 »

verify {string} text through ocr on desktop application of element {string}

Desktop step-Definition verify {string} text through ocr on desktop application of element {string} Keyword Given, When, And, Then Description Will check if the element is available on the screen Declaration Code Element Application Test Data Then verify “Text” text through ocr on desktop application of element “InputField” ” InputField ID Input ” NILL NILL Remarks Verifying element visibility when it is expected to be present is important for UI testing. Restriction Make sure you choose the correct element and provide ciorrect values while creating the element Table of contents Keyword Description Declaration Remarks Restriction

verify {string} text through ocr on desktop application of element {string} Read More »

click on desktop element “element_name” using image identification

Desktop step-Definition click on desktop element “element_name” using image identification Keyword Given, When, And, Then Description Will click on the desktop element using image identification Declaration Code Element Application Test Data Then click on desktop element “FormulaBar” using image identification FormulaBar NAME Formula Bar NILL NILL Remarks This step definition clicks on an image with the name “element_name” in the desktop window. Restriction Make sure element name is correct and visible on the screen. Confirm that it correctly identifies the visibility state of the element. Table of contents Keyword Description Declaration Remarks Restriction

click on desktop element “element_name” using image identification Read More »

double click on desktop element “element_name” using image identification

Desktop step-Definition double click on desktop element “element_name” using image identification Keyword Given, When, And, Then Description Will double click on the desktop element using image identification Declaration Code Element Application Test Data Then double click on desktop element “FormulaBar” using image identification FormulaBar NAME Formula Bar NILL NILL Remarks This step definition clicks on an image with the name “element_name” in the desktop window. Restriction Make sure element name is correct and visible on the screen. Confirm that it correctly identifies the visibility state of the element. Table of contents Keyword Description Declaration Remarks Restriction

double click on desktop element “element_name” 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