June 2023 – Page 5 – SoliteraTA

SoliteraTA

June 2023


Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/soliterata.com/wp-includes/kses.php on line 1805

verify stored text “String Value” from desktop application UI at location “element_name”

Desktop step-Definition verify stored text “String Value” from desktop application UI at location “element_name” Keyword Given, When, And, Then Description Will verify text inside variable with the text in the given windows element Declaration Code Element Application Test Data When verify stored text “” from desktop application UI at location “InputField” ” userEmailField ID email ” NILL A Text1 Solitera Remarks Verifying stored text ensures the accuracy of previous interactions and retrievals. Restriction Make sure the variable contains some value and the element is created correctly  Table of contents Keyword Description Declaration Remarks Restriction

verify stored text “String Value” from desktop application UI at location “element_name” Read More »

get text from desktop application UI at location {string} and store as {string}

Desktop step-Definition get text from desktop application UI at location {string} and store as {string} Keyword Given, When, And, Then Description get the text from UI element and store it as string Declaration Code Element Application Test Data Then get text from desktop application UI at location “userEmailField” and store as “RequiredText” ” userEmailField ID email ” 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 text from desktop application UI at location {string} and store as {string} Read More »

check the element “element_name” on the desktop application UI till time “String Value” minute

Desktop step-Definition check the element “element_name” on the desktop application UI till time “String Value” minute Keyword Given, When, And, Then Description Will check element is available on UI till given minutes Declaration Code Element Application Test Data When check the element “InputField” on the desktop application UI till time “” minute ” userEmailField ID email ” NILL A maxwait 2 Remarks Waiting for an element to appear or change state can be necessary in automation. Restriction Specify the element correctly and make sure it is also created properly Table of contents Keyword Description Declaration Remarks Restriction

check the element “element_name” on the desktop application UI till time “String Value” minute Read More »

verify element {string} is displayed on the desktop application UI

Desktop step-Definition verify element {string} is displayed on the desktop application UI Keyword Given, When, And, Then Description check if the element is available on the screen Declaration Code Element Application Test Data When verify element “InputField” is displayed on the desktop application UI ” 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 element {string} is displayed on the desktop application UI Read More »

verify element {string} is not displayed on the desktop application UI

Desktop step-Definition verify element {string} is not displayed on the desktop application UI Keyword Given, When, And, Then Description check if the element is not available on the screen Declaration Code Element Application Test Data When verify element “Inputfield” is not displayed on the desktop application UI ” InputField ID Input ” NILL NILL Remarks Verifying element visibility is a fundamental step in UI automation. Restriction Make sure element name is correct and visible on the screen. Confirm that the verification correctly identifies the visibility state of the element. Table of contents Keyword Description Declaration Remarks Restriction

verify element {string} is not displayed on the desktop application UI Read More »

switch focus to desktop window element {string}

Desktop step-Definition switch focus to desktop window element {string} Keyword Given, When, And, Then Description Switch focus to desktop window element, which is a top window and have native window handle. Declaration Code Element Application Test Data Then switch focus to desktop window element “WindowName” WindowName Class Name Xsmile NILL NILL Remarks This step definition switches the focus to a window with the specified class name “String Value”. Restriction The window with the specified class name “String Value” should be open and accessible.  Table of contents Keyword Description Declaration Remarks Restriction

switch focus to desktop window element {string} Read More »

wait for {string} minutes in desktop window

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

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

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 »

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