开发者

How to run test cases in MS Excel from Selenium IDE? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

开发者_如何转开发 Improve this question

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


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


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜