HelpWizard Pages HowTo/en: Unterschied zwischen den Versionen
Cg (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== HelpWizard Wiki Pages HowTo == embedded action links (executed by expecco): <nowiki>NewLauncher</nowiki> or: <nowiki>[http:/…“) |
Cg (Diskussion | Beiträge) |
||
(11 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
== HelpWizard Wiki Pages HowTo == |
== HelpWizard Wiki Pages HowTo == |
||
== Embedded Scenarios == |
|||
⚫ | |||
Insert a comment (after the headline - otherwise, mediaWiki removes the comment!): |
|||
<pre><nowiki> |
|||
<!-- |
|||
Scenario: |
|||
When project is not modified |
|||
Then create a new empty suite |
|||
When selenium library is not imported |
|||
Then import the selenium library |
|||
--> |
|||
</nowiki></pre> |
|||
<pre><nowiki> |
|||
<!-- |
|||
Scenario: name |
|||
--> |
|||
</nowiki></pre> |
|||
For the first example, the WizardActions.ets MUST contain corresponding step actions. |
|||
For the second example, it MUST contain a corresponding scenario actions. |
|||
Notice: all gherkin keywords must be upper-case-first (i.e. "Scenario", "When", "Then", etc.) |
|||
⚫ | |||
<nowiki>[[doit:"NewLauncher open"|NewLauncher]]</nowiki> |
<nowiki>[[doit:"NewLauncher open"|NewLauncher]]</nowiki> |
||
Zeile 8: | Zeile 33: | ||
will be executed by expecco when clicked. |
will be executed by expecco when clicked. |
||
Attention: wiki replaces blanks inside the doIt-string with underlines, |
<br>Attention: wiki replaces blanks inside the doIt-string with underlines, |
||
which are |
which are translated back by the helpWizard. |
||
Therefore: No underlines in the expression. |
Therefore: No underlines in the expression. |
||
also: ignore any red- |
also: ignore any red-links in the wiki: these links will definitely NOT be here. |
||
Try this: [[doit:"NewLauncher open"|NewLauncher]] |
Try this: [[doit:"NewLauncher open"|NewLauncher]] |
||
Zeile 22: | Zeile 47: | ||
== Tooltips == |
== Tooltips == |
||
Funktioniert aktuell nicht - sv muss tooltip extension installieren |
Funktioniert aktuell nicht - sv muss tooltip extension in mediawiki installieren |
||
-> https://www.mediawiki.org/wiki/Extension:SimpleTooltip |
-> https://www.mediawiki.org/wiki/Extension:SimpleTooltip |
||
Zeile 32: | Zeile 57: | ||
Back to [[HelpWizard Pages]]. |
Back to [[HelpWizard Pages]]. |
||
[[Category: HelpWizard Advanced]] |
Aktuelle Version vom 22. Juli 2018, 16:02 Uhr
Inhaltsverzeichnis
HelpWizard Wiki Pages HowTo[Bearbeiten]
Embedded Scenarios[Bearbeiten]
Insert a comment (after the headline - otherwise, mediaWiki removes the comment!):
<!-- Scenario: When project is not modified Then create a new empty suite When selenium library is not imported Then import the selenium library -->
<!-- Scenario: name -->
For the first example, the WizardActions.ets MUST contain corresponding step actions. For the second example, it MUST contain a corresponding scenario actions.
Notice: all gherkin keywords must be upper-case-first (i.e. "Scenario", "When", "Then", etc.)
Embedded action links (executed by expecco)[Bearbeiten]
[[doit:"NewLauncher open"|NewLauncher]]
or:
[http://doit/NewLauncher_open NewLauncher]
will be executed by expecco when clicked.
Attention: wiki replaces blanks inside the doIt-string with underlines,
which are translated back by the helpWizard.
Therefore: No underlines in the expression.
also: ignore any red-links in the wiki: these links will definitely NOT be here.
Try this: NewLauncher
Try this: NewLauncher
Example:
[[doit:"Transcript showCR:'hello world'"|'hello world' on Transcript]] -> 'hello world' on Transcript
Tooltips[Bearbeiten]
Funktioniert aktuell nicht - sv muss tooltip extension in mediawiki installieren
-> https://www.mediawiki.org/wiki/Extension:SimpleTooltip
use:
{{#tip-img: /path/to/your/image.png | image tooltip-text }}
Example:
{{#tip-img:| image tooltip-text }}
Back to HelpWizard Pages.