Questions tagged [data-driven]

A scripting technique that does not put test data directly into the test script.

Filter by
Sorted by
Tagged with
-2
votes
3answers
35k views

What is the difference between keyword driven and Data driven frameworks in Automation?

I am having problems fully understanding the purpose of keyword driven frameworks compared to data-driven frameworks. What circumstances would make a keyword-driven framework more appropriate for an ...
5
votes
3answers
789 views

Generate test data in which format

What is the best approach to make test data configurable ? Through XML file or properties file or any other way. But must not be hard coded. What approach should be taken to run the same Test Suit ...
2
votes
1answer
3k views

How to make multiple testcases of one value

I have created test cases for email but there are multiple negative test cases for email field then how should I pass multiple values in the input field. I have created function.but don't is that ...
1
vote
1answer
459 views

How to control TestNG to iterate all Tests in each iteration instead of iterating individual tests before moving on to the subsequent test

Problem - I have 6 tests and one dataprovider with 2*2 object array. I want TestNG to pick first data, use it in First test and then subsequent tests are executed based on the data picked in first ...
-2
votes
1answer
76 views

How to assert that particular element is not displayed? [duplicate]

Can someone help me fixing NoSuchElementException. Let me explain what I am trying to do. I am trying to login into an application with multiple sets of data. Lets say, 1) Valid username and ...