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
0
votes
1 answer

how to refactor this multi-nested if else block

I have this kind of multi-nested if-else block. My understanding is that there is a 'data-driven' approach that can help eliminate the need for it and trim down the code, however, I'm not experienced with it in a large way yet, so can anyone help me…
0
votes
1 answer

Sending Data Driven Subscription to One email that has many parameter combinations

I have a sales report that is sent to every store on a schedule it has parameter store id and store key and is sent to store managers for their store. The problem is there are emails in the list for district managers and such that will have many…
NewGuy
  • 1,020
  • 1
  • 9
  • 24
0
votes
2 answers

How to bind XML data file in CodedUI? Example Program please?

This is my Data Source [DataSource("Microsoft.VisualStudio.TestTools.DataSource.XML", "|Data Directory|\\Input.xml", "testcase", DataAccessMethod.Sequential), TestMethod] When I execute this, I get the below error The unit test adapter failed to…
0
votes
1 answer

Data driven testing in Selenium using POI and TestNG ..code getting error

Using Selenium, I have written the below code to read data from an Excel sheet and key in an email and password into Facebook's login page. Error is Unhandled expression to use try/catch. How can I resolve this? package Excelpack; import…
0
votes
1 answer

SSRS 2008 won't let me override User!UserID with a data driven subscription

I have one SSRS report with two linked reports pointing at it. One is for users to click and view their data. Behind the scenes, I need it to pass User!UserID as a parameter and hide it. On the other report, I need to set up a data driven…
fr0man
  • 865
  • 3
  • 12
  • 27
0
votes
0 answers

Parenthesis in the data disappears when retrieved from excel using Selenium

I used the following code to retrieve data from an excel file using Selenium WebDriver. Data contains parenthesis in it, eg 'Golfo Dulce (Burica) Basin' I want to paste it in a text box. cValue = sheet.getRow(i).getCell(aCell+1).toString(); //…
0
votes
1 answer

Data Driven Subscription, only when a database value has been reached

I want a report to be sent to a recipient when a daily total is reached. The total is a static value, but the time the total is reached will vary each day. I have built my Report to show a value using a having clause, so it will show the value. Now…
0
votes
2 answers

WebDriver - how to pass object locator as parameter in data driven test?

I'm wondering if it's possible to pass locator as parameter in data driven test? For example: //this is non-parameterized object RADIO_BUTTON locator WebElement radiobElm = driver.findElement(RADIO_BUTTON); radiobElm.click(); vs.…
Russ
  • 15
  • 2
  • 5
0
votes
1 answer

SSRS Data Driven Subscription Won't Deliver to Distribution List

I'm using a data-driven subscription to deliver a report to both a main recipient and a distribution list with a BCC to myself, only if there's data in the report and only from 5AM to 5PM. Everything is working fine except that it's not delivering…
JeffK627
  • 56
  • 6
0
votes
1 answer

SSRS reports data drive subscriptions emailed intermittently

I have about 50+ reports being emailed to various users at various times throughout the day and night. However each morning when I check the emails that I should be receiving some of them are not emailed out. It's not the same reports that are the…
0
votes
1 answer

How to implement a config file to replace literal values in node.js Web App

I have a node.js project which has a lot of literal values which constantly change every 6 months. I have an idea which is simple but I am not sure or know how to implement it. I would like to replace these literal values with a config file which…
mosawi
  • 1,283
  • 5
  • 25
  • 48
0
votes
0 answers

My d3 scatterplot doesn't show on the graph

I have tried to work on my D3 scatter plot. And it seems like my data isn't showing on the graph itself. Any reasons why? And also.. i have set my x and y domain to certain limit. But when i zoom in, out.. it will still go beyond the limit. Here is…
0
votes
1 answer

data driven framework with java for drop down

I am creating data in excel for DataDriven framework.I am getting problem how to use that data if there is drop down. example- for Travelling site there is drop-down list of cites in arrival list If I am keeping all cites name in excel how to use…
Ravi Anand
  • 47
  • 1
  • 3
  • 12
0
votes
1 answer

Can We directly Run the Deployed Reports in ReportServer using RS.EXE or using Report Service Script file?

Using RS.EXE utility, I deployed my reports in ReportServer Successfully. I can run the deployed reports in my server manually. Is there any way to run the deployed reports using RS.EXE utility or using RSS file?
0
votes
1 answer

Run Data Driven Subscription (SSRS Report) for every one hour programmatically

Before i was trying to deploy the SSRS reports in Report Server.Now it was successfully deploy and got knowledge from this link. Now Again I need to send the report to my client every 1 hour. I m using Express Edition of SQL Server.so i can't do…
Yellow Flash
  • 862
  • 2
  • 10
  • 29