The jQuery.sap.support
namespace is the central entry point for the Support Assistant functionality.
jQuery.sap.support
reveals an API for the Support Assistant which you can easily work with to analyze an application.
jQuery.sap.support.addRule
method allows adding a new rule. jQuery.sap.support.analyze
starts the analysis of the application. jQuery.sap.support.getAnalysisHistory
, jQuery.sap.support.getLastAnalysisHistory
or jQuery.sap.support.getFormattedAnalysisHistory
. For more information, see Support Assistant API.
Node | Description |
---|
Method | Description |
---|---|
jQuery.sap.support.addRule |
Adds new temporary rule when in silent mode
since: 1.60.0 Please use sap/ui/support/RuleAnalyzer instead.
|
jQuery.sap.support.analyze |
Main method to perform analysis of a given running application. Allows to choose a particular execution scope - desired part of the UI to be checked and a flexible way to specify the list of rules to be used.
since: 1.60.0 Please use sap/ui/support/RuleAnalyzer instead.
|
jQuery.sap.support.getAnalysisHistory |
Returns the history of all executed analyses.
since: 1.60.0 Please use sap/ui/support/RuleAnalyzer instead.
|
jQuery.sap.support.getFormattedAnalysisHistory |
Returns the history of all executed analyses into formatted output depending on the passed format.
since: 1.60.0 Please use sap/ui/support/RuleAnalyzer instead.
|
jQuery.sap.support.getLastAnalysisHistory |
Returns the result of the last analysis performed.
since: 1.60.0 Please use sap/ui/support/RuleAnalyzer instead.
|
Adds new temporary rule when in silent mode
Param | Type | DefaultValue | Description |
---|---|---|---|
oRule | Object |
Settings for the new rule. For detailed information about its properties see Rule Property Values |
Main method to perform analysis of a given running application.
Allows to choose a particular execution scope - desired part of the UI to be checked and a flexible way to specify the list of rules to be used.
Param | Type | DefaultValue | Description |
---|---|---|---|
oExecutionScope | object |
The execution scope of the analysis (see Execution Scopes). |
|
type | string | "global" |
Possible values are |
parentId | string |
ID of the root element that forms a subtree. Use when the scope is not |
|
vPresetOrRules | object string object[] | All rules |
This optional parameter allows for selection of subset of rules for the analysis. You can pass:
|
Returns the history of all executed analyses.
Param | Type | DefaultValue | Description |
---|
Returns the history of all executed analyses into formatted output depending on the passed format.
Param | Type | DefaultValue | Description |
---|---|---|---|
sFormat | sap.ui.support.HistoryFormats | sap.ui.support.HistoryFormats.String |
The format into which the history object will be converted. Possible values are listed in sap.ui.support.HistoryFormats. |
Returns the result of the last analysis performed.
Param | Type | DefaultValue | Description |
---|