When you add keywords to a keyword-driven test or a keyword sequence in the
Keyword-Driven Test Editor,
Silk Central recommends existing keywords which you might want to use as the next keyword in your test. The recommended keywords are listed
on top of the keywords list, and are indicated by a bar graph, with the filled-out portion of the graph corresponding to how
much
Silk Central recommends the keyword.
Silk Central recommends the keywords based on the following:
- When you add the first keyword to a keyword-driven test or a keyword sequence,
Silk Central searches for similar keywords that are used as the first keyword in other keyword-driven tests or keyword sequences. The
keywords that are used most frequently are recommended higher.
- When you add additional keywords to a keyword-driven test or a keyword sequence, which already includes other keywords,
Silk Central recommends keywords as follows:
- If there are keywords before the position in the keyword-driven test or the keyword sequence, to which you add a new keyword,
Silk Central compares the preceding keywords with keyword combinations in all other keyword-driven tests and keyword sequences and recommends
the keywords that most frequently follow the preceding combination of keywords.
- If there are no keywords before the position in the keyword-driven test or the keyword sequence, but there are keywords after
the current position, then
Silk Central compares the succeeding keywords with keyword combinations in all other keyword-driven tests and keyword sequences and recommends
the keywords that most frequently precede the succeeding combination of keywords.
- Additionally,
Silk Central takes into account how similar the found keywords are. For example, if both the name and group of two keywords match, then
Silk Central recommends these keywords higher in comparison to two keywords for which only the name matches.