Thursday, 31 January 2013

Selenium RC Introduction

Introduction

Selenium-RC is the solution for tests that need more than simple browser actions and linear execution.
Selenium-RC uses the full power of programming languages to create more complex tests like reading and writing files, querying a database, emailing test results.
You’ll want to use Selenium-RC whenever your test requires logic not supported by Selenium-IDE.
What logic could this be? For example, Selenium-IDE does not directly support:
=> condition statements
=> iteration
=> logging and reporting of test results
=> error handling, particularly unexpected errors
=> database testing
=> test case grouping
=> re-execution of failed tests
=> test case dependency
=> screenshot capture of test failures
Although these tasks are not supported by Selenium directly, all of them can be achieved by using programming techniques with a language-specific Selenium-RC client library.
In the Adding Some Spice to Your Tests section, you’ll find examples that demonstrate the advantages of using a programming language for your tests.

No comments: