click if the element “element_name”” exists – SoliteraTA

SoliteraTA

Mobile Step Definition

click if the element “element_name”” exists

click if the element “element_name”” exists

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

click if the element “element_name”” exists

Keyword

Given, When, And, Then

Description

Will click if the element exists in mobile screen

Declaration
				
					Then click if the element "Delhi_In_List" exists
				
			
				
					  <elements> 
    <element> 
     <name>Delhi_In_List</name>
     <type>XPATH</type>
     <value>//android.widget.TextView[@text="Delhi"]</value>
    </element>
  </elements> 
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. The “element_name” that is used through element data file should be in double quotes.
Restriction
  1. “element_name” should be corresponds to a valid element in the application.

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