Step Defination – Page 27 – SoliteraTA

SoliteraTA

Step Defination

click on desktop window element {string} for {string} times

Desktop step-Definition click on desktop window element {string} for {string} times Keyword Given, When, And, Then Description Will click on the desktop window element multiple times Declaration Remarks Code Element Application Test Data When click on desktop window element “InputField” for “5” times ” InputField ID Input ” NILL NILL This step performs a click action on the element specified by “element_name” for multiple times within the desktop window. Restriction Element and application file should be in xml format. Ensure that “element_name” is a valid and unique identifier for the element you want to double-click on. Make sure the element is visible and clickable before attempting the double-click action. Table of contents Keyword Description Declaration Remarks Restriction

click on desktop window element {string} for {string} times Read More »

press {string} keys on desktop element {string}

Desktop step-Definition press {string} keys on desktop element {string} Keyword Given, When, And, Then Description Will press the key on element Declaration Code Element Application Test Data When press “ENTER” keys on desktop element “InputField” ” InputField ID Input ” 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

press {string} keys on desktop element {string} Read More »

right click on the desktop element {string}

Desktop step-Definition right click on the desktop element {string} Keyword Given, When, And, Then Description Will right click on the desktop element Declaration Code Element Application Test Data When right click on the desktop element “InputField” ” InputField ID Input ” NILL NILL Remarks This step performs a right click action on the element specified by “element_name” within the desktop window. Restriction Element and application file should be in xml format. Ensure that “element_name” is a valid and unique identifier for the element you want to right click on. Make sure the element is visible and clickable before attempting the right click action. Table of contents Keyword Description Declaration Remarks Restriction

right click on the desktop element {string} Read More »

verify app “<testdata_name>” is installed on the mobile device

Mobile Step Definition verify app “<testdata_name>” is installed on the mobile device Keyword Given, When, And, Then Description Will verify given app installed using the app package name Declaration Code Element Application Test Data Then verify app “” is installed on the mobile device NILL NILL A AppName Cricbuzz 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

verify app “<testdata_name>” is installed on the mobile device Read More »

enter text “<testdata_name>” in mobile input field “element_name”

Mobile Step Definition enter text “<testdata_name>” in mobile input field “element_name” Keyword Given, When, And, Then Description Will enter text in the given input field Declaration Code Element Application Test Data Then enter text “” in mobile input field “SearchButton” 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 dropdown in the application. Table of contents Keyword Description Declaration Remarks Restriction

enter text “<testdata_name>” in mobile input field “element_name” Read More »

verify “<testdata_name>” text at “element_name” input location in mobile screen

Mobile Step Definition verify “<testdata_name>” text at “element_name” input location in mobile screen Keyword Given, When, And, Then Description Will verify text at the input field Declaration Code Element Application Test Data Then verify “” text at “SearchButton” input location 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 “<testdata_name>” text at “element_name” input location in mobile screen Read More »

verify “<testdata_name>” text at “element_name” non-input location in mobile screen

Mobile Step Definition verify “<testdata_name>” text at “element_name” non-input location in mobile screen Keyword Given, When, And, Then Description Will verify text at the non-input field Declaration Code Element Application Test Data Then verify “” text at “SearchButton” non-input location 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 “<testdata_name>” text at “element_name” non-input location in mobile screen Read More »

click on checkbox in mobile screen “element_name”

Mobile Step Definition click on checkbox in mobile screen “element_name” Keyword Given, When, And, Then Description Will select the checkbox Declaration Code Element Application Test Data Then click on checkbox in mobile screen “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 checkbox in the application. Table of contents Keyword Description Declaration Remarks Restriction

click on checkbox in mobile screen “element_name” Read More »

enter value “element_name” for radioButton in mobile screen

Mobile step-Definition enter value “element_name” for radioButton in mobile screen Keyword Given, When, And, Then Description Will select the radio button Declaration Code Element Application Test Data Then enter value “SearchButton” for radioButton 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 radio element in the application. Table of contents Keyword Description Declaration Remarks Restriction

enter value “element_name” for radioButton in mobile screen Read More »

enter value “<testdata_name>” for dropdown “element_name” in mobile screen

Mobile Step Definition enter value “<testdata_name>” for dropdown “element_name” in mobile screen Keyword Given, When, And, Then Description Will select the option from dropdown list Declaration Code Element Application Test Data Then enter value “” for dropdown “dropdownButton” in mobile screen dropdownButton 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 dropdown in the application. Table of contents Keyword Description Declaration Remarks Restriction

enter value “<testdata_name>” for dropdown “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