Click & Touch Events – Page 2 – SoliteraTA

SoliteraTA

Click & Touch Events

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

Mobile Step Definition 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 Code Element Application Test Data Then click on element “SearchButton” with x value “” and y value “” in mobile screen SearchButton XPATH //android.widget.ImageView[@content-desc=”Search”] NILL A B Value1 Value2 500 300 Remarks The “<testdata_name>” that is used through test data file should be in angular brackets Restriction Value of X and Y co-ordinates should be in bounds of the mobile screen. Table of contents Keyword Description Declaration Remarks Restriction

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

swipe “<testdata_name>” mobile screen

Mobile Step Definition swipe “<testdata_name>” mobile screen Keyword Given, When, And, Then Description Will swipe into UP|DOWN|LEFT|RIGHT directions Declaration Code Element Application Test Data Then swipe “” mobile screen NILL NILL A up UP Remarks The “<testdata_name>” that is used through test data file should be in angular brackets Restriction           NILL Table of contents Keyword Description Declaration Remarks Restriction

swipe “<testdata_name>” mobile screen Read More »

double click on coordinates with x value “<testdata_name>” and y value “<testdata_name>” in mobile screen

Mobile Step Definition double click on coordinates with x value<testdata_name> and y value <testdata_name> in mobile screen Keyword Given, When, And, Then Description Will double click on element with X and Y co-ordinates Declaration Code Element Application Test Data Then double click on coordinates with x value “” and y value “” in mobile screen NILL NILL A B Value1 Value2 500 300 Remarks The “<testdata_name>” that is used through test data file should be in angular brackets Restriction Value of X and Y co-ordinates should be in bounds of the mobile screen. Table of contents Keyword Description Declaration Remarks Restriction

double click on coordinates with x value “<testdata_name>” and y value “<testdata_name>” in mobile screen Read More »

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

Mobile Step Definition click on coordinates with x value “<testdata_name>” and y value “<testdata_name>” in mobile screen Keyword Given, When, And, Then Description Will click on element with X and Y co-ordinates Declaration Code Element Application Test Data Then click on coordinates with x value “” and y value “” in mobile screen NILL NILL A B Value1 Value2 500 300 Remarks The “<testdata_name>” that is used through test data file should be in angular brackets Restriction Value of X and Y co-ordinates should be in bounds of the mobile screen. Table of contents Keyword Description Declaration Remarks Restriction

click on coordinates with x value “<testdata_name>” and y value “<testdata_name>” in mobile screen Read More »

release the element “element_name” in mobile screen

Mobile Step Definition release the element “element_name” in mobile screen Keyword Given, When, And, Then Description Will release the given element Declaration Code Element Application Test Data Then release the element “SearchButton” in mobile screen ” SearchButton XPATH //android.widget.ImageView[@content-desc=””Search””] ” NILL NILL Remarks The “element_name” that is used through element data file should be in double quotes. Restriction “element_name” should be corresponds to a valid element in the application. Table of contents Keyword Description Declaration Remarks Restriction

release the element “element_name” in mobile screen Read More »

hold the element “element_name” in mobile screen

Mobile Step Definition hold the element “element_name” in mobile screen Keyword Given, When, And, Then Description Will hold the given element Declaration Code Element Application Test Data Then hold the element “SearchButton” in mobile screen ” SearchButton XPATH //android.widget.ImageView[@content-desc=””Search””] ” NILL NILL Remarks The “element_name” that is used through element data file should be in double quotes. Restriction “element_name” should be corresponds to a valid element in the application. Table of contents Keyword Description Declaration Remarks Restriction

hold the element “element_name” in mobile screen Read More »

drag element “element_name” and drop to “element_name” element in mobile screen

Mobile Step Definition drag element “element_name” and drop to “element_name” element in mobile screen Keyword Given, When, And, Then Description Will drag and drop the element Declaration Code Element Application Test Data Then drag element “flipkart1stProduct” and drop to “flipkart_Search_button” element in mobile screen flipkart_Search_button XPATH //android.widget.TextView[@text=”Search for products”] flipkart1stProduct XPATH //android.widget.TextView[@text=”6 GB RAM”] NILL NILL Remarks The “element_name” that is used through element data file should be in double quotes. Restriction “element_name” should be corresponds to a valid element in the application. Table of contents Keyword Description Declaration Remarks Restriction

drag element “element_name” and drop to “element_name” element in mobile screen Read More »

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

Mobile Step Definition 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 Code Element Application Test Data Then tap and hold element “SearchButton” for “” seconds in mobile screen SearchButton XPATH //android.widget.ImageView[@content-desc=”Search”] NILL A waitInSeconds 20 Remarks The “<testdata_name>” that is used through test data file should be in angular brackets  The “element_name” that is used through element data file should be in double quotes. Restriction “element_name” should be corresponds to a valid element in the application. Table of contents Keyword Description Declaration Remarks Restriction

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

tap on element “element_name” in mobile screen

Mobile Step Definition tap on element “element_name” in mobile screen Keyword Given, When, And, Then Description Will tap on the element Declaration Code Element Application Test Data Then tap on element “DoNotRecommendchnlButton” in mobile screen DoNotRecommendchnlButton XPATH //android.widget.TextView[@text=”Don’t recommend this channel”] NILL NILL Remarks The “element_name” that is used through element data file should be in double quotes. Restriction “element_name” should be corresponds to a valid element in the application. Table of contents Keyword Description Declaration Remarks Restriction

tap on element “element_name” in mobile screen Read More »

double tap on element “element_name” in mobile screen

Mobile Step Definition double tap on element “element_name” in mobile screen Keyword Given, When, And, Then Description Will double tap on element Declaration Code Element Application Test Data Then double tap on element “SearchButton” in mobile screen SearchButton XPATH //android.widget.ImageView[@content-desc=”Search”] NILL NILL Remarks The “element_name” that is used through element data file should be in double quotes. Restriction “element_name” should be corresponds to a valid element in the application. Table of contents Keyword Description Declaration Remarks Restriction

double tap on element “element_name” in mobile screen Read More »

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