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.

Kate Paulk
31.5k8 gold badges56 silver badges109 bronze badges
asked Jul 1, 2015 at 10:58
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 Commented Jul 1, 2015 at 18:49
  • Are you using Visual Studio? Commented Jul 6, 2015 at 11:33
  • yes i am using visual studio express version 2012. Commented 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?

answered Jul 1, 2015 at 11:05
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. Commented 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. Commented Jul 7, 2015 at 7:10

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.