Step Defination – Page 28 – SoliteraTA

SoliteraTA

Step Defination

switch to frame of mobile screen “element_name”

Desktop step-Definition switch to frame of mobile screen “element_name” Keyword Given, When, And, Then Description Will switch to given mobile screen frame Declaration Code Element Application Test Data When switch to frame of mobile screen “UseremailField” iFrame_Name XPATH //android.widget.ImageView[@content-desc=”frame1″] 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 frame in the application. Table of contents Keyword Description Declaration Remarks Restriction

switch to frame of mobile screen “element_name” Read More »

switch to default frame of mobile screen

Desktop step-Definition switch to default frame of mobile screen Keyword Given, When, And, Then Description Will switch to default mobile screen frame Declaration Code Element Application Test Data When switch to default frame of mobile screen NILL NILL NILL Remarks       NILL Restriction       NILL Table of contents Keyword Description Declaration Remarks Restriction

switch to default frame of mobile screen Read More »

scroll in “<testdata_name>” direction to mobile screen “element_name”

Desktop step-Definition scroll in “testdata_name” direction to mobile screen “element_name” Keyword Given, When, And, Then Description Will Scroll to Left|Right|Up|Down with element location Declaration Code Element Application Test Data Then scroll in “” direction to mobile screen “toButtonBelow” toButtonBelow XPATH //android.widget.ImageView[@content-desc=”LinkHere”] NILL A up UP 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

scroll in “<testdata_name>” direction to mobile screen “element_name” Read More »

Install given Application in Mobile Device with “applicationVar_name” configuration

Mobile step-Definition Install given Application in Mobile Device with “applicationVar_name” configuration Keyword Given, When, And, Then Description Will install app in mobile application using application name Declaration Code Element Application Test Data Given Install given Application in Mobile Device with “App_config” configuration NILL App_config mobile_application Android UiAutomator2 E:/mobileTestApp/Instagram Lite.apk true true NILL Remarks The “applicationVar_name” that is used through application configuration file should be in double quotes. Restriction “applicationVar_name” should be corresponds to a valid configuration and the application is available. App path should be mentioned in application configuration file. Table of contents Keyword Description Declaration Remarks Restriction

Install given Application in Mobile Device with “applicationVar_name” configuration Read More »

wait “<testdata_name>” seconds for mobile element

Mobile step-Definition wait “<testdata_name>” seconds for mobile element Keyword Given, When, And, Then Description Will wait for given seconds Declaration Code Element Application Test Data Then wait “” seconds for mobile element NILL NILL A timeInSecond 20 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

wait “<testdata_name>” seconds for mobile element Read More »

Click on mobile button “element_name”

Mobile step-Definition Click on mobile button “element_name” Keyword Given, When, And, Then Description Will click on the given element Declaration Code Element Application Test Data Then click on mobile button “SearchButton” 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

Click on mobile button “element_name” Read More »

delete cookies with name “<testdata_name>”

All Step Definition delete cookies with name “<testdata_name>” Keyword Given, When, And, Then Description If <testdata_name> is passed it will delete specified named cookies. If null is passed than all cookies are deleted Declaration Code Element Application Test Data When delete cookies with name {} NILL NILL NILL Browser Support Google Chrome Firefox Edge Remarks The “String Value” that is used through test data file should be in angular brackets We can use any variable name Restriction Element and application file should be in xml format. Table of contents Keyword Description Declaration Browser Support Remarks Restriction

delete cookies with name “<testdata_name>” Read More »

accept alert box

All Step Definition accept alert box Keyword Given, When, And, Then Description Will click on accept button of alert Declaration Code Element Application Test Data When accept alert box NILL NILL NILL Browser Support Google Chrome Firefox Edge Remarks    NILL  Restriction    NILL Table of contents accept alert box Keyword Description Declaration Browser Support Remarks Restriction

accept alert box 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