Step Defination – Page 32 – SoliteraTA

SoliteraTA

Step Defination

wait for {string} seconds in desktop window

Desktop step-Definition wait for {string} seconds in desktop window Keyword Given, When, And, Then Description wait for the given number of seconds Declaration Code Element Application Test Data When wait for “20” seconds in desktop window NILL NILL NILL Remarks This step waits for the specified number of seconds in the desktop window. Restriction Ensure that the “String Value” is a valid numerical value representing the time in seconds. Avoid using excessively long wait times as it could increase the overall test execution time. Table of contents Keyword Description Declaration Remarks Restriction

wait for {string} seconds in desktop window Read More »

get ocr on desktop application of text from element {string} and save it as {string}

Desktop step-Definition get ocr on desktop application of text from element {string} and save it as {string} Keyword Given, When, And, Then Description Will get text of specified element using OCR and save it as string Declaration Code Element Application Test Data Then get ocr on desktop application of text from element “InputField” and save it as “ValueName” ” InputField ID Input ” NILL NILL Remarks Extracting text from specific locations on the UI allows for targeted validation. Restriction Ensure that the location “element_name” is valid and accessible. Table of contents Keyword Description Declaration Remarks Restriction

get ocr on desktop application of text from element {string} and save it as {string} Read More »

verify {string} text through ocr on desktop application of current window

Desktop step-Definition verify {string} text through ocr on desktop application of current window Keyword Given, When, And, Then Description Will check if the given text on the visible desktop screen Declaration Code Element Application Test Data Then verify “Text” text through ocr on desktop application of current window NILL NILL NILL Remarks Verifying text presence helps validate that specific content is visible as expected. Restriction Verifying text presence helps validate that specific content is visible as expected. Table of contents Keyword Description Declaration Remarks Restriction

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

select all text from element {string} in desktop window

Desktop step-Definition select all text from element {string} in desktop window Keyword Given, When, And, Then Description To select all the text present inside the input field element Declaration Code Element Application Test Data When select all text from element “InputField” in desktop window ” InputField ID Input ” NILL NILL Remarks Selecting all text in an input field can be useful for clearing or replacing the existing content. Restriction Verify that the element “element_name” is an input field that supports text selection. Table of contents Keyword Description Declaration Remarks Restriction

select all text from element {string} in desktop window Read More »

send text {string} to element {string} in desktop window

Desktop step-Definition send text {string} to element {string} in desktop window Keyword Given, When, And, Then Description Will send some string value to the input field element Declaration Code Element Application Test Data Then send text “Solitera” to element “InputField” in desktop window ” InputField ID Input ” NILL NILL Remarks Sending the desired text into the input fields in desktop window Restriction Ensure that the application is in the correct state to receive the text and that the element is visible and enabled. Table of contents Keyword Description Declaration Remarks Restriction

send text {string} to element {string} in desktop window Read More »

paste value from clipboard to element {string} in desktop window

Desktop step-Definition paste value from clipboard to element {string} in desktop window Keyword Given, When, And, Then Description Will paste string value from the clipboard to the given desktop window element Declaration Code Element Application Test Data When paste value from clipboard to element “InputField” 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

paste value from clipboard to element {string} in desktop window Read More »

save value {string} from desktop window to clipboard

Desktop step-Definition save value {string} from desktop window to clipboard Keyword Given, When, And, Then Description Will save string value to the clipboard Declaration Code Element Application Test Data When save value “Solitera” from desktop window to clipboard NILL NILL NILL Remarks NILL Restriction NILL Table of contents Keyword Description Declaration Remarks Restriction

save value {string} from desktop window to clipboard Read More »

double click on desktop window element {string}

Desktop step-Definition double click on desktop window element {string} Keyword Given, When, And, Then Description Will double click on an element in the desktop application Declaration Code Element Application Test Data When double click on desktop window element “HomeBtn” ” HomeBtn name Home ” NILL NILL Remarks This step performs a double-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 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

double click on desktop window element {string} Read More »

maximize the desktop application window

Desktop step-Definition maximize the desktop application window Keyword Given, When, And, Then Description Will maximise the desktop application window Declaration Code Element Application Test Data When maximise the desktop application window NILL NILL NILL Remarks This step maximizes the desktop application window. Restriction It’s important to verify that the application supports window maximization. Some applications may have restrictions on resizing or maximizing their windows. Table of contents Keyword Description Declaration Remarks Restriction

maximize the desktop application window Read More »

click on desktop window element {string}

Desktop step-Definition click on desktop window element {string} Keyword Given, When, And, Then Description Will click on the specified element in the desktop window Declaration Code Element Application Test Data Then click on desktop window element “InputField” ” InputField name Input ” 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. Table of contents Keyword Description Declaration Remarks Restriction

click on desktop window 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