Questions tagged [dataprovider]

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

497 questions
1
vote
0 answers

Parallel execution with data-provider-thread-count and thread-count

I have used DataProviders in my tests. I want to execute them in parallel[@DataProvider(parallel = true)]. When I give parallel = methods, data-provider-thread-count = 1 , thread-count =2. Total no of thread i want to execute at a given time is 2.…
1
vote
1 answer

Should React-admin's dataProvider apply formatting over the data?

The question is conceptual, should the dataProvider apply formatting over the data before returning it to react-admin's frontend, or dataProvider must play the role only for data fetcher and must always return the data in the format it comes from…
Ickata
  • 55
  • 1
  • 9
1
vote
1 answer

Run all test with same testdata

Reading testdata from excel file. Req: I want first my all test should run on same testdata ie. excel row, then all test with another row. Resolution: tries to use @Factory with my @DataProvider Issue: If I am using hardcore values in @dataProvider…
Vaibhav
  • 143
  • 1
  • 6
  • 14
1
vote
1 answer

@DataProvider + @Factory + Hashmaps

Facing compilation error when using @Factory with @DataProvider. Trying to map hashmap to my dataprovider, and want to run all my testcase with first testdata row then next, so trying to use @Factory HashMap < String, String testdata = new HashMap <…
Vaibhav
  • 143
  • 1
  • 6
  • 14
1
vote
1 answer

TestNg DataProvider not running all tests simultaneously but as batch

I am using the sauce lab for running selenium testNg java script where i have a single @Test method that accepts 250 distinct value from a @dataProvider of TestNG as input. Expected: To spawn 250 browser session parallel in saucelabs and execute the…
NX-
  • 19
  • 5
1
vote
0 answers

Yii2 - find page number by Object

I need you help. I trying to find right solution for my task. Imagen, I have a books id | name -------- 1 | book1 2 | book2 and books has chapters id | name | book_id ------------------- 1 | chapter1 | 1 2 | chapter2 | 1 There is page for…
Dan4ik
  • 45
  • 7
1
vote
1 answer

Firebird Data Provider and Entity Framework in Visual Studio 2010

I'm trying to use the Entity Framework with a Firebird database in Visual Studio 2010 Useful info: Windows 7 64-bit Visual Studio 2010 Ultimate Firebird 2.5.0 Firebird .Net Data Provider 2.6 DDEX 2.0.5 I've done: Installed Firebird server (and…
Linora
  • 10,418
  • 9
  • 38
  • 49
1
vote
0 answers

Running Selenium Webdriver tests with TestNG in parallel does not sent correct data to browser

I have two TestNG classes with one test method in each. Each test class has its own @Dataprovider. Each test executes functionality on a web application using Selenium Webdriver. The driver is created for each TestNG class via a factory method and…
1
vote
2 answers

Run entire test class with first row of dataprovider

Setup: I have a test class. This test class has several methods with @Test(dataProvider = "getData") annotation. There are 7 records (rows) in data. All tests are sequential. Problem: I need to run all methods (tests) with one row of data, but as…
paul
  • 4,333
  • 16
  • 71
  • 144
1
vote
1 answer

Setting dataProvider to a comboBox

When setting an arrayCollection as a dataProvider to a comboBox programmatically,if the arrayCollection has just one element,i need to do a small validation: > public resultHandler(event:ResultEvent):void{ arrColl =…
himanshu
  • 392
  • 3
  • 17
1
vote
1 answer

Passing data using dataprovider in PageObjectModel in TestNG

i have a scenario where in im calling a method(which has code to create workflow - defined in pages POM framework), i have written a generic method to get the data from excel file using dataProvider in testNG Now i have a @Test method which perform…
Raghu Hoskote
  • 117
  • 2
  • 14
1
vote
1 answer

Data Provider using excel sheet:I am providing data from excel sheet by using data provider but my code i code is not working

Here is my codes of test class,excel reader class,launch browser class and console #Excel Reader Class package com.utility; import java.io.FileInputStream; import java.io.FileNotFoundException; import…
1
vote
1 answer

How to call a parameterized method (using dataprovider) from a different class?

I am facing an issue wherein I have created a parameterized method that uses dataprovider. Both DataProvider and method and created in same class. Now, I want to call this method from another class but it requires parameters to be passed which I…
Swati Khandelwal
  • 195
  • 2
  • 2
  • 14
1
vote
1 answer

Oracle Data provider for .NET in visual studio

Newbi to oracle and its versions and .NET providers, but did some investigation. I'm trying to add Oracle connection to the visual studio server Explorer (before setting up the Entity Framework 6 for oracle). System preferences: Windows 10…
Guy E
  • 1,775
  • 2
  • 27
  • 55
1
vote
1 answer

Yii2 memcache with dataProvider

What is the right way to construct and update my key/value with dataProvider when the database is updated ? First i am finding all of the news from database. How should i add or update the value of my key/value pair ? I always have and never catch…
Jeni Vasileva
  • 768
  • 6
  • 26