Index: trunk/autoquest-plugin-html/src/main/resources/manuals/generateSeleniumReplay
===================================================================
--- trunk/autoquest-plugin-html/src/main/resources/manuals/generateSeleniumReplay	(revision 2028)
+++ trunk/autoquest-plugin-html/src/main/resources/manuals/generateSeleniumReplay	(revision 2028)
@@ -0,0 +1,53 @@
+This command is used to create test case files for Selenium firefox plugin according to the "sequences" created from command "parseDirHTML".
+Before using this command, please run command "parseDirHTML" first.
+
+Selenium test cases have a xhtml file template as following:
+----------------------------------------------------------------------
+<?xml version="1.0" encoding="${encoding}"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=${encoding}" />
+<link rel="selenium.base" href="${baseURL}" />
+<title>${name}</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">${name}</td></tr>
+</thead><tbody>
+<tr>
+	<td>${command}</td>
+	<td>${target}</td>
+	<td>${value}</td>
+</tr>
+</tbody></table>
+</body>
+</html>
+----------------------------------------------------------------------
+
+This template needs three basic parameters:
+	$encoding: encoding style, e.g. UTF-8
+	$baseURL: home page
+	$name: test case name
+and three parameters for each event:
+	${command}
+	${target}
+	${value}
+Commands are got from the "Event Type".
+Targets are got from the "Event Target" in terms of xPath.
+Values is got from the "Event Type".
+
+"Event Type" and "Event Target" are two attributes of events in sequences created from parseDirHTML.
+
+Usage:
+generateSeleniumReplay [sequenceName] <HTMLFilesFolder> <websiteBaseURL>
+sequenceName: optional. The name of sequences created from command "parseDirHTML". It should be the same as the sequences name specified in command "parseDirHTML". 
+				Default: sequences, which is the same as the default value of command "parseDirHTML"
+HTMLFilesFolder: required. The target folder to store created xhtml files, should be a already created folder.
+websiteBaseURL: required. The homepage URL of the target website.
+
+
+
+
+ 
