Answer Posted / anagha
In testNg there is annotation
enabled =true
so it can be like this
@test(enabled=true)
public void test()
{
// body
}
| Is This Answer Correct ? | 6 Yes | 8 No |
Post New Answer View All Answers
What is a hub in selenium grid?
How do u get the attribute of the web element?
List out the names of programming languages, browsers and operating systems that are supported by selenium.
What is selenium 2.0?
What is the difference between driver.get() and driver.navigate.to()
Are you familiar with selenium? If yes, what is it?
What’s selenese?
What is the difference between driver.findelement() and driver.findelements() commands?
Write a code snippet to launch firefox browser in webdriver.
What kinds of test types are supported by selenium?
What is the purpose of creating a reference variable- 'driver' of type webdriver instead of directly creating a firefoxdriver object or any other driver's reference in the statement webdriver driver = new firefoxdriver();?
Name an api used for reading and writing data to excel files?
How to download a file in selenium webdriver?
What are the different ways in which selenium ide can be opened?
What is the command line we have to write inside a .bat file to execute a selenium project when we are using testng?