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 the regular expression patterns available in selenium?

575


How do you upload a file using selenium webdriver?

3125


Write a code snippet to launch internet explorer browser in webdriver.

548


How does one calculate the number of rows using selenium 2.0?

583


What is the wait?

601






List some of the test types that are supported by selenium.

539


List the parameters that one needs to pass in selenium.

536


What are the advantages of selenium?

680


How many types of webdriver api's are available in selenium?

554


How many types of waits in selenium?

547


How to handle hidden elements in selenium webdriver?

570


From selenium ide how you can execute a single line?

729


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

914


What is the difference between selenium and qtp?

566


What regular expression special character(s) means "any character?"

573