What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2022-03-06 22:20:22
factory in testng
The @Factory annotation is useful when we want to run multiple test cases through a single test class. It is mainly used for the dynamic execution of test cases. Let's say we have in 2 different classes, there are 2 different test cases. If we want to ... Add solution -
Other 2022-02-19 04:35:02
biggest challange you faced
I think, the most important problem is misunderstanding and the lack of communication in the business life. If we come together as a group and discuss it, there is nothing we cannot solve. WHAT IS THE BIGGEST CHALLENGE YOU HAVE FACED? 1-Last minute r... Add solution -
Other 2022-02-15 04:35:02
How can we create data driven framework using TestNG?
TESTNG: 1. @DataProvider annotation 2. Excel file with the help of Apache POI 3. JSON or CSV file for API testing 4. Data which comes from Database and stores in collections To use the DataProvider feature in the test cases, you have to declare ... Add solution -
Other 2022-02-09 10:50:07
how do you decide which test cases to automate
We can't and shouldn't automate every test case I would choose automation over manual -If it is repetitive like data driven test cases that are supposed to be tested against multiple test data. -If the test cases are high priority test cases -If the funct... Add solution -
Other 2022-02-06 14:15:03
dependent in testng
If we want to run the test cases in a specific order, then we use the concept of dependency in TestNG. Two types of dependency attributes used in TestNG: dependsOnMethods The dependsOnMethods attribute tells the TestNG on which methods this test will ... Add solution -
Other 2022-01-31 02:51:43
describe a challenges
I think, the most important problem is misunderstanding and the lack of communication in the business life. If we come together as a group and discuss it, there is nothing we cannot solve. I'm really grateful and blessed to work with my current team... Add solution -
Other 2021-11-17 12:19:15
how do you decide to automate
We can't and shouldn't automate every test case I would choose automation over manual -If it is repetitive like data driven test cases that are supposed to be tested against multiple test data. -If the test cases are high priority test cases -If the funct... Add solution -
Other 2021-11-17 07:28:18
factory vs dataprovider
@DataProvider – DataProvider returns a single or multi-dimensional JAVA Object array to the test method and the test method will invoke x times in a (x multiply n) type of object array. For example, if the DataProvider returns an array of 3*2 obj... Add solution