Questions tagged [dataprovider]

A property of the Flex DataGrid and AdvancedDataGrid used to specify a data source.

497 questions
1
vote
0 answers

Dataprovider test is getting skipped, with below Error: DP.java uses unchecked or unsafe operations

public class YourTestClass { WebDriver driver; // You need to initialize your WebDriver @Test(dataProvider = "data-provider",enabled=true,dataProviderClass = DP.class) public void verifyUser_registration_login_logout_test(Method method,String…
Anjani Kumar
  • 396
  • 1
  • 5
  • 23
1
vote
1 answer

Data not refreshing when using actionscript to assign dataprovider

My problem is when I assign the dataprovider for a spark list using actionscript it does not automatically update the list. example: I have a list: < s:List id="fiterList" allowMultipleSelection="true" width="100%" height="100%"/> and I use…
user971169
  • 110
  • 8
1
vote
2 answers

New data is not passed from TestNG DataProvider to test on test retry

I am using TestNG @DataProvider for passing objects as test parameters and Retry class (that extends RetryAnalyzerCount) to retry failed tests. All is working fine except: if some of object properties were changed during test before it fails,…
1
vote
1 answer

react admin console Error: Unknown dataProvider function: toJSON

I'm facing an issue in react-admins ra-data-json-server. import jsonServerProvider from 'ra-data-json-server'; const dataProvider = jsonServerProvider('https://jsonplaceholder.typicode.com'); export default function App() { return ( …
1
vote
0 answers

Data provider must return Object[][] or Iterator

i have this error "Data provider must return Object[][] or Iterator" I use IntelliJ, maven, Java 11 Also, I have a problem with parsing JSON documents(related to byte codes), so, maybe it's related with "Data provider must return..."…
1
vote
0 answers

how to pass dataprovider data to multiple methods in same class

my requirement is data {"1"} pass to test1 method, data {"2"} pass to test2 method and each method execute one time only. Please help public void Dataread{ @DataProvider (name = "data"){ public Object[][] dataMethod(){ return new…
kumar
  • 11
  • 1
1
vote
1 answer

XtraPivotControl dataarea string?

How can I display string or text data into dataarea in XtraPivotcontrol devexpress, because as I can see there is only numeric,currency etc. datatype support?
star
  • 164
  • 1
  • 2
  • 13
1
vote
2 answers

On Gwt TreeViewModel getNodeInfo() method

I can't understand that part, neither trying the showcase examples. I'm using an extension of AsyncDataProvider to bind my tree to RPC service. Here's my method: public NodeInfo getNodeInfo(T value) { /* if (value instanceof…
Fabio B.
  • 9,138
  • 25
  • 105
  • 177
1
vote
4 answers

Text File DataProvider in .NET

I want to read/write my entities in flat text file, and due to huge amount of data, Serlization/Deserialization is not proper solution. Is there any data provider to work with text file data source (like csv,...)?
Amir Pournasserian
  • 1,600
  • 5
  • 22
  • 46
1
vote
0 answers

How to call an API in HTTPS with React-Admin data provider?

I'm new in the back-end world and I'm trying to create an admin backoffice with React-Admin, except that I have trouble choosing the dataProvider. I have a MySQL Express API, which I developed locally so I use Simple REST Data Provider, but it…
luck99
  • 31
  • 2
  • 5
1
vote
1 answer

Csv data pass Test method

I try to pass CSV data to my test method. This is my code: CSV file has 3 columns: TestNumber email FirstName UserData.java public class UserData { private String TestNumber; private String email; private String FirstName; …
1
vote
1 answer

BLToolkit custom data provider

Is there any examples of custom data provider for BLToolkit? I need MongoDB provider and InMemory data provider. For example, I am reading some records from xml or files, and need to show them through BLToolkit selections and queries.
Oleksii G.
  • 487
  • 5
  • 20
1
vote
1 answer

Unable to pass parameters on a xml file using Cucumber and TestNG

I've been having a hard time trying to pass parameters on a xml file using TestNG and Cucumber setup. The test does run in parallel but parameters are not being passed, returns null. According to SmartBear documentation, @Parameters should work but…
jimbacker
  • 31
  • 4
1
vote
2 answers

How to make list content dependant on selection in another list in Flex?

When a user selects a category from the first drop down box then i want the 2nd drop down to be updated based on the selection of the first drop down. I have created multiple ArrayCollections whose names are set to the "data" values of the first…
Cninroh
  • 1,796
  • 2
  • 21
  • 37
1
vote
4 answers

How to keep a list from scrolling on dataProvider refresh/update/change?

I have a simple list and a background refresh protocol. When the list is scrolled down, the refresh scrolls it back to the top. I want to stop this. I have tried catching the COLLECTION_CHANGE event and validateNow(); // try to get the component…
Richard Haven
  • 1,122
  • 16
  • 31