What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-07 12:46:15
what is page object model
PageFactory is a class in selenium. It is used to achieve page factory design pattern, it helps to initialize the page objects in the class using initElements methods. When I create an object from the page class, pagefactory initializes the webelements... Add solution -
Other 2021-10-20 23:19:08
why did you choose pom
Pom basically Creating java classes for the each page of our application, and storing related webelements, and methods in their respective classes. Advantages of POM = First of all, it makes our code REUSABLE. I don't have to repeatedly locate web el... Add solution -
Other 2021-10-20 10:26:08
automation steps
• Learn the functionality o Reading requirements o Knowledge transfer session with B.A o Ask teammates • Manually test it o Making sure I understand each step properly o Understand expected results • Automate it o Create POM pages * Ad... Add solution -
Other 2021-10-07 09:07:04
why did you choose page object model
Pom basically Creating java classes for the each page of our application, and storing related webelements, and methods in their respective classes. Advantages of POM = First of all, it makes our code REUSABLE. I don't have to repeatedly locate web el... Add solution -
Other 2021-09-30 08:37:06
page factory class in selenium
PageFactory is a class in selenium. It is used to achieve page factory design pattern, it helps to initialize the page objects in the class using initElements methods. When I create an object from the page class, pagefactory initializes the webelements... Add solution -
Java 2021-09-25 17:18:05
java.lang.NullPointerException at org.openqa.selenium.support.pagefactory.findElement(DefaultElementLocator.java:69)
public TopPanel(WebDriver driver) { this.driver = driver; //<< remove as this is already initialized and it is treated as duplicate PageFactory.initElements(driver, this); } Add solution -
Other 2021-09-24 18:59:02
what are the steps for automation
• Learn the functionality o Reading requirements o Knowledge transfer session with B.A o Ask teammates • Manually test it o Making sure I understand each step properly o Understand expected results • Automate it o Create POM pages § Ad... Add solution