Hi Krishantha,
Thanks for the reply. Will do as you have suggested.
Thanks,
Malithi.
On Mon, Oct 27, 2014 at 3:12 PM, Krishantha Samaraweera wrote:
> Hi Malithi,
>
> Data provider returns array objects in order they specified in the array.
> To overcome to problem, can you use dependsOnMethods
Hi Malithi,
Data provider returns array objects in order they specified in the array.
To overcome to problem, can you use dependsOnMethods annotation [1] and
make your test method sequence well defined.
Seems like 'group-by-instances' is introduced in latter version of TestNG.
We are still using
Copying Krishantha
On Wed, Oct 22, 2014 at 6:10 PM, Malithi Edirisinghe
wrote:
> Hi,
>
> I am creating tests dynamically with @Factory annotation for various set
> of parameters with the use of a data provider. I want these tests to be
> executed exactly in the order of the array of objects retu
Hi,
I am creating tests dynamically with @Factory annotation for various set of
parameters with the use of a data provider. I want these tests to be
executed exactly in the order of the array of objects returned by the data
provider method.
Ex:
@Factory(dataProvider = "dp")
public FactoryDataProv