Button & Dropdown Archives – SoliteraTA

SoliteraTA

Categories
Button & Dropdown Step Defination web application operations

click on dropdown “element_name” and select element “element_name”

All Step Definition

click on dropdown “element_name” and select element “element_name”

click on dropdown “element_name” and select element “element_name”

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

click on dropdown “element_name” and select element “element_name”

Keyword

Given, When, And, Then

Description

Will click on specified dropDown and then will select the specified element from the dropdown

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
				
			
Browser Support
Remarks
  1. The “String Value” that is used through test data file should be in angular brackets
  2. We can use any variable name
Restriction
  1. Element and application file should be in xml format.
Categories
Button & Dropdown Step Defination web application operations

click on radiobutton “element_name”

Desktop step-Definition

click on radiobutton “element_name”

click on radiobutton “element_name”

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

click on radiobutton “element_name”

Keyword

Given, When, And, Then

Description

Will select mentioned value from specific Radiobutton

Declaration
				
					When click on radiobutton "DropdownList"
				
			
				
					"<elements>
<element>
  <name>DropdownList</name>
  <type>XPATH</type>
  <value>//button[@id="List1"]</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. The “String Value” that is used through test data file should be in angular brackets
  2. We can use any variable name
Restriction
  1. Element and application file should be in xml format.
Categories
Button & Dropdown Step Defination web application operations

click on checkbox “element_name”

All Step Definition

click on checkbox “element_name”

click on checkbox “element_name”

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

click on checkbox “element_name”

Keyword

Given, When, And, Then

Description

Will click on specified checkbox

Declaration
				
					Then click on checkbox "assignUserCheckBox"
				
			
				
					"<elements>
  <element>
    <name>assignUserCheckBox</name>
    <type>XPATH</type>
    <value>(//input[@type='checkbox'])[1]</value>
  </element>
 </elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Browser Support
Remarks
  1. The “String Value” that is used through test data file should be in angular brackets
  2. We can use any variable name
Restriction
  1. Element and application file should be in xml format.
Categories
Button & Dropdown Step Defination web application operations

select value “<testdata_name>” in dropdown “element_name”

All Step Definition

select value “<testdata_name>” in dropdown “element_name”

select value “<testdata_name>” in dropdown “element_name”

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

select value “<testdata_name>” in dropdown “element_name”

Keyword

Given, When, And, Then

Description

Will select mentioned value from specific dropdown menu

Declaration
				
					Then select value "<WaterfallMethodology>" in dropdown "chooseMethodologyDropDown"
				
			
				
					"<elements>
  <element>
    <name>chooseMethodologyDropDown</name>
    <type>XPATH</type>
    <value>(//div[@class='mdc-select__anchor'])[2]</value>
  </element>
 </elements>"
				
			
				
					NILL
				
			
A
WaterfallMethodology
User@123
Browser Support
Remarks
  1. The “String Value” that is used through test data file should be in angular brackets
  2. We can use any variable name
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