Questions tagged [data-driven]

A programming paradigm in which the program statements describe the data to be matched and the processing required rather than defining a sequence of steps to be taken.

181 questions
1
vote
1 answer

Jmeter: Using CSV file with uneven columns to test drive sampler

I have a csv file that has a list of stores. For every Store there are 10 departments. I will need to make a GET API call for all the 10 departments in 100 stores. So my columns in CSV file are not eve. I will have column A with 100 store IDs, and…
1
vote
1 answer

QAF | In Data driven testing, retrieving csv data row directly inside StepDef

In my setup using QAF Gerkin, I have an 80+ data column in the test data file which is very difficult to pass all the columns in steps using "". I would like to retrieve all the column data directly in my StepDef according to…
Renish
  • 165
  • 6
1
vote
1 answer

How would I store multiple different value types contiguously in the same array in c++?

for something I'm building I need to be able to store runtime created structs in an array, I also want these structs to be stored contiguously in memory. Is there a way to store a sequence of objects in an array, without knowing what objects they…
1
vote
1 answer

AttributeError: 'TestCase' object has no attribute 'lineno', when I try to run test with datadriver library

I wanted to do a test with the DataDriver library, but it doesn't seem to work, I have the following error: [ ERROR ] Calling method '_start_suite' of listener 'DataDriver' failed: AttributeError: 'TestCase' object has no attribute 'lineno' first…
1
vote
1 answer

What's the difference between Data Oriented and Data Driven Programs?

I know a bit about data oriented design, like rather than having a class for a single object, you have a class which contains multiple objects, like instead of: struct Circle { int x, y; int radius; }; You would have: struct Circles {…
1mcrazy
  • 13
  • 1
  • 3
1
vote
0 answers

Cataloguing string literals passed to a specific function (data driving in C++ and testing)

I have a C++ application that's not allowed to change much (legacy code), and it relies on a large set of constants in C header files to function (custom/proprietary music/audio mixing device). The device has occasionally had to undergo changes…
Hunter
  • 11
  • 2
1
vote
1 answer

Mapbox Get Expression with Interpolated Text Sizes

I would like to add just a single layer for text symbols that are being added from a FeatureCollection. There are multiple text sizes and styles associated to each feature, held within their properties. I have been using the data driven expressions…
Max Dalton
  • 100
  • 2
  • 10
1
vote
2 answers

SSRS Dynamic Subscription - how to use parameter in file name

How do I write the FileName to show 'Name ' + DespatchFrom + '-' + DespatchTo as FileName Those values are parameters but I keep getting validation errors. I have also tried 'Name ' + DateAdd(DateInterval.Day, 1-WeekDay(Today), Today()) as FileName
Trang Le
  • 87
  • 1
  • 9
1
vote
1 answer

Test Setup in between data-driven style testing

I have created some test cases using the data-driven style testing. But when attaching the Test Setup/Teardown to the Setting section, both the setup and teardown runs before and after the testing all the data sets. Robot *** Settings *** Test Setup…
Vix
  • 11
  • 1
1
vote
1 answer

How do i parameterize parameters i am passing in my API request & execute through Karate?

I am testing API's for my application & each API has multiple parameters to be passed, ex. below: https://abc.xyz.com/***.svc/restful/GetSummary?FromDate=2019/06/28&ToDate=2019/06/28&CompAreaId=15&RegId=4 Each parameter in the request has multiple…
Shrikant
  • 91
  • 1
  • 7
1
vote
1 answer

What is the correct BDD approach for writing cucumber data driven scenarios for very large web forms? External data file or multi-column data tables?

Currently, we are testing a web application that has 15+ forms each with an average of 20 fields. Which way would be better considering performance, maintainability and a BDD-focus?
1
vote
1 answer

Data-driven approach to networking in C. This can't be new?

I'd like to know whether something like this has been done before: I've recently started work on a networking library in C. The library maintains a set of sockets, each of which is associated with two FIFO byte streams, input and output. A developer…
Philip
  • 5,795
  • 3
  • 33
  • 68
1
vote
2 answers

SSRS Data-Driven Triggered Email

I am fairly new to SSRS and have a question on how to send an email to individuals that are in the report. I was tasked to create a report that list all employees with their email address and some information about them, the report also contains the…
MDP
  • 13
  • 2
1
vote
1 answer

How do I add assertion in JSON request in Data driven testing . I am using SOAP UI free version

I am doing Data driven testing for JSON request using Soap UI free version. I have done the parameterization using Excel as Datasource. Now I want to validate the response for each input value. Can anyone help me on how can I proceed with this?
mona
  • 151
  • 2
  • 2
  • 8
1
vote
0 answers

How to validate responses in Data driven testing in Soap ui tool ?

How to validate responses in Data driven testing in Soap ui tool? Because in Data driven testing, single request will hold many scenarios ( different assertions)and all the scenarios might have different response message or status. Can anyone…
mona
  • 151
  • 2
  • 2
  • 8