|
INTERVIEW QUESTIONS
AUTOMATED TESTING TOOLS
SELENIUM
DETAILS
Question: What Is TestNG? Explain its functionalities that makes it powerful than other framework.
Answer: TestNG ("Testing, the Next Generation") is an open source Java unit testing framework that aims to overcome many limitations of JUnit and NUnit. Some new functionalities that make it more powerful and easier to use, such as: 1. JDK 5 Annotations: Annotations in TestNG are lines of code that can control how the method below them will be executed.
2. Flexible test configuration
3. Support for data-driven testing (with @DataProvider)
4. Support for parameters
5. Allows distribution of tests on slave machines
6. Powerful execution model (no more TestSuite)
7. Supported by a variety of tools and plug-ins (Eclipse, IDEA, Maven, etc...)
8. Embeds BeanShell for further flexibility
9. Default JDK functions for runtime and logging (no dependencies)
10. Dependent methods for application server testing
|
|
|
Category |
Selenium Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 6780 users |
Added on |
5/12/2016 |
Views |
66031 |
Rate it! |
|
|
Question:
What Is TestNG? Explain its functionalities that makes it powerful than other framework.
Answer:
TestNG ("Testing, the Next Generation") is an open source Java unit testing framework that aims to overcome many limitations of JUnit and NUnit. Some new functionalities that make it more powerful and easier to use, such as: 1. JDK 5 Annotations: Annotations in TestNG are lines of code that can control how the method below them will be executed.
2. Flexible test configuration
3. Support for data-driven testing (with @DataProvider)
4. Support for parameters
5. Allows distribution of tests on slave machines
6. Powerful execution model (no more TestSuite)
7. Supported by a variety of tools and plug-ins (Eclipse, IDEA, Maven, etc...)
8. Embeds BeanShell for further flexibility
9. Default JDK functions for runtime and logging (no dependencies)
10. Dependent methods for application server testing Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What are different assertions supported by JUnit?
|
View Answer
|
|
What are the advantages of TestNG over JUnit?
|
View Answer
|
|
Tell me different JUnit annotations and its usage.
|
View Answer
|
|
Give me a syntax to read javascript alert message string, clicking on OK button and clicking on Cancel button.
|
View Answer
|
|
Tell me a syntax to drag X element and drop it on Y element.
|
View Answer
|
|
What is the syntax to type value in prompt dialog box's input field using selenium WebDriver?
|
View Answer
|
|
When do you need Selenium Server to run your tests in selenium WebDriver?
|
View Answer
|
|
Explain difference between close() and quit() method in Selenium webdriver?
|
View Answer
|
|
What are the limitations of Selenium WebDriver software test automation?
|
View Answer
|
|
What are the disadvantages of xPath locator as compared to cssSelector locator?
|
View Answer
|
|
Explain sendKeys method in Selenium WebDriver.
|
View Answer
|
|
How to handle Ajax In selenium WebDriver?
|
View Answer
|
|
Explain setSize method of selenium webdriver software testing tool?
|
View Answer
|
|
What methods are used to open URL in web browser in selenium webdriver software testing tool?
|
View Answer
|
|
What is implicit and explicit wait in selenium webdriver?
|
View Answer
|
|
Which one is better xpath or CSS ?
|
View Answer
|
|
Why you choose webdriver over RC ?
|
View Answer
|
|
What are the benefits of using TestNG ?
|
View Answer
|
|
Which OpenSource Framework is supported in WebDriver with Java?
|
View Answer
|
|
List the WebDriver Supported Browsers?
|
View Answer
|