Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the stratum domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/soliterata.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ultimate-member domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/soliterata.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the um-recaptcha domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/soliterata.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-maximum-upload-file-size domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/soliterata.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-optimize domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/soliterata.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the iksm domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/soliterata.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ultimate-addons-for-gutenberg domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/soliterata.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the astra domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/soliterata.com/wp-includes/functions.php on line 6114
Ashish Kumar – Page 25 – SoliteraTA

SoliteraTA

Author name: Ashish Kumar

Ashish

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 »

verify partial text “<testdata_name>” is displayed on input field “element_name” in mobile screen

Mobile Step Definition verify partial text “<testdata_name>” is displayed on input field “element_name” in mobile screen Keyword Given, When, And, Then Description Will verify partial text is displayed on input location Declaration Code Element Application Test Data Then verify partial text “” is displayed on input field “SearchButton” in mobile screen SearchButton XPATH //android.widget.ImageView[@content-desc=”Search”] NILL A Text1 SoliteraTA 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

verify partial text “<testdata_name>” is displayed on input field “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 »

verify “element_name” element is not displayed in mobile screen

Mobile Step Definition verify “element_name” element is not displayed in mobile screen Keyword Given, When, And, Then Description Will verify the element is not displayed in mobile screen Declaration Code Element Application Test Data Then verify “SearchButton” element is not displayed 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

verify “element_name” element is not displayed in mobile screen Read More »

verify “element_name” element is displayed in mobile screen

Mobile Step Definition verify “element_name” element is displayed in mobile screen Keyword Given, When, And, Then Description Will verify the element is displayed in mobile screen Declaration Code Element Application Test Data Then verify “Search_button” element is displayed 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

verify “element_name” element is displayed in mobile screen Read More »

invoke Application in Mobile Device “applicationVar_name”

Mobile Step Definition invoke Application in Mobile Device “applicationVar_name” Keyword Given, When, And, Then Description Will invoke the selected mobile application Declaration Code Element Application Test Data Then invoke Application in Mobile Device “App_config” 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.The application should be already installed on the mobile device. Table of contents Keyword Description Declaration Remarks Restriction

invoke Application in Mobile Device “applicationVar_name” Read More »

I Open the chrome browser in android device with “applicationVar_name” configuration

Mobile Step Definition I Open the chrome browser in android device with “applicationVar_name” configuration Keyword Given, When, And, Then Description Will Open chrome in mobile device Declaration Code Element Application Test Data Given I Open the chrome browser in android 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. Chrome browser should be already installed on the mobile device. Table of contents Keyword Description Declaration Remarks Restriction

I Open the chrome browser in android device with “applicationVar_name” configuration Read More »

verify “String Value” css property value equals “String Value” for element “element_name” for desktop window

Desktop step-Definition verify “String Value” css property value equals “String Value” for element “element_name” for desktop window Keyword Given, When, And, Then Description Verify the CSS property value of the specified element in the desktop window is equal to the provided value. Declaration Code Element Application Test Data When verify “background-color” css property value equals “Blue” for element “InputField” for desktop window ” InputField ID Input ” NILL NILL Remarks This step verifies that the specified CSS property of the element with the name “element_name” in the desktop window has the expected value. Restriction The element with the name “element_name” should be accessible and have the specified CSS property. The “String Value” should be a valid CSS property name, and the expected value should match the actual value. Table of contents Keyword Description Declaration Remarks Restriction

verify “String Value” css property value equals “String Value” for element “element_name” for desktop window Read More »

switch focus to window with window title “String Value” for max “String Value”

Desktop step-Definition switch focus to window with window title “String Value” for max “String Value” Keyword Given, When, And, Then Description Will switch focus to some other window using window Title of that window for max time Declaration Code Element Application Test Data When switch focus to window with window title “Notepad” for max “20” NILL NILL NILL Remarks The Windows Application Driver (WinAppDriver) installed on your machine. You can download it from the  WinAppDriver v1.2.1. A windows machine with the desktop application you want to test installed. Inspect.exe should be present on your system to inspect the element of desktop application under test (Inspect .exe is a part of Microsoft SDK). Default winAppDriver location: C:Program Files (x86)Windows Application Driver Restriction Element and application file should be in xml format. Table of contents Keyword Description Declaration Remarks Restriction

switch focus to window with window title “String Value” for max “String Value” 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