Parameter list which we can send to @Test annotation

Answer Posted / palls

@Test(groups = { "functest", "checkintest" })
@Test(dataProvider = "test1")
@Test(dependsOnMethods = { "serverStartedOk" })
@Test(parameters = { "number-of-times" })
@Test(threadPoolSize = 3, invocationCount = 10, timeOut = 10000)
There r few more but these r the ones that I know.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to assert text of webpage using selenium 2.0?

481


What is the testng.xml file used for?

511


How to run selenium webdriver test from the command line?

517


What are the features of testng and list some of the functionality in testng which makes it more effective?

531


What is the main difference between the close() and quit() methods?

435






Do you know how to locate a link using its text in selenium?

486


What are the junits annotation linked with selenium?

488


What will be the limits of selenium?

514


how can you retrive the message in an alert box?

528


Tell me what kind of mouse actions can be performed in selenium?

498


What is the difference between “type” and “typeandwait” command?

1023


Using selenium ide is it possible to get data from a particular html table cell?

648


What is the command that is used in order to display the values of a variable into the output console or log?

639


How to clear the text in the text box using selenium webdriver?

475


Explain the difference between close and quit command?

561