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

org.apache.poi.openxml4j.exceptions.InvalidOperationException: Can't open the specified file:

I am getting this error for Data Driven testing with excel.I have added 3.6 version of POI Jar.Below is the ERROR : org.apache.poi.openxml4j.exceptions.InvalidOperationException: Can't open the specified file:…
pratik
  • 59
  • 2
  • 3
  • 11
1
vote
2 answers

Data-driven vertical/horizontal lines in d3

I am attempting to draw a series of vertical lines on a d3 chart. The data source for this is a list of x positions (in the data) which is mapped through the x() scale function to give the correct position. At present this is implemented as a for…
mfitzp
  • 15,275
  • 7
  • 50
  • 70
1
vote
1 answer

SpecFlow - How to use data driven tests like NUnits TestCaseSource property?

I'm a QA who decided to use SpecFlow for my test automation after some consideration. I think it's brilliant, but missing one feature which I did use often with other test runners such as NUnit - something similar to the TestCaseSource property from…
chrisc
  • 434
  • 3
  • 9
1
vote
4 answers

Data-driven flag setting in derived class constructor

Say I have a base class with a flag inside of it which derived classes have to set: struct Base { bool flag; Base(bool flag):flag(flag) {} }; I want to configure which derived classes set the flag to true/false in a data-driven way - i.e.…
Luchian Grigore
  • 253,575
  • 64
  • 457
  • 625
1
vote
1 answer

Looking for data-driven security framework for .net

I am developing a kind of CRM system that needs to have a data-bas*ed security mechanism more then role-based security mechanism. For example, a certain user in the system can view all clients, update his own clients. So, a role based security…
SexyMF
  • 10,657
  • 33
  • 102
  • 206
1
vote
4 answers

Populating a drop down list dynamically in ASP.net, and passing that value to another query?

2 questions for everybody. 1) How can I order the years by their value, it crashes when I use DESC? 2) If I populate my list like so: string strConn = ConfigurationManager.ConnectionStrings["rde_410978ConnectionString"].ToString(); …
dev6546
  • 1,412
  • 7
  • 21
  • 40
0
votes
1 answer

How to write data driven tests using JUnit 3

I want to create test cases at runtime. The testcases will be created from some excel file and depending upon the values in excel. I know we have @Parametrized in JUnit4 but I cannot use JUnit4. Please suggest. Thanks
kunal
  • 11
  • 3
0
votes
2 answers

multi thread - ms test - data driven test

Background I have written a test suite in "mstest" which has a template XML. The test populates this template with data from my database and posts it to a web service. When the web service replies with a response, input XML data is compared with…
user602182
  • 139
  • 1
  • 9
0
votes
1 answer

How to implement UINavigationControllerDelegate to call web service for data driven app

In my app, I have 5 navigation controllers. One of the navigation controllers displays 3 view controllers sharing the same data (from a Sqlite database). The only difference is that they present the data in a different way : ViewController 1 =…
l_r
  • 1,060
  • 12
  • 23
0
votes
1 answer

SSRS Data Driven Subscription - Specifying Render format within Query

I have a need to send the same subscription to different people in different format. I have the data driven subscription query working correctly. Some users need the report rendered and emailed as a PDF and some need it as Excel. So I simply have a…
Harry
  • 2,636
  • 1
  • 17
  • 29
0
votes
0 answers

Need to change the datasource of Data-Driven subscription using powershell

I need to change the datasource of multiple ssrs data-Driven subscriptions using PowerShell. I have this code which can get the properties of data-Driven subscription but I need to fetch the datasource details first and then change it to also. Here…
0
votes
2 answers

how to maintain data driven styling defined heatmap radius size with zoom level in Mapbox gl js

Mapbox gl js error message says: "expressions are not allowed in function stops". I am trying make heatmap radius, whose size is defined by data driven styling. At the same time, the size of radius need follow the zoom level. Any workaround…
mindsc
  • 3
  • 2
0
votes
0 answers

How to get tags from excel and run the cucumber feature file using the tags retrieved from excel

package Runner; import org.testng.annotations.AfterSuite; import org.testng.annotations.BeforeSuite; import io.cucumber.testng.AbstractTestNGCucumberTests; import io.cucumber.testng.CucumberOptions; import utilities.ExtentManager; import…
0
votes
1 answer

Write each test result to excel file by Python, pytest

I would like to write each test result to excel file. I am using data-driven by pytest to execute all rows in worksheet. But I don't know how to write the test result to each row. Had someone similar experience? May you give advice? Thanks very…
yanny
  • 11
  • 1
  • 2
0
votes
1 answer

Python (back-end) and Kotlin (front-end) for Android

Ok I was doing some data science in python over the weekend and I got to looking at python for mobile development. I was curious as to if it's possible to use both Python (back-end) and use Kotlin (front-end) together? I know python is a non GUI…
Camp Nerd
  • 327
  • 1
  • 11