SimpleTest includes a special form of test case, WebTestCase, for the testing of web page actions.
The WebTestCase includes facilities for navigation, content checks and form handling.
Running Web Test Cases
1. Values needed for web test cases
Go to the tests/CRM/web folder under your CiviCRM installation.
Then copy the CommonConst.php.txt file to CommonConst.php file
Add all the values to the CommonConst.php
2. Commenting and Uncommenting the test case Files.
Go to tests/ folder under civicrm installtion
Then comment and uncomment the test case files in WebTests() method in WebTests.php
3. Testing the Web Tests
Go to the /bin folder under civicrm installation
Then run the runTest.sh script.
Select the option for running web test.
Final log will be stored in /tests/Result folder under civicrm installation
