Question

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

Was it helpful?

Solution

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.

OTHER TIPS

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/)

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top