Scenario is:I have 3 records of username and password stored in excel sheet1.I want to test login with each record one by one without dataprovider and using POM.Here is my frame work design:generic method in one package where read from Excel method is defined.One more package by name TestConfiguration where all pre and post condition are defined(browser openening,maximize etc.).Now in pagerepo package i created one login method.Now in regression page iam creating object for login page to execute and this class extend test configuration.Now tell wr to put logic for aboce scenario.Thanks
Aucun commentaire:
Enregistrer un commentaire