Skip to main content

Posts

Showing posts with the label automation framework

Using of data-driven framework in automation web or mobile testing

Software testing is increasingly getting complex and tough given the challenging business scenarios. Application Testers are under pressure to adopt proven test automation methods and techniques to improve the quality of testing outcomes. Amongst the many types of test automation frameworks practiced by the professionals, data-driven test automation stands out. When the input and output values for the test are fetched from data files which are saved outside the testing script, which can be Excel files, CVS files, ADO objects, DAO objects or any ODBC source etc. you are adopting a data-driven automation framework for your testing. To sum it, the Test Scripts retain the test case logic, while the Test Data is disparate and present outside.   What’s the benefit of using data-driven testing framework? Re-use of Code, leading to increased efficiency and faster execution Test Data remains unaltered, in spite of changes in Test Scripts Possibility to test a variet...

Using TestNG Framework in Automated Testing

TestNG is an open source automated testing framework inspired From JUnit and NUnit. The NG in TestNG denotes Next Generation; as you may see the name itself is self-explanatory indicating more functionalities which are added to meet today’s testing needs so as to deliver agility and better user experience. It is similar to JUnit but designed to be better than it. Cedric Beust is the creator of TestNG. There are numerous benefits in TestNG but from Selenium point of view, we can quickly produce HTML Reports of execution, enjoy clear annotations, grouped & prioritize test cases more easily, can try parallel testing, generate logs and while also can take up data parameterization. A best example of using TestNG framework in automation testing is discussed here https://goo.gl/sfkw6E