New answers tagged

2

It should be something like this one (might need some adjustments if you use something other than IntelliJ as your IDE and : # Created by .ignore support plugin (hsz.mobi) ### Java template *.class # Mobile Tools for Java (J2ME) .mtj.tmp/ # Package Files # *.jar *.war *.ear # virtual machine crash logs, see http://www.java.com/en/download/help/...


0

You need to instantiate driver in BaseClass. You need to intialize the elements using PageFactory class in LoginPage constructor. public LoginPage(WebDriver driver) {           this.driver = driver; PageFactory.initElements(driver, this); } Create LoginPage class object in test as LoginPage loginpage = new LoginPage(driver);


0

DataProvider is a method in a class that returns a two dimensional an array of object (Object [ ][ ]) to the test method. The test method will be called m times in the m*n type of object array. Where m ➨ The first array m represents the number of rows that has to be repeated your test m number of times. n ➨ The second array n represents a column ...


Top 50 recent answers are included