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.
0
votes
1answer
17 views
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?
3
votes
0answers
70 views
Force static class member initialization even if not explicitly included in any file
I have a base class:
template <typename T>
class Base
{
public:
struct RegisterType {
RegisterType() { RegisterHelper::get().registerType<T>();}
};
...
0
votes
0answers
17 views
SSRS data-driven subscription - file share account problem
Hi everyone and thank you for reading my question.
I'm using SQL Server 2016 Enterprise with 2016 Reporting Services.
Now I configured a data driven subscription, which executes a query to fill out ...
-2
votes
1answer
41 views
Is it beneficial to use OOP on large datasets in Python? [closed]
I'm implementing Kalman Filter on two types of measurements. I have GPS measurement every second (1Hz) and 100 measurment of accelration in one second (100Hz).
So basically I have two huge tables and ...
1
vote
2answers
32 views
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 ...
0
votes
1answer
45 views
SoapUI (Pro) > DataDriven > Message Content Assertion - How to handle decimal values
I am using ReadyAPI(SoapUI Pro) for testing of a RestAPI. As Test Data Im using DataSource (DataDriven), where i am giving the Inputs (API Input) from excel. And to test the API response i am ...
0
votes
4answers
46 views
Php MYSQL Query on More than one Pages
I have developed a Php & Mysql data-driven website "Student Progress Report Portal". Its navigation bar contains 3 links for Page 1, Page 2 and Page 3.
Page 1 Shows: Student Progress overall test ...
0
votes
1answer
26 views
Can we iterate values from excel to POST json request one by one in SOAPUI. If yes please share a piece of code
Can we iterate values from excel to POST json request one by one in SOAPUI?
It should get the response for each and every request from iterated value.
Kindly share groovy script to achieve this.
0
votes
1answer
19 views
How to display list values of JSON attribute using groovy script in soap ui
I have the following json,
"Location": "abc",
"Codes":
[
{
"high": "xyz",
"low": "aaa"
}
]
I am doing Data driven testing using SOAP UI. In the above code I am displaying the "...
0
votes
0answers
9 views
Data-Driven Documents
the link to the website is https://d3js.org/
in this website there are so many chart is specified.but they were not explaining the generation of the charts using the data in the SQL data base.Any one ...
0
votes
1answer
442 views
How to check file exists in Groovy script
Workbook aWorkBook = Workbook.getWorkbook(new File("C:\Users\Response.xls"));
WritableWorkbook workbook1 = Workbook.createWorkbook(new File("C:\Users\Responses.xls"), aWorkBook);
I am doing DATA ...
1
vote
1answer
40 views
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 ...
1
vote
0answers
39 views
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 ...
0
votes
0answers
30 views
SSRS Datadriven subscriptions Limitations
I am trying to generate 10000 pdf reports into the windows file share location using SSRS data driven subscription methodology and I found that when I run for small bathces and it works and it surely ...
1
vote
0answers
262 views
Data-driven cluster colour with mapboxgl
I am trying to draw circle which colour depends on a "group" attribute in my geojson. I followed a simple example with these colours:
map.addSource("data", {
type: "geojson",
data: url,
...
1
vote
2answers
253 views
How to pass parameters of endpoint through excel in Rest-assured
I want to Pass the parameter "Country" with different countries names. Is it possible to keep all the country names in excel and call those from the datafile.
RestAssured.given()
.pathParam("...
0
votes
1answer
25 views
Which library to create data-visualization at a in-city level?
Hi all I'm a newbie in data-visualization. I am looking for a graphics library in JavaScript that supports data-visualization at an city level, I have found some (like D3js) but all seem to only ...
0
votes
1answer
61 views
Data Driven Selenium Getting exception java.lang.NumberFormatException: For input string: “3.0”
Below is the code that I am referring for Data driven with excel in selenium. With this code I am getting exception java.lang.NumberFormatException: For input string: "3.0"
public String[][] ...
0
votes
0answers
174 views
VB.Net Create an instance of a class from name
I'm trying to data-drive part of my software so that I have a database table containing class names and some other properties. e.g.
"Bob.Foo"
"Bob.Baz"
"Bob.Flip"
Within my software, I want to ...
0
votes
0answers
21 views
Using database or Excel files in data driven automated tests
I just need your opinion for those who have experience with data-driven automated tests,
Using database management system is better as it has more powerful manipulating feature but need more technical ...
6
votes
3answers
623 views
how to bring the selected node front in d3 js?
I am using the d3 v3 script to visualize the Data. I need to highlight and bring the node front in mousecenter and vice versa in mouseleave. Now I can able to high light the node by increasing height ...
-1
votes
1answer
74 views
how to make the test case pass while using data driven in selenium c#
I have c# code like the following to loop through rows to get new code in this case the loop not finished but code created
for (int i = 1; i < 100; i++)
{
driver.FindElement(By.Id("Code"))...
1
vote
1answer
233 views
Trigger SSRS Data Driven Subscription - with Parameters supplied
I have an SSRS (2016) report that accepts a date parameter. The user selects a date and the report runs and returns one page per customer. The report also has a data driven subscription which when ...
0
votes
1answer
48 views
MvvmCross 5.x Datadriven or Codedriven Navigation
The ViewModel is responsible for UI logic, including Navigation.
All of the examples show the Navigate method being invoked as the result of a user action, typically a button tap, in a Command method.
...
0
votes
0answers
87 views
SSRS - Data Driven Subscription, avoid using special character in filename. There are no special characters
I'm using SSRS Data Driven subscriptions to produce 300,000+ word documents (.docx).
The majority are being produced fine however, some are reporting an error of
The filename is invalid. Avoid ...
1
vote
0answers
118 views
JHipster and Data driven user interface
I have a question on how to use JHipster to create dynamically data driven user interface.
I would like to build a system where
a Manager can create Type of elements, descripbed with a list of
...
0
votes
1answer
62 views
Use property as form validator in Angular2 (data-driven)
I'm having a hard time trying to set a max value using the data driven approach in Angular2.
I want to set the max value of the input to a property called userLimit, which I get from firebase. This is ...
0
votes
2answers
42 views
Not showing md-hint using email validator in Data-Driven forms
Im trying to display a md-hint when the email is not valid but it isnt displaying in my html.
html
<form [formGroup]="myForm" (ngSubmit)="onSignup()">
<md-input-container class="col-md-6 md-...
0
votes
0answers
34 views
Data relationships take too much space
I am building a moddable game and I ran into data size problem where game takes too much hard drive space. I have ObjectData table that represents these things:
unique object ID
object id (for editor ...
-1
votes
1answer
40 views
Data Driven Approach with Jmeter
I am using CSV Data Set Config config element to read CSV file. My requirement is to read line if the column value is value is "Y" else want to skip.
JSON Body Data:
{
"UserName": "${Username}",
...
1
vote
1answer
7k views
Data Driven vs Event Driven model/architecture?
I heard the terms Data Driven and Event Driven model from different folks in past. I did google but these terms are still vague to me as both
of them looks similar to me
Data driven programming is a ...
2
votes
1answer
142 views
From hard coded model to data driven menu
I'm trying to transform this
Tutorial to read the data from a table. I have modified the NavigationMenu.cs Models by adding an Id key field:
public class NavigationMenu
{
[Key]
[...
2
votes
1answer
188 views
Unittest - data driven edge-case tests with objects?
Consider the following:
import unittest
class MyClass:
def __init__(self, dict: {}):
try:
if self.validate_dict(dict):
self.data = dict
except ...
2
votes
3answers
38 views
Datadriven shell programming? Suggestions, please
I'd like to convert my shell script to use a datadriven approach. But since there are no "tables" type values in any shell (that I know of), what are suggested alternative ways to do this?
What I'm ...
0
votes
0answers
37 views
Placing a component containing a formGroup in a formGroup (data-driven from Angular2)
I've got 2 components:
the first component is a formGroup for user details
the second component is should be nested as an address formGroup, user formGroup
the selectors are:
- <ts-user>&...
1
vote
0answers
30 views
Designing a mergable data format
When making data driven applications in large groups of collaborators comprised of different disciplines (eg. when making games), we often have to decide what format we are going to store that data in....
2
votes
1answer
549 views
Add arbitrary Vue.js components to parent component
I'm using Vue.js to build ui for my html5 game. I have a case where I want to define ui-containers which essentially just group other ui-components and position them to somewhere on screen. So I could ...
1
vote
0answers
175 views
reportlab dynamic data-driven header outputs wrong subtitle
I have created some fictitious, though representative, clinical trial type data using Pandas, and now come to some test reporting in ReportLab.
The data has a block (~50 rows) where the treatment ...
1
vote
1answer
2k views
Angular 2. Set value of ControlGroup in data driven form
Let's say I have this model:
export class MyModel {
constructor(
public id: number,
public name: string
) {}
}
and this ControlGroup:
export class MyComponent {
form: ...
2
votes
0answers
216 views
Data Driven Protractor With Excel
I have been working with protractor for a short while now and having checked the forums online currently there is no solution to have protractor run via excel for software builds in nodejs.
Could ...
0
votes
1answer
67 views
Putting logic into JSON data
We have an engineer on our team that would like to the do the following inside of JSON data:
"visible": "$(= state 'state_c')"
Now in the model he has the following method to determine the state:
...
0
votes
2answers
1k views
To copy or not to copy
I have deleted my previous question since it was too complicated. I am creating a versatile data-driven system behavior. Since I cannot create objects in realtime whenever I need them I parse and ...
0
votes
1answer
475 views
Export SSRS Subscription to Multiple File Share Locations
Is it possible to export an SSRS report to multiple paths through a data-driven subscription? Is there a specific delimiter (such as ";") between path names that will allow this?
2
votes
1answer
3k views
How to read selected fields from excel in data driven testing?
In my web application, I have to update 25 fields to create a user. Test data in Excel has a list of 100 users with required info for all 25 fields.
Using Robot framework,test script was written in ...
1
vote
0answers
101 views
how to implement a third party plugin e.g IAP, Ad Network, Social Sharing with ECS/DOD.
I have started looking into ECS recently for game development. Til now I used and fancied OOP and patterns for code separation, ECS also does so but in another way.
I'm getting my head over designing ...
2
votes
1answer
115 views
Update data in d3.js group
I create a group with data values:
var group = svg.append("g");
group.data([{color : "green", opacity: 0.3 }]);
If I want to update these values, do I need to set a new data array?
group.data([{...
4
votes
3answers
2k views
Build Mocha test dynamically after getting data from webdriver.io
I'm looking for a solution to define Mocha tests after getting data asynchronously.
For now, I use gulp-webdriver to getting HTML content with Selenium.
And I want tests certain HTML tags structure....
2
votes
1answer
1k views
Which Javascript Framework for a data driven web application?
I've been asked to design a web application which has multiple tiers. It will have a client aspect (rendering information for the user), a server aspect (web api serving data) and a database behind ...
1
vote
4answers
4k views
Junit testing of complex enums
I have an enum that can present in a number of different ways. As a String, as an Integer and as a Double (different ranges), as a Vector2D and finally as the enum value itself. Here is a generalised ...
2
votes
1answer
517 views
How to fix broken data-driven unit test in Visual Studio 2013 after VS upgrade
Having upgraded a large project from VS2008 to VS2013, a large number of unit tests are now failing because the associated data file cannot be found. The original DataSource attributes were created by ...