source: trunk/autoquest-plugin-html/src/main/resources/manuals/parseHTML @ 1352

Last change on this file since 1352 was 1339, checked in by pharms, 11 years ago
  • added support for parameterizing the parsing of GUI models to ignore ids or indexes
File size: 1.4 KB
Line 
1Parses an HTML log file them into an event sequence and a GUI model.
2
3The parsing process can be parameterized. This allows to ignore ids or indexes of GUI elements in the log files. If they are ignored, the GUI model is more harmonized and GUI elements are considered equal although they are not. This may be helpful, e.g., if you have a table where each row is semantically the same. Without ignoring indexes or ids of the rows, each row is treated separately. But with ignored indexes or ids, all rows are considered the same.
4
5To ignore the indexes, add -clearIndex=<path to GUI element> as parameter to the command call. To ignore ids, add -clearId=<path to GUI element> to the command call. The path to the GUI element is written using the HTML tag names and either their index or their id as identification. E.g., to denote all rows in a table where the table has the id "table_1" you can specify "table(htmlId=table_1)/tbody/tr". To denote e.g. all divs being the child of a div with an index 1, you specify "div[1]/div". 
6
7$USAGE$
8<file> path to the file to be parsed
9[<sequenceNames>] array of sequences into which the parsed events shall be stored
10[<clearId>] used to define GUI elements of which the ids shall be ignored
11[<clearIndex>] used to define GUI elements of which the indexes shall be ignored
12
13Example(s):
14parseDirHTML /path/to/file.log
15parseDirHTML /path/to/file.log sequences -clearId=table(htmlId=overview)/tbody[0]/tr
Note: See TracBrowser for help on using the repository browser.