Step Defination – Page 26 – SoliteraTA

SoliteraTA

Step Defination

check for the first element “element_name”, if not found then click on second element “element_name” in the desktop window

Desktop step-Definition check for the first element “element_name”, if not found then click on second element “element_name” in the desktop window Keyword Given, When, And, Then Description Check for the presence of the first element, and if not found, click on the second element in the desktop window. Declaration Code Element Application Test Data When check for the first element “UseremailField”, if not found then click on second element “InputField” in the desktop window ” InputField ID Input ” NILL NILL Remarks This step checks for the first element with the name “element_name” in the desktop window. If not found, it clicks on the second element with the same name. Restriction There should be at least two elements with the name “element_name” in the desktop window. The elements should be accessible and interactable. Table of contents Keyword Description Declaration Remarks Restriction

check for the first element “element_name”, if not found then click on second element “element_name” in the desktop window Read More »

verify the count “String Value” on specific element “element_name” on the desktop window

Desktop step-Definition verify the count “String Value” on specific element “element_name” on the desktop window Keyword Given, When, And, Then Description Verify the count of a specific element on the desktop the window matches the provided value. Declaration Code Element Application Test Data When verify the count “Hello” on specific element “InputField” on the desktop window ” InputField ID Input ” NILL NILL Remarks This step verifies the count of a specific element with the name “element_name” in the desktop window. Restriction The element with the name “element_name” should be accessible in the desktop window. The “String Value” should be a valid count value to verify. Table of contents Keyword Description Declaration Remarks Restriction

verify the count “String Value” on specific element “element_name” on the desktop window Read More »

send text {string} at current cursor location in the desktop window

Desktop step-Definition send text {string} at current cursor location in the desktop window Keyword Given, When, And, Then Description send text to the current cursor location in the desktop window Declaration Code Element Application Test Data Then send text “” at current cursor location in the desktop window NILL NILL A B RequiredText Solitera Software Remarks This step sends the specified text to a desktop window element using the image path specified by “String Value.” Restriction The specified image path should be valid and accurately represent the target element. The desktop window should be accessible and in focus. Table of contents Keyword Description Declaration Remarks Restriction

send text {string} at current cursor location in the desktop window Read More »

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

Desktop step-Definition double click on desktop window element {string} with coordinates {string} and {string} Keyword Given, When, And, Then Description double click on an element in the desktop application based on X and Y coordinates Declaration Code Element Application Test Data When double click on desktop window element “InputField” with coordinates “50” and “20” ” InputField ID Input ” 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 element {string} with coordinates {string} and {string} Read More »

click on desktop window element using element image path “String Value”

Desktop step-Definition click on desktop window element using element image path “String Value” Keyword Given, When, And, Then Description Click on a desktop window element using the provided element image path. Declaration Code Element Application Test Data When click on desktop window element using element image path “C:UsersHPPicturesScreenshots” ” InputField ID Input ” 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

click on desktop window element using element image path “String Value” Read More »

press {string} keys on current cursor location of desktop window

Desktop step-Definition press {string} keys on current cursor location of desktop window Keyword Given, When, And, Then Description  press the keys on the current cursor location of the desktop window Declaration Code Element Application Test Data When press “ENTER” keys on current cursor location of 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

press {string} keys on current cursor location of desktop window Read More »

click on the {string} section of the splitbutton {string} on desktop window

Desktop step-Definition click on the {string} section of the splitbutton {string} on desktop window Keyword Given, When, And, Then Description Will click on the specified section of the split button on the desktop window. Declaration Code Element Application Test Data When click on the “RIGHT” section of the splitbutton “InputField” on desktop window ” InputField ID Input ” NILL NILL Remarks This step clicks on a specific section with the name “String value” of a split button named “element_name” in the desktop window. Restriction The split button with the name “element_name” should be accessible and have a section named “String value.” Table of contents Keyword Description Declaration Remarks Restriction

click on the {string} section of the splitbutton {string} on desktop window Read More »

generate random text of length {string} and store as {string} in desktop window

Desktop step-Definition generate random text of length {string} and store as {string} in desktop window Keyword Given, When, And, Then Description Will generate random text of a specified length from the desktop window and store it as a string Declaration Code Element Application Test Data Then generate random text of length “8” and store as “RandomText” in desktop window NILL NILL NILL Remarks This step allows generating random text of a specific length from the desktop window and storing it as a variable. Restriction The specified “String Value” must represent a valid length (integer) for the random text. The desktop window should be accessible and in focus. Table of contents Keyword Description Declaration Remarks Restriction

generate random text of length {string} and store as {string} in desktop window Read More »

enter random text of length “String Value” from desktop window and store as “Var_Name”

Desktop step-Definition enter random text of length “String Value” from desktop window and store as “Var_Name” Keyword Given, When, And, Then Description Enter random text of a specified length from the desktop window and store it as a variable. Declaration Code Element Application Test Data When enter random text of length “7” from desktop window and store as “Text” 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

enter random text of length “String Value” from desktop window and store as “Var_Name” Read More »

enter text of variable “Var_Name” and send to “element_name” element in desktop window

Desktop step-Definition enter text of variable “Var_Name” and send to “element_name” element in desktop window Keyword Given, When, And, Then Description Will send some string value and send it to an element Declaration Code Element Application Test Data When enter text of variable “Hello” and send to “InputField” element in desktop window ” InputField ID Input ” 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

enter text of variable “Var_Name” and send to “element_name” element in desktop window 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