tap and hold element "element_name" for "<testdata_name>" seconds in mobile screen – SoliteraTA

SoliteraTA

Mobile Step Definition

tap and hold element “element_name” for “<testdata_name>” seconds in mobile screen

tap and hold element “element_name” for “<testdata_name>” seconds in mobile screen

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

tap and hold element “element_name” for “<testdata_name>” seconds in mobile screen

Keyword

Given, When, And, Then

Description

Will tap and hold element for given seconds

Declaration
				
					Then tap and hold element "SearchButton" for "<waitInSeconds>" seconds in mobile screen
				
			
				
					<elements>
  <element> 
    <name>SearchButton</name>
    <type>XPATH</type>
    <value>//android.widget.ImageView[@content-desc="Search"]</value>
  </element>
</elements>
				
			
				
					NILL
				
			
A
waitInSeconds
20
Remarks
  1. The “<testdata_name>” that is used through test data file should be in angular brackets 
  2. 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

Choose your Operating System