public void Execute() { LoginPageObjectModel loginPage = new LoginPageObjectModel(); PageObjectModel page = loginPage.Login("Shraddha", "Password"); page.FillUserForm("Execute Automation", "Shraddha", "Amol"); }
public void Execute() { string username = excelUtil.ReadDataFromCollection(1, "UserName"); LoginPageObjectModel loginPage = new LoginPageObjectModel(); PageObjectModel page = loginPage.Login(username, "Password"); page.FillUserForm("Execute Automation", "Shraddha", "Amol"); }