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 »