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.

  • 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 '15 at 18:49
  • Are you using Visual Studio? – FDM Jul 6 '15 at 11:33
  • yes i am using visual studio express version 2012. – Aman Sharma Jul 7 '15 at 5:34
2

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

  • 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. – Aman Sharma Jul 7 '15 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. – Niels van Reijmersdal Jul 7 '15 at 7:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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