June 2023 – Page 2 – SoliteraTA

SoliteraTA

June 2023


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

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 »

cancel alert box

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

cancel alert box Read More »

drag element “element_name” into another element “element_name”

Desktop step-Definition drag element “element_name” into the element “element_name” Keyword Given, When, And, Then Description this will drag the first element into the second one. Declaration Code Element Application Test Data When drag element “TestFile” into the element “ContentBtn” ” TestFile XPATH //input[@id=”Test”] ContentBtn XPATH //input[@id=”Content”] ” NILL NILL 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 Remarks Restriction

drag element “element_name” into another element “element_name” Read More »

if text “<testdata_name>” does not exists on the UI, then click on element “element_name” else do nothing

Desktop step-Definition check text “var_name” exists on the UI, if not found then click on this element “element_name” Keyword Given, When, And, Then Description Will check for the given text, if text not found then click on specific element Declaration Code Element Application Test Data When check text “Login” exists on the UI, if not found then click on this element “UseremailFiled” ” userEmailField ID email ” NILL NILL 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 Remarks Restriction

if text “<testdata_name>” does not exists on the UI, then click on element “element_name” else do nothing 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