Skip to main content

Using TestNG Framework in Automated Testing


TestNG Framework
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

Comments

Popular posts from this blog

Identify Web Elements using Selenium Xpath Locator

As we all know, Web elements are present diversely (Dropdown, Check Box, Text Box, Radio Button, etc.) in a Web page. And locators are our saviours, right from helping us identify a Web element uniquely within the page to enunciate its HTML properties and informing Selenium about the action to be performed. For example, the Dropdown mandatory field “Highest Qualification” is not with Select Class in the Web page. It is difficult to find the Web element for that field. To resolve this, one may use Xpath Locator and find the element for the “Highest Qualification” field. Also they should try to select the Dropdown field value “Masters” making use of the Action Class. You can find the script but in that, using the Action Class to find the element for the mandatory “Highest Qualification” field will not be fruitful. You may have to apply the Contains text method to find out the element for the Xpath. Identifying Web elements is always a sensitive area and mandates a pr

Future Focus Infotech Digital Business & Transformation | Introduction

About Us Future Focus Infotech Pvt. Ltd. (FFI) – an established IT solutions provider for 20 years – offers innovative software services . Resources define the competency of an IT services organization and we have proven track record of operating a successful offshore/onshore model. The US office (Focus America Inc) was established in 2000 and the UAE (Future Focus Infotech FZE) in 2011. Our large pool of resources include 3,500+ skilled/trained employees in IT Solutions and Infrastructure Management – who are available offshore in India, US, and UAE with a “ready-to-serve” attitude. With such a diverse presence, we are successfully expanding into other markets proving ourselves as a global professional services firm. A unique combination of our quality processes, information security standards and ISO certifications brings us repeat business for high-class projects from our Tier 1 clients. Being ISO 9001 certified since 2005, our approach is always quality led. Our Qualit

Importance of Digital Marketing in today's business

For running a business in a profitable manner, it is necessary to consider various enabling factors. One may need a methodology to promote or generate brand awareness to reach the right targeted audience. If the methodology involves promoting the business in many different forms of digital media which is where people spend most of their time then that is Digital Marketing. To implement digital marketing, one should have a very strong strategy. To create a strong strategy, one should examine all digital marketing channels like search engines, social media, email and online advertising platforms and select the most appropriate platforms to promote one’s business. How many customers can one engage, for how long and the actual outcome will determine the success of the business’s digital marketing campaign.   The best manner to determine the success of your business digital marketing activities is to calculate the return on investment. Keep a tab on what you spend versus