Fixture is definitely a shining point of pytest. It uses annotation @pytest.fixture to put in front of a method. In Python function can be used as parameter of another function. Thus when a function with @pytest.fixture is used as parameter for a test method, the return value of that function will be transferred to the … Continue reading Data Driven Test in pytest –fixture
Data Driven Test in pytest –parametization
Python is becoming the most popular programming language these days. The syntax is simple and expressive, there are tons of Python open source modules and frameworks available, and the community is welcoming and diverse. It's also getting more and more widely used in Automation Test. Data Driven is essential for a same test case but … Continue reading Data Driven Test in pytest –parametization
Dynamic Mock Building Using Groovy on SoapUI
Nowadays, more and more Web Service are developed. Very often a web service cannot function independently, it relies on input from one or more other service. When QA test a specific Web Service, other service may not be available yet, or it cannot cooperate to input some specific value to allow QA cover enough negative … Continue reading Dynamic Mock Building Using Groovy on SoapUI
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