Step Defination – Page 16 – SoliteraTA

SoliteraTA

Step Defination

verify attribute {string} of desktop element {string} is not eqauls to the value {string}

Desktop step-Definition verify attribute {string} of desktop element {string} is not eqauls to the value {string} Keyword Given, When, And, Then Description Will check if the attribute value of the specified element in the desktop window is equal to the provided value or not Declaration Code Element Application Test Data Then verify attribute “ClassName” of desktop element “A1_Cell” is not equals to the value “XLSpreadsheetCell” A1_Cell NAME A1 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 attribute {string} of desktop element {string} is not eqauls to the value {string} Read More »

verify attribute {string} of desktop element {string} is eqauls to the value {string}

Desktop step-Definition verify attribute {string} of desktop element {string} is eqauls to the value {string} Keyword Given, When, And, Then Description Will check if the attribute value of the specified element in the desktop window is equal to the provided value. Declaration Code Element Application Test Data Then verify attribute “ClassName” of desktop element “A1_Cell” is equals to the value “XLSpreadsheetCell” A1_Cell NAME A1 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 attribute {string} of desktop element {string} is eqauls to the value {string} Read More »

verify text {string} is not present on the desktop window

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

verify text {string} is not present on the desktop window Read More »

verify text {string} is present on the desktop window

Desktop step-Definition verify text {string} is present on the desktop window Keyword Given, When, And, Then Description Will check if the given text is present in the window. Declaration Code Element Application Test Data Then verify text “SoliteraTA” is present on the desktop window NILL NILL NILL Remarks Verifying element visibility is a fundamental step in UI automation. Restriction Make sure text is correct and visible on the screen. Confirm that the verification correctly identifies the visibility state of the text. Table of contents Keyword Description Declaration Remarks Restriction

verify text {string} is present on the desktop window Read More »

verify text {string} is not present in desktop window element {string}

Desktop step-Definition verify text {string} is not present in desktop window element {string} Keyword Given, When, And, Then Description Will check if the given text is not present in the window element. Declaration Code Element Application Test Data Then verify text “SoliteraTA” is not present in desktop window element “FormulaBar” FormulaBar NAME Formula Bar 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. Ensure that “element_name” is a valid and unique identifier. Make sure the element is visible and readable before attempting any action. Table of contents Keyword Description Declaration Remarks Restriction

verify text {string} is not present in desktop window element {string} Read More »

verify text {string} is present in desktop window element {string}

Desktop step-Definition verify text {string} is present in desktop window element {string} Keyword Given, When, And, Then Description Will check if the given text is present in the window element Declaration Code Element Application Test Data Then verify text “SoliteraTA” is present in desktop window element “FormulaBar” FormulaBar NAME Formula Bar 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. Ensure that “element_name” is a valid and unique identifier. Make sure the element is visible and readable before attempting any action. Table of contents Keyword Description Declaration Remarks Restriction

verify text {string} is present in desktop window element {string} Read More »

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 »

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