1

I am new to automation (Selenium ). I am working as manual tester and recently got a task related to selenium automation.

I have basic knowledge of selenium and very good knowledge of C#. I can create a simple test in Selenium like login, check mail, send mail etc., but all this is in one page and has no input from excel.

I need a framework that takes input from and compares expected results with excel data. I can change example code according to my needs.

3
  • It sounds like you are using excel to manage test cases and expected results. Have you looked at frameworks like specflow to manage your tests? That way everything is managed in the code and you don't have to load from external files
    – GKS1
    Jul 1, 2015 at 18:49
  • Are you using Visual Studio?
    – FDM
    Jul 6, 2015 at 11:33
  • yes i am using visual studio express version 2012. Jul 7, 2015 at 5:34

1 Answer 1

2

Just use an Excel library to load data from Excel files and use that data in your Asserts?

2
  • thanks for the answer but i have already wrote a code to read and write in excel file , I am asking for some sample selenium framework. Jul 7, 2015 at 5:37
  • 2
    There is not known framework that does this. I think its up-to your self to write some classes that combine Selenium and Excel as you wish, this should not be to hard. Also I do not think many people combine Excel and Selenium as it is unhandy to separate test-step-data from the tests, since it makes them harder to read in code. Jul 7, 2015 at 7:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.