Desktop element interaction events – SoliteraTA

SoliteraTA

Desktop element interaction events

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 To enter a random variable and save it as a variable Declaration Code Element Application Test Data When enter random text of length “6” from desktop window and store as “FirstName” 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

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

type text “String Value” to input field “element_name” in desktop window

Desktop step-Definition type text “String Value” to input field “element_name” in desktop window Keyword Given, When, And, Then Description Type the given text into input field Declaration Code Element Application Test Data When type text “Course” to input field “InputField” in desktop window ” InputField ID Input ” NILL NILL Remarks This step definition types the specified text into an input field with the name “element_name” in the desktop window. Restriction The input field with the name “element_name” should be accessible and interactable in the desktop window. Table of contents Keyword Description Declaration Remarks Restriction

type text “String Value” to input field “element_name” in desktop window Read More »

copy the text from the element “element_name” and paste in the element “element_name” in the desktop window

Desktop step-Definition copy the text from the element “element_name” and paste in the element “element_name” in the desktop window Keyword Given, When, And, Then Description Copy the text from one element and paste the text into second element Declaration Code Element Application Test Data When copy the text from the element “InputField” and paste in the element “UseremailField” in the desktop window ” InputField ID Input UseremailField XPATH //input[@id=”email”] ” NILL NILL Remarks This step definition copies the text from one element with the name “element_name” and pastes it into another element with the same name in the desktop window. Restriction Both elements with the name “element_name” should be accessible and interactable, and they should support text copying and pasting. Table of contents Keyword Description Declaration Remarks Restriction

copy the text from the element “element_name” and paste in the element “element_name” in the desktop window Read More »

click on action element “element_name” in the desktop window

Desktop step-Definition click on action element “element_name” in the desktop window Keyword Given, When, And, Then Description Will click on an action element in the desktop window Declaration Code Element Application Test Data When click on action element “InputField” in the desktop window ” InputField ID Input ” NILL NILL Remarks This step definition clicks on an action element with the name “element_name” in the desktop window. Restriction The action element with the name “element_name” should be accessible and interactable in the desktop window. Table of contents Keyword Description Declaration Remarks Restriction

click on action element “element_name” in the desktop window Read More »

click on link “element_name” in desktop window with xCords “String Value” and yCords “String Value”

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

click on link “element_name” in desktop window with xCords “String Value” and yCords “String Value” Read More »

unselect “element_name” checkbox button on desktop window

Desktop step-Definition unselect “element_name” checkbox button on desktop window Keyword Given, When, And, Then Description Unselect the specified checkbox button on the desktop window Declaration Code Element Application Test Data When unselect “InputField” checkbox button on desktop window ” InputField ID Input ” NILL NILL Remarks This step unselects (deselects) the checkbox button with the name “element_name” in the desktop window. Restriction The checkbox element with the name “element_name” should be accessible and interactable in the desktop window. Table of contents Keyword Description Declaration Remarks Restriction

unselect “element_name” checkbox button on desktop window Read More »

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 »

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 »

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

Choose your Operating System