How to create your own Tellurium testing project with NetBeans 6.5(Beta)Prerequisites- Download NetBeans 6.5 Beta from the following location. Groovy support is bundled in.
http://www.netbeans.org/community/releases/65/ - Launch Netbeans.
- File > New Project.
- Java > Java Application > Next.
- Set the project details as shown below.
- Click Finish
- Project Properties > Library > Add Jar/Folder. (Add the jar files for seleinium java client, selenium server, junit and tellurium.)
- Click OK
- Create a Groovy class file (GoogleSearch) in the Source Package as shown below.
- Create a Java file (GoogleStartPageJavaTestCase) in the Test Package as shown below.
- Create TelluriumConfig.groovy file and place it under C:\workspace\GoogleSearch.
- Right Click on GoogleStartPageJavaTestCase > Run File.
- The Tellurium test will run and results in pass.
|