CustomerRegistration - TestNG
CustomerRegistration - TestNG
Instruction:
Please start working on the template code provided in the Tekstac platform.
Template code will provide the base template or format in which the end solution is
expected from you. Template code is not an executable code and will help you add
code on top of it to ensure you make your submissions in the right format.
Note: You are free to directly implement the code in the Tekstac code editor.
Objective:
To test a web application with Selenium for basic activities. The basic selenium
concepts like Web Driver, Web Elements, Locators, Apache POI, Excel Inputs,
TestNG & Table Grid are covered.
Problem Description:
An application has been designed to collect the below details of the user for address
book:
Upon adding the valid details, the data appears in next page in a tabular format in
the same page with Registered successfully message
https://webapps.tekstac.com/CustomerRegistration_4284/
Test Scenario:
Mobile: 34
DOB: chennai
Gender: Male
Address: [email protected]
Validation rules:
· Use of Before Method, Test with priority, Data Provider & After Method
annotations
a) This class is used to read the data using data provider annotation