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 are selenium 1 and selenium 2?

1002


What are the advantages of pom?

982


What is parameterization in testng? How to pass parameters using testng.xml?

942


How can we handle window ui elements and window pop ups using selenium?

980


How to capture bitmaps in selenium?

1151


Explain about selenium-ide ?

966


What are the annotations used in testng?

1066


List some scenarios which we cannot automate using selenium webdriver?

1047


What are the testing types that can be supported by selenium?

1076


Explain what is the main difference between web-driver and rc?

1018


Which selenium command(s) simulates selecting a link?

4005


How do you get the current page url?

998


What is the difference between captureentirepagescreenshot and capturescreenshot?

1175


What is the alternative to driver.get() method to open an url using selenium webdriver?

1318


What is assertion in selenium?

1042