Wednesday, 17 July 2013

Executing PHPUnit Selinium Test Cases

Run Selenium Server
  1. Open Command Prompt 
  2. Goto the path of Selenium JAR File (Example: selenium-server-standalone2.28.0.jar)
  3. Execute java -jar <PATH OF selenium-server-standalone2.28.0.jar> 
          Example:  c:/java -jar Program_Files/Java/bin/selenium-server-standalone2.28.0.jar

 Execute Selenium Auto Test Cases 
  1. Open Another Command Prompt
  2. Execute phpunit--log-junit <LOGFILENAME.XML> <PHPUNITTESTCASES_FILE>
          Example: c:/phpunit --log-junit aboutus_test_results.xml mysiteaboutus.php

No comments:

Post a Comment

Thank you so much for providing your valuable feedback. I will will look into them and update my skills & technologies accordingly.