Do you have interest in glassfish Admin GUI with selenium and experience the differences between silk testt and Selenium tools
1. Run Selenium from the build If you build admin-gui module you can find the README.SeleniumRC file under the ../glassfish/admin-gui/tests directory. Just follow the instruction from the file, you should be able to setup and run Selenium JBI tests with Glassfish Admin GUI. If you encounter a failure from your browser, open selenium test case files under java directory and replace statement selenium.waitForCondition("Selenium.browserbot.isNewPageLoaded()", TIMEOUT_PERIOD) by selenium.waitForPageToLoad( TIMEOUT_PERIOD) 2. Run Selenium with Glassfish V2 binary bit 1. You must setup the environment by installing Selenium IDE on your Firefox browser 2. Having ant 1.6.5 and jdk1.5.0_11 or latest version installed on your system 3. Create a AdminGUITest directory on your system and copy the following 4 files to the ../AdminGUITest/lib directory selenium-server.jar , selenium-java-client.jar, selenium-java-client-driver-tests.jar and testng-5.5-jdk15.jar andjunit.jar 4. Copy the simple test harness (AdminGUITest.jar file) to your AdminGUI directory and unjar the file 5. Update build.properties file with your setup environment 6. Start the selenium remote server (assume you're using a window system) cd %AdminGUITest.home% java -jar selenium-server.jar 7. Start glassfish domain1 8. Run the first AdminGUI test case cd %AdminGUITest.home% ant run-test 3. Differences between SilkTest and Selenium
1 Comment
Rajesh
8/27/2011 08:50:56 pm
for me selenium always easy
Reply
Leave a Reply. |
AuthorI am Masud Parvez. Working as IT Senior Project Manager for RMIT University. Previously I built and run a distributed Test Center. My success was to turn that in to one of the most successful business units of the company. Categories
All
|