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

SoliteraTA

Desktop step-Definition

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

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

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

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
				
					Then copy value of property "AutomationId" for element "InputField" to variable "PropertyValue"
				
			
				
					"<elements>
<element>
  <name>InputField</name>
  <type>ID</type>
  <value>Input</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. 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
  1. Element and application file should be in xml format.
  2. 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.

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