Location: PHPKode > projects > phpautotest > includes/phpautotest_config.php
<?php
// $phpautotest_install_path is very very important, if it is not set correctly phpautotest will not work. Remember to add a '/' at the end.
$phpautotest_install_path = '';

// Database connection information
$phpautotest_db_location = '';
$phpautotest_db_username = '';
$phpautotest_db_password = '';
$phpautotest_db_name = '';
$phpautotest_table_cases = 'cases';
$phpautotest_table_page = 'page';
$phpautotest_table_test_results = 'test_results';

// This is the password to be supplied before phpautotest begins execution
$phpautotest_password = '';

// This variable is used by record_page to tell its caller that it finished executing successfully.
$success_text = md5('COCOCOC');

// List of errors
$phpautotest_error['restricted_area'] = 'Access Denied. you are trying to access an area that requires a password. Click <a href = \'login.php\'>here</a> to log in.';

// List of messages
$phpautotest_message['login_failure'] = 'The password you entered was incorrect.';
$phpautotest_message['logout_success'] = 'You were logged out successfully.';
$phpautotest_message['logout_failure'] = 'Log out failed. You are not logged in.';
$phpautotest_message['test_update_success'] = 'Tests for this page were updated successfully.';
$phpautotest_message['no_test_cases'] = 'No snapshots were recorded.';

// Sample php_test_code for pages
$php_test_code_template = '
if($expected[\'%s\'] == $actual[\'%s\'])
{
	$report .= \'<br>$%s value as expected\';
}
else
{
	$report .= \'<br>$%s value not as expected\';
}
';
$php_test_code_template = mysql_escape_string($php_test_code_template);
?>
Return current item: phpautotest