A property of the Flex DataGrid and AdvancedDataGrid used to specify a data source.
Questions tagged [dataprovider]
497 questions
1
vote
1 answer
How do I access the dataProvider directly in react-admin?
How do I access the dataProvider directly in react-admin? I tried to use a custom dataProvider but I do not know how to use it. My goal is to show a list in the output using the map.
//Contacts.js
/// --- List ---
export const ContactList = (props)…

Iman Jalali
- 127
- 9
1
vote
1 answer
Ability to execute tests on data sets in a csv file 'in parallel'
I asked in my previous question if Karate is capable of executing tests on specific data sets (For instance, based on priority p0,p1) given in a csv file.
Now my second question is if Karate is capable of executing tests on specific data sets in a…

mrapp2
- 71
- 7
1
vote
2 answers
Karate - Ability to execute tests on a specific set of data in a csv file
I am on a team, presenting the advantages of Karate to move forward as the framework of choice for our API testing. However, I have come across a couple questions, in regards to data-driven testing.
I have gone through the documentation, csv files…

mrapp2
- 71
- 7
1
vote
3 answers
Flex 3: removing items from an array collection when the user clicks a button and reflecting that in a repeater
I have an arrayCollection with the following structure:
projectErrorsAC
0
project1number
project2number
position1number
position2number
project1name
project2name
student
1
…

Brds
- 1,035
- 3
- 17
- 37
1
vote
1 answer
Grouping input array by 2 values in order to create stacked bar using amchart
I'm preparing data for dataProvider using amchart to create stacked Column chart in JS like this https://www.amcharts.com/demos-v3/stacked-column-chart-v3/ but using only 2 values (plan and actual) in staked columns, i have the response of my…

Ddos_dev
- 13
- 1
- 3
1
vote
3 answers
Yii2 - dataProvider related models are not set
I have following SearchModel ComputerSearch, where I do a join for the query (I have to filter for a field of the related table):
class ComputerSearch extends Computer {
public function search($params) {
$query = Computer::find();
…

MiglyCH
- 49
- 5
1
vote
1 answer
Pagination in Yii2 Gridview when grouping is used for ArrayDataProvider entries
I use Yii2 Gridview (kartik-v/yii2-grid) with ArrayDataProvider. First columns are grouped using the 'group' => true directive. I would like to use pagination but also to keep grouped entries in the same page.
The default way of Yii2…

user9839468
- 31
- 1
- 5
1
vote
1 answer
Custom Data Provider using foreach yii2
I'm trying to create a custom dataProvider made out of Professor's id’s (teachers id’s). My site hosts information about teachers, courses, grades, etc. for schools.
ER model
The user Alumno (student) will see a gridview of it’s professors for each…

jc.reyes.suazo
- 35
- 8
1
vote
1 answer
How to run a test using a list of strings in data provider - Testng
I have a test which creates a record on a registration page by giving
Name, Phone Number, Primary mode of contact.
The goal is to test for the same phone number and mode of contact, but for different variations of name ( eg: for 3 names).
Test…

Ronnie
- 251
- 1
- 3
- 17
1
vote
0 answers
How to set row wise data in test innotation using dataprovider?
For UI part please click here For excel sheet click hereUnable to provide row-wise data in test cases.
I have tried below code. Data provider used for fetching the data from excel. Unlimited Data can be under excel sheet.
@DataProvider
…

Anuj Mishra
- 21
- 2
1
vote
2 answers
How to execute tests sequentially using TestNG and DataProvider
I am using @dataprovider TestNG annotation to pass different set of data. My TestNG class contains @BeforeClass, @DataProvider, three @Test methods(one test using dataprovider) and @After Class. Dataprovider contains 3 sets of data(username and…

Navaneeth Aliyath
- 53
- 1
- 5
1
vote
2 answers
DataProvider is not an annotation type
I am Using TestNG with Selenium WebDriver. I am trying to get the 'data provider' annotation working in my Eclipse IDE. However, after adding overring on the annotation showing error 0
DataProvider is not an annotation type
package…

Pramod Mewada
- 11
- 2
1
vote
2 answers
How to inject api-plaform's pagination filter on my custom dataprovider
I'm developing an application with symfony4, in which I'm using api-platform. I've created a custom dataprovider for a specific entity (Car for example). CarCollectionDataProvider returns all blue cars.

walidtlili
- 840
- 2
- 13
- 36
1
vote
2 answers
Is there any way to show my DataProvider values in TestNG report summary?
Basically, I am running my automation tests on LambdaTest Selenium Grid on multiple configurations. I have 7 test class files added in my testng test suite. I have passed my configurations such as browser, browser version, OS and resolution in my…

Ramit Dhamija
- 27
- 5
1
vote
1 answer
Does Python Pytest have anything similiar to Java TestNG DataProvider? How does Pytest Handle Excel Data?
Updated the question and code again to reflect recent changes. Amit I tried your suggestion and I encountered an error. Trying to get openpyxl to read date from each excel sheet in a workbook by passing a testname in, but it keep failing with can't…

seleniumappiumnewbie
- 209
- 2
- 11