Methods
(static) sendTourMessage(engine, messageType, hotspotIdopt, keyopt, shiftopt, ctrlopt, altopt)
Send Guided Tour messages mocking the app behaviour
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
engine |
Help4.engine.ur.UrHarmonizationEngine | ||
messageType |
string | activateElement|hoverElement|leaveElement|interactOnElement|hotkeyPress | |
hotspotId |
string |
<optional> |
hotspotId to target, optional for hotkeyPress |
key |
string | number |
<optional> |
not optional for hotkeyPress |
shift |
boolean |
<optional> |
|
ctrl |
boolean |
<optional> |
|
alt |
boolean |
<optional> |
- Source:
(static) start(engine)
start mock mode
Parameters:
Name | Type | Description |
---|---|---|
engine |
Help4.engine.ur.UrHarmonizationEngine |
- Source:
Throws:
Error
(static) startMigrationResponse(engine)
Set up Selector Migration message, mocking a response from the app for testing
works with HtmlGui_SidSelector and matches them with hotspotIds,
generates positional hotspots for other selectors.
Parameters:
Name | Type | Description |
---|---|---|
engine |
Help4.engine.ur.UrHarmonizationEngine |
- Source:
(static) startUI5(engine)
Send mock update message in UI5 application, this emulates a UI5-side implementation
Parameters:
Name | Type | Description |
---|---|---|
engine |
Help4.engine.ur.UrHarmonizationEngine |
- Source:
(static) stop(engine)
stop mock mode
Parameters:
Name | Type | Description |
---|---|---|
engine |
Help4.engine.ur.UrHarmonizationEngine |
- Source:
(static) update(engine)
Resend mock update message to engine with altered position
Parameters:
Name | Type | Description |
---|---|---|
engine |
Help4.engine.ur.UrHarmonizationEngine |
- Source: