Regarding Hybrid Framwork | Selenium Webdriver Tutorial with c# |Selenium C# training
10% July Month Discount Avail now

Selenium C# Training Forum

Regarding Hybrid Framwork

M
Moumeeta Das Post on 01/07/2019

Hi Gunjan

Completed session 15 of Module 18, How to run all the test cases at one go? If user have TestCase1, TestCase2 and he wants to be run both test case at a time then what I need to change in Test.cs dataSource? Do I need to call two times the getData () function??

public static object[] getData()
{
return DataUtil.getData(xls, "TestCase1");

}

 

public static object[] getData()
{
return DataUtil.getData(xls, "TestCase2");

}

 

if I do so then it prompts a message as Type 'Test' already defines a member called 'getData' with the same parameter Types.

 

Kindly correct me if I'm wrong.