Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you Skip Test Case from execution?

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


Please Help Members By Posting Answers For Below Questions

What is a hub in selenium grid?

1019


How do u get the attribute of the web element?

940


List out the names of programming languages, browsers and operating systems that are supported by selenium.

826


What is selenium 2.0?

1135


What is the difference between driver.get() and driver.navigate.to()

945


Are you familiar with selenium? If yes, what is it?

1263


What’s selenese?

823


What is the difference between driver.findelement() and driver.findelements() commands?

864


Write a code snippet to launch firefox browser in webdriver.

893


What kinds of test types are supported by selenium?

823


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();?

942


Name an api used for reading and writing data to excel files?

870


How to download a file in selenium webdriver?

1043


What are the different ways in which selenium ide can be opened?

850


What is the command line we have to write inside a .bat file to execute a selenium project when we are using testng?

990