Click & Touch Events Archives – SoliteraTA

SoliteraTA

Categories
Click & Touch Events Mobile Application Operation Step Defination

swipe the element “element_name” in “<testdata_name>” direction in mobile screen

Mobile Step Definition

swipe the element “element_name” in “<testdata_name>” direction in mobile screen

swipe the element “element_name” in “<testdata_name>” direction in mobile screen

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

swipe the element “element_name” in “<testdata_name>” direction in mobile screen

Keyword

Given, When, And, Then

Description

Will swipe the element in the given direction. i.e. UP|DOWN|RIGHT|LEFT

Declaration
				
					Then swipe the element "userPassword" in "<up>" direction in mobile screen
				
			
				
					"<elements>
    <element>
    <name>userPassword</name>
    <type>XPATH</type>
    <value>//input[@id="Password"]</value>
  </element>
 </elements>"
				
			
				
					NILL
				
			
A
up
UP
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.
Categories
Click & Touch Events Mobile Application Operation Step Defination

click if the element “element_name”” exists

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.
Categories
Click & Touch Events Mobile Application Operation Step Defination

swipe in “<testdata_name>” direction by “<testdata_name>” times in mobile screen

Mobile Step Definition

swipe in “<testdata_name>” direction by “<testdata_name>” times in mobile screen

swipe in “<testdata_name>” direction by “<testdata_name>” times in mobile screen

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

swipe in “<testdata_name>” direction by “<testdata_name>” times in mobile screen

Keyword

Given, When, And, Then

Description

Will swipe into UP|DOWN|LEFT|RIGHT directions for a specific no of times

Declaration
				
					Then swipe in "<Value1>" direction by "<Value2>" times in mobile screen
				
			
				
					NILL
				
			
				
					NILL
				
			
A
B
Value1
Value2
UP
30
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.
Categories
Click & Touch Events Mobile Application Operation Step Defination

drag mobile element “element_name” into another mobile element “element_name” using image identification

Mobile Step Definition

drag mobile element “element_name” into another mobile element “element_name” using image identification

drag mobile element “element_name” into another mobile element “element_name” using image identification

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

drag mobile element “element_name” into another mobile element “element_name” using image identification

Keyword

Given, When, And, Then

Description

Will drag mobile element into another mobile element by using image identification

Declaration
				
					Then drag mobile element "flipkart_Search_button" into another mobile element "flipkart1stProduct" using image identification
				
			
				
					 <elements> 
<element> 
    <name>flipkart_Search_button</name>
    <type>XPATH</type>
    <value>//android.widget.TextView[@text="Search for products"]</value>
  </element>

  <element>
  <name>flipkart1stProduct</name>
   <type>XPATH</type>
   <value>//android.widget.TextView[@text="6 GB RAM"]</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.
Categories
Click & Touch Events Mobile Application Operation Step Defination

double tap on mobile element “element_name” using image identification

Mobile Step Definition

double tap on mobile element “element_name” using image identification

double tap on mobile element “element_name” using image identification

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

double tap on mobile element “element_name” using image identification

Keyword

Given, When, And, Then

Description

Will double tap on mobile element using image identification

Declaration
				
					Then double tap on mobile element "SearchButton" using image identification
				
			
				
					"<elements>
  <element> 
    <name>SearchButton</name>
    <type>XPATH</type>
    <value>//android.widget.ImageView[@content-desc=""Search""]</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.
Categories
Click & Touch Events Mobile Application Operation Step Defination

long tap on mobile element “element_name” using image identification

Mobile Step Definition

long tap on mobile element “element_name” using image identification

long tap on mobile element “element_name” using image identification

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

long tap on mobile element “element_name” using image identification

Keyword

Given, When, And, Then

Description

Will long tap on mobile element using image identification

Declaration
				
					Then long tap on mobile element "SearchButton" using image identification
				
			
				
					"<elements>
  <element> 
    <name>SearchButton</name>
    <type>XPATH</type>
    <value>//android.widget.ImageView[@content-desc=""Search""]</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.
Categories
Click & Touch Events Mobile Application Operation Step Defination

tap on mobile element “element_name” using image identification

Mobile Step Definition

tap on mobile element “element_name” using image identification

tap on mobile element “element_name” using image identification

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

tap on mobile element “element_name” using image identification

Keyword

Given, When, And, Then

Description

Will tap on mobile element using image identification

Declaration
				
					Then tap on mobile element "SearchButton" using image identification
				
			
				
					"<elements>
  <element> 
    <name>SearchButton</name>
    <type>XPATH</type>
    <value>//android.widget.ImageView[@content-desc=""Search""]</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.
Categories
Click & Touch Events Mobile Application Operation Step Defination

drag from co-ords “<testdata_name>” x-value & “<testdata_name>” y-value and drop to “<testdata_name>” x-value & “<testdata_name>” y-value in mobile screen

Mobile Step Definition

drag from co-ords “<testdata_name>” x-value & “<testdata_name>” y-value and drop to “<testdata_name>” x-value & “<testdata_name>” y-value in mobile screen

drag from co-ords “<testdata_name>” x-value & “<testdata_name>” y-value and drop to “<testdata_name>” x-value & “<testdata_name>” y-value in mobile screen

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

drag from co-ords “<testdata_name>” x-value & “<testdata_name>” y-value and drop to “<testdata_name>” x-value & “<testdata_name>” y-value in mobile screen

Keyword

Given, When, And, Then

Description

Will drag and drop by using co-ordinates.

Declaration
				
					Then drag from co-ords "<x1>" x-value & "<y1>" y-value and drop to "<x2>" x-value & "<y2>" y-value in mobile screen
				
			
				
					NILL
				
			
				
					NILL
				
			
A
B
x1
500
y1
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.
Categories
Click & Touch Events Mobile Application Operation Step Defination

move and release using “<testdata_name>” xCords and “<testdata_name>” yCords in mobile screen

Mobile Step Definition

move and release using “<testdata_name>” xCords and “<testdata_name>” yCords in mobile screen

move and release using “<testdata_name>” xCords and “<testdata_name>” yCords in mobile screen

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

move and release using “<testdata_name>” xCords and “<testdata_name>” yCords in mobile screen

Keyword

Given, When, And, Then

Description

WIll move and relase using co-ordinates

Declaration
				
					Then move and release using "<Value1>" xCords and "<Value2>" yCords in mobile screen
				
			
				
					NILL
				
			
				
					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.
Categories
Click & Touch Events Mobile Application Operation Step Defination

click and hold using “<testdata_name>” xCords and “<testdata_name>” yCords in mobile screen

Mobile Step Definition

click and hold using “<testdata_name>” xCords and “<testdata_name>” yCords in mobile screen

click and hold using “<testdata_name>” xCords and “<testdata_name>” yCords in mobile screen

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

click and hold using “<testdata_name>” xCords and “<testdata_name>” yCords in mobile screen

Keyword

Given, When, And, Then

Description

Will click and hold on element in mobile with X and Y co-ordinates

Declaration
				
					Then click and hold using "<Value1>" xCords and "<Value2>" yCords in mobile screen
				
			
				
					NILL
				
			
				
					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