Checkbox & Dropdown Operation Archives – SoliteraTA

SoliteraTA

Categories
Checkbox & Dropdown Operation Desktop application operations

select dropdown option {string} for dropdown {string} in desktop application

Desktop step-Definition

select dropdown option {string} for dropdown {string} in desktop application

select dropdown option {string} for dropdown {string} in desktop application

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

select dropdown option {string} for dropdown {string} in desktop application

Keyword

Given, When, And, Then

Description

select dropdown option in desktop application

Declaration
				
					Then select dropdown option "<NumberFormat>" for dropdown "numberFormatingDropDown" in desktop application
				
			
				
					  <elements>
  <element>
    <name>numberFormatingDropDown</name>
    <type>XPATH</type>
    <value>//*[@AutomationId="NumberFormatGallery"][@Name="Number Format"]/Button[@Name="Open"]</value>
  </element>
  </elements>
				
			
				
					NILL
				
			
A
B
NumberFormat
Accounting
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
Checkbox & Dropdown Operation Desktop application operations

click on dropdown {string} and select element {string} in desktop application

Desktop step-Definition

click on dropdown {string} and select element {string} in desktop application

click on dropdown {string} and select element {string} in desktop application

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

click on dropdown {string} and select element {string} in desktop application

Keyword

Given, When, And, Then

Description

click on dropdown and then select the specified element in the desktop application.

Declaration
				
					Then click on dropdown "numberFormatingDropDown" and select element "accountingFormating" in desktop application
				
			
				
					  <elements>
  <element>
    <name>numberFormatingDropDown</name>
    <type>XPATH</type>
    <value>//*[@AutomationId="NumberFormatGallery"][@Name="Number Format"]/Button[@Name="Open"]</value>
  </element>
  <element>
    <name>accountingFormating</name>
    <type>NAME</type>
    <value>Accounting</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
Checkbox & Dropdown Operation Desktop application operations

click on checkbox {string} in desktop application

Desktop step-Definition

click on checkbox {string} in desktop application

click on checkbox {string} in desktop application

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

click on checkbox {string} in desktop application

Keyword

Given, When, And, Then

Description

click on the checkbox in the desktop window

Declaration
				
					Then click on checkbox "developerTabCheckBox" in desktop application
				
			
				
					  <elements>
  <element>
    <name>developerTabCheckBox</name>
    <type>XPATH</type>
    <value>//*[@Name='Developer' and @LocalizedControlType='CheckBox']</value>
  </element>
  </elements>
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. This step clicks on the checkbox with the name “element_name” in the desktop window.
Restriction
  1. The checkbox element with the name “element_name” should be accessible and interactable in the desktop window.

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