Input Operation Archives – SoliteraTA

SoliteraTA

Categories
Desktop application operations Input Operation

clear the input element {string} of desktop application

Desktop step-Definition

clear the input element {string} of desktop application

clear the input element {string} of desktop application

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

clear the input element {string} of desktop application

Keyword

Given, When, And, Then

Description

clear the input element of desktop application

Declaration
				
					Then clear the input element "FormulaBar" of desktop application
				
			
				
					  <elements>
  <element>
    <name>FormulaBar</name>
    <type>NAME</type>
    <value>Formula Bar</value>
  </element>
  </elements>
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. The Windows Application Driver (WinAppDriver) installed on your machine. You can download it from the  WinAppDriver v1.2.1.
  2. A windows machine with the desktop application you want to test installed.
  3. Inspect.exe should be present on your system to inspect the element of desktop application under test (Inspect .exe is a part of Microsoft SDK).
  4. Default winAppDriver location: C:\Program Files (x86)\Windows Application Driver
Restriction
  1. Element and application file should be in xml format.
Categories
Desktop application operations Input Operation

send text {string} at current cursor location in the desktop window

Desktop step-Definition

send text {string} at current cursor location in the desktop window

send text {string} at current cursor location in the desktop window

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

send text {string} at current cursor location in the desktop window

Keyword

Given, When, And, Then

Description

send text to the current cursor location in the desktop window

Declaration
				
					Then send text "<RequiredText>" at current cursor location in the desktop window 
				
			
				
					NILL
				
			
				
					NILL
				
			
A
B
RequiredText
Solitera Software
Remarks
  1. This step sends the specified text to a desktop window element using the image path specified by “String Value.”
Restriction
  1. The specified image path should be valid and accurately represent the target element. The desktop window should be accessible and in focus.
Categories
Desktop application operations Input Operation

press {string} keys on current cursor location of desktop window

Desktop step-Definition

press {string} keys on current cursor location of desktop window

press {string} keys on current cursor location of desktop window

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

press {string} keys on current cursor location of desktop window

Keyword

Given, When, And, Then

Description

 press the keys on the current cursor location of the desktop window

Declaration
				
					When press "ENTER" keys on current cursor location of desktop window
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. The Windows Application Driver (WinAppDriver) installed on your machine. You can download it from the  WinAppDriver v1.2.1.
  2. A windows machine with the desktop application you want to test installed.
  3. Inspect.exe should be present on your system to inspect the element of desktop application under test (Inspect .exe is a part of Microsoft SDK).
  4. Default winAppDriver location: C:\Program Files (x86)\Windows Application Driver
Restriction
  1. Element and application file should be in xml format.
Categories
Desktop application operations Input Operation

press {string} keys on desktop element {string}

Desktop step-Definition

press {string} keys on desktop element {string}

press {string} keys on desktop element {string}

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

press {string} keys on desktop element {string}

Keyword

Given, When, And, Then

Description

Will press the key on element

Declaration
				
					When press "ENTER" keys on desktop element "InputField"
				
			
				
					"<elements>
<element>
  <name>InputField</name>
  <type>ID</type>
  <value>Input</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. The Windows Application Driver (WinAppDriver) installed on your machine. You can download it from the  WinAppDriver v1.2.1.
  2. A windows machine with the desktop application you want to test installed.
  3. Inspect.exe should be present on your system to inspect the element of desktop application under test (Inspect .exe is a part of Microsoft SDK).
  4. Default winAppDriver location: C:\Program Files (x86)\Windows Application Driver
Restriction
  1. Element and application file should be in xml format.
Categories
Desktop application operations Input Operation

select all text from element {string} in desktop window

Desktop step-Definition

select all text from element {string} in desktop window

select all text from element {string} in desktop window

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

select all text from element {string} in desktop window

Keyword

Given, When, And, Then

Description

To select all the text present inside the input field element

Declaration
				
					When select all text from element "InputField" in desktop window
				
			
				
					"<elements>
<element>
  <name>InputField</name>
  <type>ID</type>
  <value>Input</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. Selecting all text in an input field can be useful for clearing or replacing the existing content.
Restriction
  1. Verify that the element “element_name” is an input field that supports text selection.
Categories
Desktop application operations Input Operation

send text {string} to element {string} in desktop window

Desktop step-Definition

send text {string} to element {string} in desktop window

send text {string} to element {string} in desktop window

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

send text {string} to element {string} in desktop window

Keyword

Given, When, And, Then

Description

Will send some string value to the input field element

Declaration
				
					Then send text "Solitera" to element "InputField" in desktop window
				
			
				
					"<elements>
<element>
  <name>InputField</name>
  <type>ID</type>
  <value>Input</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. Sending the desired text into the input fields in desktop window
Restriction
  1. Ensure that the application is in the correct state to receive the text and that the element is visible and enabled.
Categories
Desktop application operations Input Operation

paste value from clipboard to element {string} in desktop window

Desktop step-Definition

paste value from clipboard to element {string} in desktop window

paste value from clipboard to element {string} in desktop window

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

paste value from clipboard to element {string} in desktop window

Keyword

Given, When, And, Then

Description

Will paste string value from the clipboard to the given desktop window element

Declaration
				
					When paste value from clipboard to element "InputField" in desktop window
				
			
				
					"<elements>
<element>
  <name>InputField</name>
  <type>ID</type>
  <value>Input</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. The Windows Application Driver (WinAppDriver) installed on your machine. You can download it from the  WinAppDriver v1.2.1.
  2. A windows machine with the desktop application you want to test installed.
  3. Inspect.exe should be present on your system to inspect the element of desktop application under test (Inspect .exe is a part of Microsoft SDK).
  4. Default winAppDriver location: C:\Program Files (x86)\Windows Application Driver
Restriction
  1. Element and application file should be in xml format.

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