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

How to verify tooltip text using selenium?

565


How to type in a textbox using selenium?

481


How do you handle alert popup?

534


How to login to any site if it’s showing any authentication popup for

533


How to highlight element using selenium webdriver?

454






When should one use selenium grid?

527


Tell me how you can capture server side log selenium server?

494


What are the important features of selenium ide?

514


Explain how to iterate through options in test script?

707


What distinguishes between an absolute and relative url in side?

492


What are the different types of annotations which are used in selenium?

464


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

510


How can you fetch an attribute from an element? How to retrieve typed text from a textbox?

551


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

465


How can we capture screenshots in selenium?

611