get NativeWindowHandle from desktop application of element {string} and store as {string} – SoliteraTA

SoliteraTA

Desktop step-Definition

get NativeWindowHandle from desktop application of element {string} and store as {string}

get NativeWindowHandle from desktop application of element {string} and store as {string}

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

get NativeWindowHandle from desktop application of element {string} and store as {string}

Keyword

Given, When, And, Then

Description
Will get the native window handle of the given element, try to pass the top element so that It can be used to switch to that window later on.
Declaration
				
					Then get NativeWindowHandle from desktop application of element "InputField" and store as "ProgramFiles"
				
			
				
					
"<elements>
<element>
  <name>InputField</name>
  <type>XPATH</type>
  <value>//input[@id="Input"]</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. This step is used to switch on the native window of the desktop application by using their top element.
Restriction
  1. Element and application file should be in xml format.
  2. Ā The desktop window should be accessible and in focus.
  3. Ensure that ā€œelement_nameā€ is a valid and unique identifier.

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