Using AI for designing Test Cases
Using AI for designing Test Cases
Read moreButton 1. Check whether button is properly visible and in proportion with UI 2. Verify whether size of button is as per the requirement 3. Verify color of button is as per the requirement 4. Verify text present on the button is as per the requirement 5. Verify text present on the button is visible 6.
Read moreTestNG @Parameters One of the important features of TestNG is parameterization. This annotation allows the user to pass parameter values to test methods through the testng.xml file. @Parameters({"param-name"}) Let's write a simple example of passing parameters to test methods through the XML configuration file. Steps to Perform: Open chrome and enter the Demo
Read moreExmaples for @BeforeMethod and @AfterMethod in TestNG. @BeforeMethod allows the method to execute before the execution of each Test methods, whereas @afterMethod is executed after the execution of each Test methods. [crayon-688832a8895a9915842834/] Output: First Method:Before Method starts!Test with Default priorityAfter Method starts In the above output, we can observe for every Test first @BeforeMethod is
Read moreAnnotations in TestNG Annotation is a feature introduced in Java 5 and is used to add a piece of code to the java source code. Annotations are easy to use, maintain and understand. Annotations provide many useful attributes to use in the code. It is easier to find where the error
Read moreTest Annotation with attributes in detail with example. @Test: The @Test attribute is the most important and commonly used annotation of TestNG. It is used to mark a class or a method as part of the test. We write code/business logic in the @Test method. If we want to automate something, that particular
Read moreList of tools which are helpful while performing software testing and development. Each article contains list of tools which will help in software life cycle. Top Web Accessibility Tools - Contains list of tools which helps to determine whether web content meets the W3 recommended Accessibility guideline or not. Performance testing (free
Read moreSetting up a new TestNG project In the previous topic, we have discussed the installation of TestNG in the Eclipse. Let's create a TestNG project in the eclipse and Name it as "TestNGProject". Step 1. Click on File > New > Java project. Step 2. Type "TestNGProject" as the Project Name then click Next. Step
Read moreWhat is TestNG FrameWork? 1. TestNG is the most widely used testing framework in the software testing industry. It is an open source automated Testing framework. 2. TestNG is an automation testing framework in which NG stands for "Next Generation". 3. TestNG is used for different kinds of testing like unit, functional, integration
Read moreManual testing tutorials Download free sample testcase template Checklist for software application testing Software design specification - Importance in UI testing Early involvement of testing team in requirement phase Test case for button, password, form, links What is AB testing Checklist and device matrix for Responsive Testing Code to get screen resolution Test cases for drop-down list (multiple selection)
Read more