Aman Mehendiratta – Page 22 – SoliteraTA

Author name: Aman Mehendiratta

verify text “<testdata_name>” on visible display using OCR for max “<testdata_name>” times

All Step Definition verify text {string} on visible display using OCR for max {int} times Keyword Given, When, And, Then Description Will wait for given text for value(Integer) times Declaration Code Element Application Test Data When verify text “Solitera Software” on visible display using OCR for max “2” times 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

verify text “<testdata_name>” on visible display using OCR for max “<testdata_name>” times Read More »

verify text “<testdata_name>” is equal to text in element “element_name” using OCR for max “<testdata_name>” times

All Step Definition verify text {string} is equal to text in element {string} using OCR for max {int} times Keyword Given, When, And, Then Description Will wait for given text on specified element for value(Integer) times Declaration Code Element Application Test Data When verify text “Solitera Software” is equal to text in element “testingPlaygroundHomePage” using OCR for max “2” times ” testingPlaygroundHomePage XPATH //body[contains(@class,’post-template’)]/parent::html 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

verify text “<testdata_name>” is equal to text in element “element_name” using OCR for max “<testdata_name>” times Read More »

click on button “element_name” and verify text in alert box equal to “<testdata_name>”

All Step Definition click on button {string} and verify text in alert box equal to {string} Keyword Given, When, And, Then Description Will click on button and verify text of alert window Declaration Code Element Application Test Data When click on element “showAlertBtn” and verify text in alert box equal to “This is a simple alert” ” showAlertBtn XPATH //button[contains(text(),’Show Alert’)] 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

click on button “element_name” and verify text in alert box equal to “<testdata_name>” Read More »

verify text “<testdata_name>” is equal to text in element “element_name” using OCR

All Step Definition verify text {string} is equal to text in element {string} using OCR Keyword Given, When, And, Then Description Will verify given text on the specified element Declaration Code Element Application Test Data When verify text “Solitera Software” is equal to text in element “practiceFormPrintedContent” using OCR ” practiceFormPrintedContent XPATH //div[@id=’printedContent’]/p 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

verify text “<testdata_name>” is equal to text in element “element_name” using OCR Read More »

click “<testdata_name>” times on element “element_name” with an interval of “<testdata_name>” milliseconds

All Step Definition click {int} times on element {string} with an interval of {long} milliseconds Keyword Given, When, And, Then Description Will click on the given element n number of times with an interval of x milliseconds. Declaration Code Element Application Test Data When click “2” times on element “CreateBtn” with an interval of “1000” milliseconds ” CreateBtn XPATH //button[@id=”Create”] ” 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

click “<testdata_name>” times on element “element_name” with an interval of “<testdata_name>” milliseconds Read More »

start timer

All Step Definition start timer Keyword Given, When, And, Then Description Will click on button and start the timer. Declaration Code Element Application Test Data When start timer 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

start timer Read More »

click on button “element_name” and enter text “<testdata_name>” in prompt text field

All Step Definition click on button “element_name” and enter text “<testdata_name>” in prompt text field Keyword Given, When, And, Then Description will click on prompt button and enter text into prompt text field Declaration Code Element Application Test Data When click on button “InputField” and enter text “” in prompt text field ” InputField ID Input ” NILL A Text1 SoliteraTA 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

click on button “element_name” and enter text “<testdata_name>” in prompt text field Read More »

generate random text of length “<testdata_name>” and store as “<testdata_name>”

All Step Definition generate random text of length “<testdata_name>” and store as “<testdata_name>” Keyword Given, When, And, Then Description Will generate the random name of given length and store into a given variable Declaration Code Element Application Test Data When generate random text of length “6” and store as “InputField” 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

generate random text of length “<testdata_name>” and store as “<testdata_name>” Read More »

I Open the android native Application with “applicationVar_name” configuration

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

I Open the android native Application with “applicationVar_name” configuration Read More »

SAP Hana

SAP Hana Compatible version : Latest version as on 04/08/2023 Total no. of scripts : 38 Author : SoliteraTA Last Updated on : 04/08/2023 Download zip How to use user credentials for SAP Hana project Download and Extract Project: Download the project zip file. Extract the file to access the project folder. Open SoliteraTA Tool: Open the SoliteraTA tool on your system. Import Project: Click the plus (+) icon under the environment section in the SoliteraTA tool. Use the ‘import project’ option. Click on the ‘Browse’ button and open the extracted project folder to import the downloaded project. Prepare Test Data: Expand the imported project to find the ‘Test Data’ file. Open it and enter the user credentials in the respective fields. Execute Scripts: Navigate to the script editor section. Execute the automated scripts of the project as needed. Disclaimer: SoliteraTA is solely an automation tool provider and does not have any affiliations, partnerships, or associations with any third-party applications for which we provide automated test cases. Download zip Related projects

SAP Hana 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

Choose your Operating System