Last change
on this file since 1339 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.5 KB
|
Rev | Line | |
---|
[1339] | 1 | Treats all files in a directory structure as HTML log files and parses them into event sequences and a GUI model. Also sub directories are parsed. |
---|
| 2 | |
---|
| 3 | The 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 | |
---|
| 5 | To 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 | <directory> path to the directory |
---|
| 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 | |
---|
| 13 | Example(s): |
---|
| 14 | parseDirHTML /path/to/directory |
---|
| 15 | parseDirHTML /path/to/directory sequences -clearId=table(htmlId=overview)/tbody[0]/tr |
---|
Note: See
TracBrowser
for help on using the repository browser.