|
INTERVIEW QUESTIONS
AUTOMATED TESTING TOOLS
SELENIUM
DETAILS
Question: What are different assertions supported by TestNG?
Answer: assertEquals, assertNotEquals, assertTrue, assertFalse, assertNull, assertNotNull
|
|
|
Category |
Selenium Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 8202 users |
Added on |
5/12/2016 |
Views |
69920 |
Rate it! |
|
|
Question:
What are different assertions supported by TestNG?
Answer:
assertEquals, assertNotEquals, assertTrue, assertFalse, assertNull, assertNotNull 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 is the usage of setting priority of @Test method?
|
View Answer
|
|
What command simulates selecting the browser's Back button in Selenium IDE?
|
View Answer
|
|
What does a comment look like in Source view?
|
View Answer
|
|
What does a comment look like in Column view?
|
View Answer
|
|
What Is TestNG? Explain its functionalities that makes it powerful than other framework.
|
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
|