Click & Touch Events – SoliteraTA

SoliteraTA

Click & Touch Events


Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/soliterata.com/wp-includes/kses.php on line 1805

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 Keyword Given, When, And, Then Description Will swipe the element in the given direction. i.e. UP|DOWN|RIGHT|LEFT Declaration Code Element Application Test Data Then swipe the element “userPassword” in “” direction in mobile screen ” userPassword XPATH //input[@id=”Password”] ” NILL A up UP 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

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

click if the element “element_name”” exists

Mobile Step Definition click if the element “element_name”” exists Keyword Given, When, And, Then Description Will click if the element exists in mobile screen Declaration Code Element Application Test Data Then click if the element “Delhi_In_List” exists Delhi_In_List XPATH //android.widget.TextView[@text=”Delhi”] 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

click if the element “element_name”” exists Read More »

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</testdata_name></testdata_name> Keyword Given, When, And, Then Description Will swipe into UP|DOWN|LEFT|RIGHT directions for a specific no of times Declaration Code Element Application Test Data Then swipe in “” direction by “” times in mobile screen NILL NILL A B Value1 Value2 UP 30 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

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

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 Keyword Given, When, And, Then Description Will drag mobile element into another mobile element by using image identification Declaration Code Element Application Test Data Then drag mobile element “flipkart_Search_button” into another mobile element “flipkart1stProduct” using image identification 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 mobile element “element_name” into another mobile element “element_name” using image identification Read More »

double tap on mobile element “element_name” using image identification

Mobile Step Definition 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 Code Element Application Test Data Then double tap on mobile element “SearchButton” using image identification ” 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.

double tap on mobile element “element_name” using image identification Read More »

long tap on mobile element “element_name” using image identification

Mobile Step Definition 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 Code Element Application Test Data Then long tap on mobile element “SearchButton” using image identification ” 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

long tap on mobile element “element_name” using image identification Read More »

tap on mobile element “element_name” using image identification

Mobile Step Definition tap on mobile element “element_name” using image identification Keyword Given, When, And, Then Description Will tap on mobile element using image identification Declaration Code Element Application Test Data Then tap on mobile element “SearchButton” using image identification ” 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

tap on mobile element “element_name” using image identification Read More »

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 Keyword Given, When, And, Then Description Will drag and drop by using co-ordinates. Declaration Code Element Application Test Data Then drag from co-ords “” x-value & “” y-value and drop to “” x-value & “” y-value in mobile screen NILL NILL A B x1 500 y1 300 x2 200 y2 150 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

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 Read More »

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 Keyword Given, When, And, Then Description WIll move and relase using co-ordinates Declaration Code Element Application Test Data Then move and release using “” xCords and “” yCords 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

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

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

Mobile Step Definition click on coordinates with x value “<testdata_name>” and y value “<testdata_name>” in mobile screen</testdata_name></testdata_name> Keyword Given, When, And, Then Description Will click and hold on element in mobile with X and Y co-ordinates Declaration Code Element Application Test Data Then click and hold using “” xCords and “” yCords 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 and hold using “<testdata_name>” xCords and “<testdata_name>” yCords 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