- how does business make money?
- how do users use your application?
- what browsers are user using?
- what things have broken in the past?
2. type of automation framework
- module based
- data driven
- keyword driven (table lookup)
- bdd (cucumber, jbehave)
3. page object model
- single place for the service offered by the page
- clean separation between test code and page specific code
4. page factory
- a class provided by selenium webdriver to support page object model
- allow testers use @FindBy annotation
- use the initElements method to initialize all the web elements located by @FindBy
5. avoid thread.sleep, prefer wait
(new WebDriverWait(driver, 30)).until(new ExpectedCondition() {
public Boolean apply(WebDriver d) {
return d.getTitle().toLowerCase().startsWith("java developer")
}
6. hrm modules
7. ecommerce modules
8. do not use try/catch in bdd code
reference
1. figuring out what to test
2. explicit vs implicit waits
3. page object model
4. selenium Wiki
5. mixing Implicit Wait and Explicit Wait
6. serenity tips and tricks
7. explicit and implicit timeout in serenity
8. implicit vs explicit wait
9. visual regression testing using blue-harvest
10. handle UnexpectedAlertOpenError in Protractor
11. headless mode
(new WebDriverWait(driver, 30)).until(new ExpectedCondition() {
public Boolean apply(WebDriver d) {
return d.getTitle().toLowerCase().startsWith("java developer")
}
6. hrm modules
- users
- payroll
- personal information
- leave and timesheet
- recruitment
- performance
- training
7. ecommerce modules
- customer registration and account management
- product catalog
- orders and payment
- coupons
- store locator
- invoice and receipt
8. do not use try/catch in bdd code
- so that test will fail-fast (any run-time exception will terminate the step/step definition)
9. visual testing using blue-harvest
10. common issues
10. common issues
- handle UnexpectedAlertOpenError in protractor
- headless mode
11. open new page
- click something to open
- findInteractableWebElement on the new page (to know that new page is open)
reference
1. figuring out what to test
2. explicit vs implicit waits
3. page object model
4. selenium Wiki
5. mixing Implicit Wait and Explicit Wait
6. serenity tips and tricks
7. explicit and implicit timeout in serenity
8. implicit vs explicit wait
9. visual regression testing using blue-harvest
10. handle UnexpectedAlertOpenError in Protractor
11. headless mode
No comments:
Post a Comment