Trust you have heard about Cucumber, Jasmine, mocha... Hey, this is an automation test blog, you want to change the topic to discuss healthy food? Not really! These are also the name of some of the famous automation test framework 🙂 Today I'd like to introduce an automation test framework based on JAVA, Cucumber, Selenium, … Continue reading Automation Test with Selenium Cucumber, TestNG and Gradle
Category: Selenium
Reusable TableHelper Class in Selenium Automation Test
In our daily GUI automation testing, very often we need to check element value from a table. Normally we need to find the table, then locate the specific row or column, then the cell element value. If each time we repeat these steps, it definitely sounds not wise enough. Remember to be DRY—Don’t Repeat Yourself. … Continue reading Reusable TableHelper Class in Selenium Automation Test
Take Screenshot Only When a Test Fail
when we conduct GUI test, it is not efficient if we take screenshot on each step, it also will produce lots of unusful screenshot files. However if a test failed, we do want to see the screenshot to facilitate bug investigation. How to make the automation code take screenshot ONLY when the test fail? Very … Continue reading Take Screenshot Only When a Test Fail
Page Object Model and Fluent Design II
In previous section, I introduced how to design page object. That is only half of the story actually. Designing an automation test framework is similar to designing any other software framework or product, we need follow the typical software engineering best practice like code standard, code review, and of course Unit Test. Yeah, we need … Continue reading Page Object Model and Fluent Design II
Page Object Model and Fluent Design I
Software automation test is to use specific software tools or automation code and the power of machines to simulate the manual execution of tests, compare the outcomes, and report defects. Once automated tests have been developed, they can be run quickly and repeatedly. Many times, this can be a cost-effective approach for regression testing of software … Continue reading Page Object Model and Fluent Design I