views:

371

answers:

4

How to run test cases in MS Excel from Selenium? Any books available to study Selenium test automation?

+1  A: 

Selenium is geared up for testing web applications, so i'm struggling to see what your requirements are, or why you'd want to use it with Excel (/shudder).

You might want to consider Sikuli (http://groups.csail.mit.edu/uid/sikuli/)

dannywartnaby
A: 

You cannot use Selenium to test MS Excel. That is, Selenium supports browser automation only, not automation of thick client apps, like Excel.

However, if you are talking about using MS Excel spreadsheets to data-drive your Selenium tests - that is, use Excel as input data for Selenium tests - that is possible.

Tom E
yeah whatever u say in the later part (i.e MS Excel spreadsheets to data-drive my Selenium tests) is right
Onnesh
A: 

Take a look at http://qasnippets.blogspot.com/

Paul
A: 

Since Selenium RC has APIs of several languages, e.g. java, PHP, ruby, c#...e.t.c
So what you can do is using "excel reader" API from the language you adapt (e.g. java), then feed the data into selenium APIs.
Furthermore, you can use test framework that have data provider (e.g. testng) that can read test data from external sources, e.g. csv, xml...e.t.c
FYR

Jim Horng