Skip to main content

Customer Expects SIT in full swing!

TestNG Tutorial


Introduction 

TestNG is basically a Unit testing framework basically for Selenium webdriver Software automation for Test engineers. It is basically inspired or developed from JUnit (Tut's coming soon on JUnit) with additional functionalities or features. We use TestNG basically to annotate in the sense to make our code easily understandable to anyone. Its splits up the code in the form on Annotations like @Before , @After to showcase our code written in Selenium.

Our section of TestNG here covers the below

1) Installation Guide
2) Execute a TestNG Webdriver Test
3) Testng Annotations with example


To know more about TestNG features click on the link TestNG - Features or visit TestNG.org

Comments

  1. Excellent idea!!! I really enjoyed reading your post. Thank you for your efforts. Share more like this.
    Software Testing Courses Online Certification

    ReplyDelete

Post a Comment

Popular posts from this blog

Selenium - Basic Commands

Creating New Instance WebDriver driver = new FirefoxDriver() The above command is used to open a new instance of Firefox driver Command To Open URL In Browser driver.get("http://only-testing-blog.blogspot.com/2013/11/new-test.html"); This syntax will open specified URL of software web application in web browser. Clicking on any element or button of webpage driver.findElement(By.id("submitButton")).click(); Above given syntax will click on targeted element in webdriver. Store text of targeted element in variable String dropdown = driver.findElement(By.tagName("select")).getText(); This syntax will retrieve text from targeted element of software web application page and will store it in variable = dropdown. Typing text in text box or text area. driver.findElement(By.name("fname")).sendKeys("My First Name"); Above syntax will type specified text in targeted element. VIEW PRACTICAL EXAMPLE OF SendKeys Appl...

Selenium Tutorials

Introduction: Selenium Webdriver Is open source software testing tool which supports many different browsers. It Is also supporting many different software programming languages like Python, Ruby, C#, Java, PHP and Perl so that you can create your test cases using your preferred language. Current days, Most popular language Is Java to prepare your software application automation test cases with selenium webdriver. To get a deep stretch to Selenium concepts I have splited the concepts based on the slow process approach In this tutorial we are going to see what is Selenium Automation testing is all about! before we deep dive into the concepts we will have few Introduction about "Automation Testing" the difference between Test case and Test scripts and different tools in Market. Automation Testing: It is a process of converting manual Test cases to Automated Test scripts by using an Automation Tool is called Automation Testing. Difference between Test Cas...

Customer Expects SIT in full swing!

To start with SIT - System Integration Testing "We" as software Testers should be performing at-least one round of Integration Testing before giving sign-off to any Product/Major Release. System Integration Testing plays a major role in modern era as customers expect us to Test the software in whole, as in they are not satisfied with just the UI validations or testing the document requirements which is developed on the page. Software Applications now a days are developed with lots and lots of dependencies. To perform or complete any action by the software it requires many or third party involvement. Lets make it simple take an eCommerce website(say Amazon), For Amazon to display a set of products on their site there are n number of Services which are playing a major role in the background. Lets make it even more simpler with an Example. Test Scenario: Check if the user is able to view the price for a product. Normal Functional Test: In this we just validate and ...