RE: Is it possible using two two excel file for executing a single testcase?

Answered

Respected All,

I have a problem, we can preform a data driven testing using single excel file but I want to perform data driven testing using two excel file for a single test case.

Till now I am not able to do so. please help me . It is very urgent.

biswajit Train Asked on November 13, 2014 in Selenium WebDriver.

Hello Biswajit

that’s really strange requirement i would say , why in any case you require test data from different excel sheet ?

always keep it simple:)

on November 14, 2014.
Add Comment
2 Answers

Replying on it with assumption that you are using testng for making your test data driven.

Per my knowledge I never face this kind of situation.
For a single test method there are not two dataprovider annotations.

But there is a work around that I have found. I think that may help you:
http://stackoverflow.com/questions/25549443/testng-using-multiple-dataproviders-with-single-test-method

Train Answered on November 17, 2014.

Hi Friend,

Thank you for you help and I will proceed with the example and let you know the updated soon.

on November 17, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.