Welcome to C# Interview Questions. Here you will get so many questions related to c# interview and c# programs. It will definitely enhance your c# programming knowledge.
TestNG DataProvider
TestNG DataProvider is one of the most important features provided by TestNG. By using this feature user can write data-driven tests, that means a test method can run multiple times with different sets of data. In Parameterization using testng.xml file blog we have seen how to parameterize tests using testng.xml file. this feature is also […]
TestNG Grouping Tests
In TestNG, we can group multiple test methods into a named group. You can execute a particular set of test methods belonging to a group or multiple groups. This feature allows the test methods to be segregated into different sections or modules. You can have a set of test that belong to sanity test whereas […]
Dependency Test in TestNG
Dependency test in TestNG will discuss about how a test can dependent on other tests or group of tests. This feature help in executing a set of tests to be executed before a test method. Method dependency only works if the depend-on-method is part of the same class or any of the inherited base class. […]
Tests Depends on Groups in TestNG
Tests Depends on Groups in TestNG will discuss about how a test can dependent on groups or multiple groups. This feature help in executing a set of groups to be executed before a test method. Group dependency only works if the depend-on-group is part of the same class or any other classes which are in […]
Parallel Execution of Methods In TestNG
Parallel execution of tests in TestNG will discuss about the ability of executing the test methods in parallel based on the test suite configuration. Different thread will start simultaneously and the test methods will be executed in those threads. This will reduce the execution time while running the multiple test methods as a suite. You […]
Parallel Execution of Classes In TestNG
Parallel execution of classes in TestNG will discuss about ability of executing the classes in parallel based on the test suite configuration. Different thread will start simultaneously and the classes will be executed in those threads. This will reduce the execution time while running the multiple classes as a suite. You can achieve this functionality […]
TestNG Assertions
TestNG Assertions will discuss about the Assertions available in the testNG in detail. When you write a test script there should be a verification point in order to mark that test script is passed or failed or any other state. To achieve this in testNG we will user Assertions. Assertion helps you to check or […]
Custom Logger in TestNG
Custom logger in the TestNG will discuss about writing our own logger in TestNG. Logging is one of the most important things to remember in automation testing. Logger will keep on eye of the execution flow that where went wrong in the script or it very useful to debug the script. To generate custom loggers […]
Custom Reporter in TestNG
Custom reporter in testng will discuss about writing our own reporter in TestNG. Reporting is one of the most important things to remember in automation testing. Reports are used to understand the result of the test execution, point of failure, and reasons for the failure. TestNG by default generates a different type of report (i.e. […]
Execute Multiple XML files in TestNG
Execute Multiple Xml files in TestNG will discuss about how to execute multiple xml files in TestNG at a time. For ex. You have more than one xml suite files to execute different types of test scripts in your project. Now you can execute the individual xml files simply that right click on xml file […]