<commit_before>## HOWTO execute the ARES TEST SUITE using Selenium IDE (selenese commands)

	
## Prerequisite

* Using Firefox, first, download the IDE from the SeleniumHQ downloads page <http://seleniumhq.org/download/>
* Firefox will protect you from installing addons from unfamiliar locations, so you will need to click ‘Allow’ to proceed with the installation
* When the download is complete, restart Firefox. After Firefox reboots you will find the Selenium-IDE listed under the Firefox Tools menu.

			
## Opening the IDE

* To run the Selenium-IDE, select it from the Firefox Tools menu. It opens with an empty script-editing window and a menu for loading, or creating new test cases.
* The toolbar contains buttons for controlling the execution of the test suite/test cases.
* The left-most button, Speed Control: controls how fast your test case runs. **This button needs to be positionned to slow**.


## How to run Selenium Ares Test Suite
* **Note:** Selenium distinguishes test cases and test suites. T
* When open an existing test case or suite, Selenium-IDE displays its Selenium commands in the Test Case Pane.

### Ares Test Suite

The selenium TestSuite for Ares is located `ares-project/test/selenium/xml-scripts`

	$ cd ./ares-project/test/selenium/xml-scripts
	$ ll
	total 120
	-rw-r--r--  1 mariandebonis  staff    495 29 jan 01:50 AresTestSuite
	-rw-r--r--  1 mariandebonis  staff  10438 29 jan 14:04 CheckTemplates
	-rw-r--r--  1 mariandebonis  staff   7998 29 jan 14:03 FileOps
	-rw-r--r--  1 mariandebonis  staff   4095 29 jan 14:03 HelloWorldPhoneGapSettings
	-rw-r--r--  1 mariandebonis  staff   2722 29 jan 14:03 HelloWorldPreview
	-rw-r--r--  1 mariandebonis  staff   4114 29 jan 14:03 NewProject
	
#### To run it

* Open under ares-project/test/selenium/xml-scripts/AresTestSuite file
  
  **Note: ** AresTestSuite is composed by the following TestCases; HelloWorldPreview, NewProject, FileOps, CheckTemplates and HelloWorldPhoneGapSettings.
  
* To run this AresTestSuite, click the Run All button (from the left of the IDE, 7th button) to run all the test cases in AresTestSuite, the currently loaded test suite.

## Contribution required to extend the Selenium TestSuite for Ares

Give to the Ares commiter(s) a chance to update the test wish list file (`ares-project/test/selenium/WISH-TESTS-LIST.md`) with new Test Case to implement.

The objective is to test the new controls coming with Ares commiter pull-requests.


<commit_msg>update specifying XML Formatter<commit_after>## HOWTO execute the ARES TEST SUITE using Selenium IDE 

**FYI:** The ARES TEST SUITE is written using IDE-API XML Formatter and Selenese commands.
	
## Firefox Prerequisites

* First, download the Selenium IDE Plugin (Record, edit and play Selenium tests) from the SeleniumHQ; <http://seleniumhq.org/projects/ide>
* Second, download the Selenium XML Formatter-IDE API (custome XML Formatter for Selenium-IDE) from; <https://addons.mozilla.org/en-US/firefox/addon/selenium-xml-formatter/?src=api>
* Firefox will protect you from installing addons from unfamiliar locations, so you will need to click ‘Allow’ to proceed with the installation
* When the download is complete, restart Firefox. After Firefox reboots you will find the Selenium-IDE listed under the Firefox Tools menu.

			
## Opening And Configuring the IDE

* To run the Selenium-IDE, select it from the Firefox Tools menu. It opens with an empty script-editing window and a menu for loading, or creating new test cases.
* Check "Enable experimental features" in Options > General, in order to be able to select Options > Formatter > XML Formatter (See **Note:** below)
* The toolbar contains buttons for controlling the execution of the test suite/test cases.
* The left-most button, Speed Control: controls how fast your test case runs. **This button needs to be positionned to slow**.

* **Note:** The Options > Formatter menu links to this article, describing why changing formats is disabled by default: <http://blog.reallysimplethoughts.com/2011/06/10/does-selenium-ide-v1-0-11-support-changing-formats>

## How to run Selenium Ares Test Suite
* **Note:** Selenium distinguishes test cases and test suites.
* When open an existing test case or suite, Selenium-IDE displays its Selenium commands in the Test Case Pane.

### Ares Test Suite

The selenium TestSuite for Ares is located `ares-project/test/selenium/xml-scripts`

	$ cd ./ares-project/test/selenium/xml-scripts
	$ ll
	total 120
	-rw-r--r--  1 mariandebonis  staff    495 29 jan 01:50 AresTestSuite
	-rw-r--r--  1 mariandebonis  staff  10438 29 jan 14:04 CheckTemplates
	-rw-r--r--  1 mariandebonis  staff   7998 29 jan 14:03 FileOps
	-rw-r--r--  1 mariandebonis  staff   4095 29 jan 14:03 HelloWorldPhoneGapSettings
	-rw-r--r--  1 mariandebonis  staff   2722 29 jan 14:03 HelloWorldPreview
	-rw-r--r--  1 mariandebonis  staff   4114 29 jan 14:03 NewProject
	
#### To run it

* Open under ares-project/test/selenium/xml-scripts/AresTestSuite file
  
  **Note: ** AresTestSuite is composed by the following TestCases; HelloWorldPreview, NewProject, FileOps, CheckTemplates and HelloWorldPhoneGapSettings.
  
* To run this AresTestSuite, click the Run All button (from the left of the IDE, 7th button) to run all the test cases in AresTestSuite, the currently loaded test suite.
* To run individually each TestCase, open it and click the "Play current testcase" (from the left of the IDE, 8th button).

## Your Contribution is required to extend the Selenium TestSuite for Ares

Give to the Ares committer(s) a chance to update the test wish list file (`ares-project/test/selenium/WISH-TESTS-LIST.md`) with new Test Case to implement.

The objective is to test the new controls coming with Ares committer pull-requests.



{'fraction_non_alphanumeric': 0.07354726799653079, 'fraction_numerical': 0.026539462272333045, 'mean_word_length': 4.066783831282953, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 7}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7522784', 'n_tokens_mistral': 1859, 'n_tokens_neox': 1660, 'n_words': 757}