click on element "element_name" with x value "<testdata_name>" and y value "<testdata_name>" in mobile screen – SoliteraTA

SoliteraTA

Mobile Step Definition

click on element “element_name” with x value “<testdata_name>” and y value “<testdata_name>” in mobile screen

click on element “element_name” with x value “<testdata_name>” and y value “<testdata_name>” in mobile screen

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

click on element “element_name” with x value “<testdata_name>” and y value “<testdata_name>” in mobile screen

Keyword

Given, When, And, Then

Description

Will click on element with its X and Y co-cordinates

Declaration
				
					Then click on element "SearchButton" with x value "<Value1>" and y value "<Value2>" in mobile screen
				
			
				
					<elements>
  <element> 
    <name>SearchButton</name>
    <type>XPATH</type>
    <value>//android.widget.ImageView[@content-desc="Search"]</value>
  </element>
</elements>
				
			
				
					NILL
				
			
A
B
Value1
Value2
500
300
Remarks
  1. The “<testdata_name>” that is used through test data file should be in angular brackets
Restriction
  1. Value of X and Y co-ordinates should be in bounds of the mobile screen.

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