Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the stratum domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/soliterata.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ultimate-member domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/soliterata.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the um-recaptcha domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/soliterata.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-maximum-upload-file-size domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/soliterata.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-optimize domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/soliterata.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the iksm domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/soliterata.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ultimate-addons-for-gutenberg domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/soliterata.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the astra domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/soliterata.com/wp-includes/functions.php on line 6114
Ashish Kumar – Page 18 – SoliteraTA

SoliteraTA

Author name: Ashish Kumar

Ashish

change desktop default timeout to {string} seconds

Desktop step-Definition change desktop default timeout to {string} seconds Keyword Given, When, And, Then Description change the desktop default timeout to a given number of seconds Declaration Code Element Application Test Data Then change desktop default timeout to “30” seconds NILL NILL NILL Remarks NILL Restriction he 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

change desktop default timeout to {string} seconds Read More »

copy value of property {string} for element {string} to variable {string}

Desktop step-Definition copy value of property {string} for element {string} to variable {string} Keyword Given, When, And, Then Description Will copy the value of a particular property of an element and store that inside a variable. Declaration Code Element Application Test Data Then copy value of property “AutomationId” for element “InputField” to variable “PropertyValue” ” InputField ID Input ” NILL NILL Remarks Inspect.exe should be present on your system to inspect the element and know the element property of desktop application under test (Inspect .exe is a part of Microsoft SDK). Restriction Element and application file should be in xml format. 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

copy value of property {string} for element {string} to variable {string} Read More »

copy value of property {string} for element {string} to clipboard

Desktop step-Definition copy value of property {string} for element {string} to clipboard Keyword Given, When, And, Then Description Will copy the value of a particular property of an element and add that text to clipboard Declaration Code Element Application Test Data Then copy value of property “AutomationId” for element “InputField” to clipboard ” InputField ID Input ” NILL NILL Remarks Inspect.exe should be present on your system to inspect the element and know the element property of desktop application under test (Inspect .exe is a part of Microsoft SDK). Restriction Element and application file should be in xml format. 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

copy value of property {string} for element {string} to clipboard Read More »

replace ?changeHere? text with {string} in desktop element value of name {string}

Desktop step-Definition replace ?changeHere? text with {string} in desktop element value of name {string} Keyword Given, When, And, Then Description Will replace the text of the element value with a string in the desktop Declaration Code Element Application Test Data Then replace ?changeHere? text with text “StoryRandomName” in element value of name “NewStoryName” ” NewStoryName XPATH //span[contains(text(),”?changeHere?”)] ” NILL NILL Remarks In this step you can change a specific text of a element with user defined text. Restriction Ensure that “element_name” is a valid and unique identifier for the element, you want to replace the text. Make sure the element is visible and text is readable before attempting any action. The desktop window should be accessible and in focus. Table of contents Keyword Description Declaration Remarks Restriction

replace ?changeHere? text with {string} in desktop element value of name {string} Read More »

close file explorer with name {string}

Desktop step-Definition close file explorer with name {string} Keyword Given, When, And, Then Description close the explorer window whose name is passed Declaration Code Element Application Test Data Then close file explorer with name “Program Files” NILL NILL NILL Remarks NILL Restriction The given location should be a valid file path. Table of contents Keyword Description Declaration Remarks Restriction

close file explorer with name {string} Read More »

open file explorer to navigate to {string} location

Desktop step-Definition open file explorer to navigate to {string} location Keyword Given, When, And, Then Description open a new window of file explorer and navigate to the given location Declaration Code Element Application Test Data Given open file explorer to navigate to “C:Program Files” location 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 to navigate to {string} location Read More »

try finding text {string} on element {string} for max {string} times using ocr on desktop application

Desktop step-Definition try finding text {string} on element {string} for max {string} times using ocr on desktop application Keyword Given, When, And, Then Description wait for given text on specified element for given number of times Declaration Code Element Application Test Data Then try finding text “SoliteraTA” on element “InputField” for max “2” times using ocr on desktop application ” InputField ID Input ” NILL NILL Remarks Verifying text and element visibility when it is expected to be present, is important for UI testing. Restriction Ensure that “element_name” is a valid and unique identifier for the element on you want to verifing text. Make sure the element is visible and readable before attempting the any action. Table of contents Keyword Description Declaration Remarks Restriction

try finding text {string} on element {string} for max {string} times using ocr on desktop application Read More »

try finding text {string} on screen for max {string} times using ocr on desktop applications current window

Desktop step-Definition try finding text {string} on screen for max {string} times using ocr on desktop applications current window Keyword Given, When, And, Then Description wait for given text for given number of times Declaration Code Element Application Test Data Then try finding text “Text1” on screen for max “4” times using ocr on desktop applications current window NILL NILL NILL Remarks Verifying text visibility when it is expected to be present, is important for UI testing. Restriction NILL Table of contents Keyword Description Declaration Remarks Restriction

try finding text {string} on screen for max {string} times using ocr on desktop applications current window Read More »

return coordinates of {string} text through ocr on desktop application of {string} element and with {string} position and save starting coordinate as {string} and {string} and ending coordinate as {string} and {string}

Desktop step-Definition return coordinates of {string} text through ocr on desktop application of {string} element and with {string} position and save starting coordinate as {string} and {string} and ending coordinate as {string} and {string} Keyword Given, When, And, Then Description return the co-ordinates of specified text on specified element name with positions(i.e. TopMost|BottomMost|LeftMost|RightMost|index) and save starting co-ordinates as string & string and ending co-ordinates as string & string. Declaration Code Element Application Test Data When return coordinates of “Text1” text through ocr on desktop application of “InputField” element and with “TOPtMost” position and save starting coordinate as “x1” and “y1” and ending coordinate as “x2” and “y2″ ” InputField ID Input ” NILL NILL Remarks This step return the coordinate of specific text on the  desktop window element from their defined specific position Extracting text from specific locations on the UI allows for targeted validation. Restriction Ensure that “element_name” is a valid and unique identifier for the element you want to extract specific text. Make sure the element is visible before attempting the action. Ensure that the location “element_name” is valid and accessible. Table of contents Keyword Description Declaration Remarks Restriction

return coordinates of {string} text through ocr on desktop application of {string} element and with {string} position and save starting coordinate as {string} and {string} and ending coordinate as {string} and {string} Read More »

return coordinates of {string} text through ocr on desktop application of {string} element with {string} position and save xcoordinate as {string} and save ycoordinate as {string}

Desktop step-Definition return coordinates of {string} text through ocr on desktop application of {string} element with {string} position and save xcoordinate as {string} and save ycoordinate as {string} Keyword Given, When, And, Then Description Will return the coordinates of specified text on an element name with specified positions(i.e. TopMost|BottomMost|LeftMost|RightMost|index) and save X coordinates as string and Y co-ordinates as a string. Declaration Code Element Application Test Data When return coordinates of “Text1” text through ocr on desktop application of “InputField” element with “RightMost” position and save xcoordinate as “x1” and save ycoordinate as “y1″ ” InputField ID Input ” NILL NILL Remarks This step return the coordinate of specific text on the  desktop window element from their defined specific position Extracting text from specific locations on the UI allows for targeted validation. Restriction Ensure that “element_name” is a valid and unique identifier for the element you want to extract specific text. Make sure the element is visible before attempting the action. Ensure that the location “element_name” is valid and accessible. Table of contents Keyword Description Declaration Remarks Restriction

return coordinates of {string} text through ocr on desktop application of {string} element with {string} position and save xcoordinate as {string} and save ycoordinate as {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