9 votes
Accepted

Data driven testing using csv in Protractor

Hi i found another csv module : csv-parse : https://csv.js.org/parse/ (Its used in postman) const parse = require('csv-parse/lib/sync'); Use this module for data-driven testing instead of below-step ...
PDHide's user avatar
  • 11.1k
6 votes

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

Difference between Keyword driven and Data driven framework : Data Driven Framework : It is nothing but data driven test, performing the same functionality with multiple input values by using ...
Bharat Mane's user avatar
  • 6,775
5 votes

Data Driven testing in Postman Tool

Update I have tested with a simple CSV file and it indeed alters the iteration count automatically. So my suggestions for you are: update Postman to latest version if not yet done so double-check ...
FDM's user avatar
  • 5,894
5 votes

Data driven testing patterns - Pros and Cons and good examples?

The best explanation would be an example - if you have a situation of needing to test something - like a login page - where the steps of the tests don't vary but the input (and output) does then ...
Lars Nordin's user avatar
4 votes
Accepted

How to make multiple testcases of one value

In this scenario; you have two options to test your Authentication scenario for multiple test data's: 1) Use Data provider with two-dimensional java object 2) Passing data to DataProvider from Excel ...
Bharat Mane's user avatar
  • 6,775
4 votes

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

I think Shailendra hit the nail on the head. The main goal of keyword driven tests is greater test coverage through reuse and maintanability through defining functionality -- steps. And the main ...
fijiaaron's user avatar
  • 141
3 votes

How to write test cases when different test data gives different results?

Always approach this from your test objectives which should be taken directly from your requirements. You have one usecase, but his has multiple scenarios. Your usecase, 'Check mobile bill payment ...
Martin Spamer's user avatar
3 votes

Data driven testing patterns - Pros and Cons and good examples?

I am going to go out on a limb here, quite likely in a minority opinion, but here I go! I avoid using them! Now I notice your first bullet point mentioned: Am I missing out on something, or are ...
Michael Durrant's user avatar
3 votes

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

Purpose of keyword driven frameworks compared to data driven frameworks. Keyword-driven testing is a technique that separates much of the programming work from the actual test steps so that the test ...
Shailendra Rathore's user avatar
3 votes
Accepted

How to send double quotes in postman csv data file

This is interesting, Newman and the collection runner are behaving differently. I have raised a bug on postman for this : https://github.com/postmanlabs/postman-app-support/issues/8024#issue-...
PDHide's user avatar
  • 11.1k
2 votes

Both machine- and human-readable data-driven test cases

This is quite an old but very interesting question which has surprisingly has no answers at all. Let me add my attempt here that will probably help someone who will face the same issue. Personally I ...
Alexey R.'s user avatar
  • 11.6k
2 votes

Data driven testing patterns - Pros and Cons and good examples?

I guess I have never build any "real" data driven test suits, unless you count build some arrays which I feed into function data driven. In my book this perfectly counts as data driven. In fact, ...
dzieciou's user avatar
  • 10.5k
2 votes

Can I merge test expectation with test data together?

I've definitely seen people (and have done so myself), where the data file contains response codes, strings, final states, etc. All depends how general of a solution you want, if you want to run ...
ernie's user avatar
  • 1,040
2 votes
Accepted

Can I merge test expectation with test data together?

I am not really sure what you meant by Interim Test Expectation, did you mean Checkpoint? Sure you can do it, you can do something like this: TestName Date1 Date2 FirstName1 etc ...
Yu Zhang's user avatar
  • 9,942
2 votes

How to write test cases when different test data gives different results?

If you are moving forward for automation approach, applying BDD with "Scenario Outline" feature to your case, it can be fit in one readable scenario. Scenario Outline: Bill payment after due date ...
Chaochana's user avatar
  • 506
2 votes

How to develop data driven framework using Selenium with C#? Please provide example

You develop it just like anything else you would program. Learn the different parts and combine them together. Learn C#: http://www.learncs.org/ Learn how to read data from Excel with C#: https://...
Niels van Reijmersdal's user avatar
2 votes

How to assert that particular element is not displayed?

If I understand correctly - You want to check if some particular WebElement is missing. While doing so you get a NoSuchElementException. The solution here will be to create a function that returns a ...
Moro's user avatar
  • 1,052
2 votes
Accepted

Data-driven approach to testing in nightwatch.js

Nightwatch represents each spec file as an exported object mapping the test names to the test functions. To generate tests from data, therefore, you can use any means of adding properties to an object ...
jonrsharpe's user avatar
1 vote

How to pass data through Excel sheet in Page Factory framework

A page object can contain more than just individual web elements and their corresponding functions. For example, a logon page would list the individual web elements through the FindBy's but would not ...
Bill Hileman's user avatar
1 vote

When submitting a form by fetching values from excel file it is showing Internal Server Error

You don't seem to be checking the values from your spreadsheet import or if you have successfully opened it , this would then result in you searching for null or unexpected values which will cause ...
Amias's user avatar
  • 1,202
1 vote
Accepted

Data driven testing with different elements eg Katalon

Use IF ELSE condition for check/Uncheck the checkbox same as for radio button also. In Excel store the Checkbox/radio button column value as 1/0 if 1- check 0-uncheck if(findTestData('UserGroup')....
Vel Guru's user avatar
  • 526
1 vote

SOAPUI asserting input xml against the database fields

I've done this in a variety of ways, so there is not a definitive approach. You need to find the approach that best meets your needs. Approach One - In the test step that calls the service, e.g. ...
Chris Adams's user avatar
1 vote

Angular 4 automation using Selenium

I used Protractor while developing some automated tests for one of my company's products which was written in AngularJS. It took me a little bit of time to get it set up/ configured properly, but once ...
Noble-Surfer's user avatar
1 vote

How to write test cases when different test data gives different results?

With my data driven tests, I have a single test and I push my data through that. The test could be written in anything that accepts parameters. The data you are using should have the inputs as well ...
Chris Adams's user avatar
1 vote
Accepted

How do I delete a column header in QTP?

If you want to delete a column/columns: datatable.GetSheet(MySheetName).DeleteParameter ColumnName Delete "CatNo" cloumn from "cats info" sheet. datatable.GetSheet("cats info").DeleteParameter "...
Piotr Wicherski's user avatar
1 vote

Selenium IDE data-driven storing special characters from csv file

The � that you see in your CSV file is due to you saving the file in one encoding and reading it in another. Always read/write the files in the correct encoding. You can decide on a particular ...
Chaitanya's user avatar
1 vote

How to access database from SoapUI for test-data generation?

There is no need for Groovy. You can use a JDBC TestStep for that. https://www.soapui.org/jdbc/getting-started.html You can extract value from the, as a xml presented, results at the same way as you ...
Patrick's user avatar
  • 145
1 vote
Accepted

How to access database from SoapUI for test-data generation?

First of all you need to download DB driver, e.g. ojdbc7.jar and place it in bin\ext folder of SoapUI dir: C:\Program Files (x86)\SmartBear\SoapUI-5.3.0\bin\ext Then you can use groovy script to ...
Ivan Gerasimenko's user avatar
1 vote

Selenium IDE with Selblocks: jump to next var if got an error

You have to implement test cycles as you are doing data-driven testing. I recommend to you not to expect the test will pass every time. You will have to implement checkpoints, using sequences of ...
Dee's user avatar
  • 1,356
1 vote

Managing Test Data for UI testing

One TestNG approach is to use Parameterized Tests See https://www.tutorialspoint.com/testng/testng_parameterized_test.htm Another interesting feature available in TestNG is parametric testing. ...
Michael Durrant's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible