Monday, June 3, 2013

How to Programe your Test in Selenium

Programming your Tests

There are essentially two tasks:

• Generate your script into a programming language from Selenium-IDE, optionally
modifying the result.

• Write a very simple main program that executes the generated code.

Optionally, you can adopt a test engine platform like JUnit or TestNG for Java, or
NUnit for .NET if you are using one of those languages.
Here, we show language-specific examples. The language-specific APIs tend to
differ from one to another, so you’ll find a separate explanation for each.
• Java
• C#
• Python
• Ruby
• Perl, PHP

No comments:

Post a Comment