Question
What is the use of @test(invocationcount=x)?

Answers

The invocationcount attribute tells how many times TestNG should run a test method

@Test(invocationCount = 10)
public void testCase1(){

In this example, the method testCase1 will be invoked ten times.   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q Write a program to show how to set the username and password using the security domain in JBoss.
  • Q IBM notes job description? job profile of IBM notes?
  • Q The highest ever partnership for India was the 413 run first wicket partnership between which two batsmen?
  • Q What is the purpose of f character used in the conversionpattern of patternlayout object?
  • Q What exception can an overridden method throw in comparison with the method it is overriding?
  • Q You are developing an ASP.NET application for TestKings intranet. Employees will use the application to administer their employee benefits. The benefits information is stored in a Microsoft SQL Server database named Benefits.An employee can select benefits options from 10 different drop-down list boxes. The values for each list are stored in separate tables in the Benefits database. The values that are available for employees to choose can change once each year during the benefits enrollment period. You want to minimize the number of times your application must access the Benefits database to obtain the values for the drop-down list box. Which two courses of action should you take? (Each correct answer presents part of the solution. Choose two) A. Create one stored procedure that returns the result for all 10 drop-down list boxes. Create one DataTable object for each of the 10 drop-down list boxes. Use a SqlDataReader object to populate 10 DataTable objects by calling the NextResult() method. Bind the drop-down list boxes to the DataTable objects. B. Create a stored procedure that returns the result set for all 10 drop-down list boxes. Bind the drop-down list boxes to the DataReader object. C. Create one DataTable object for each of the 10 drop-down list boxes. Create a stored procedure for each of the 10 tables. Use a SqlDataReader object to populate the 10 DataTable objects. Bind the drop-down list boxes to the DataTable objects. D. Store the result sets for the 10 drop-down list boxes in a DataSet object. Add the DataSet objects to the Cache object for the application. E. Store the result sets for the 10 drop-down list bikes in a file on the users computer by using the DataSet.WriteXml() method.
  • Q What is the process of making a class serializable?
  • Q      How can you define departmental accounting?
  • Q What are indexes?
  • Q What are the advantages of threads in java?
  • Q How the name AIR was coined? How effective is the role of Prasar Bharati for AIR?