SDLC has six steps. These are requirements gathering, design, development, testing, release, and maintenance.
Encapsulation is one of the Object Oriented Programming (OOP) principles. The other Object Oriented Programming principles are:
* Inheritance
* Abstraction
* Polymorphism
Selenium provides 8 different web locators for locating WebElements on the page. These are:
* id * name
* className * tagName
* linkText * partialLinkText
* CSSselector * XPath
Abstraction is one of the Object Oriented Programming (OOP) principles. The other principles are: * Encapsulation * Inheritance * Polymorphism
When testing a vending machine, I first check all requirements and acceptance criteria as a tester.
Users can purchase the product with valid payment. For example cash, debit/credit card, apple pay, etc.
Page Object Model, is a design pattern that is commonly used in Selenium Automation Test. It makes our codes more readable, maintainable, and reusable.
When a web page is loaded in the browser, the web elements that we want to interact with can load at different time intervals.
In that time, we need synchronization because we need to make sure our driver and our browser are on the same page at all times.
Thread.Sleep method comes from Java and is not a good practice to use because it will wait for regardless of the given time in milliseconds.
ImplicitlyWait comes from Selenium library. It is ONLY triggered when findElement (@FindBy) method can NOT find a web element with given locator. It will wait until the web element is found or timer runs out. We use it once, and it will be applied to the rest of our driver session life. When the given time expires NoSuchElementException is thrown by findElement method.
ExplicitWait comes from Selenium library. It can wait for expected conditions to happen on the page.
It is mainly used when we want to click or act on an object when it is visible. We can use a lot of Expected Conditions can be used in Explicit Wait. Some of them are:
elementToBeClickable()
elementToBeSelected()
visibilityOf()
FluentWait is quite similar to explicit Wait and it defines how frequently WebDriver will check if the condition appears before throwing the ElementNotVisibleException
Polymorphism is one of the Object Oriented Programming principles. Polymorphism means many forms.
Occurs when the reference type is a parent class or interface and the object type is a child.
In our project, I have been working with the Agile Scrum methodology.
Our sprint cycle is 2 weeks and starts every other week on Monday.
In our team, we have a Product Owner, Scrum Master, 5 Developers, and 3 Testers.
We have 5 meetings in this sprint time period.
There are many different ways to use Git. Git supports many command-line tools and graphical user interfaces. The Git command line is the only place where you can run all the Git commands.
The following set of commands will help you understand how to use Git via the command line.