...
Widget Connector | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Masking Selenium
...
Variables
When command values contain sensitive information, they can be masked by using the apica Prefixesan Apica-specific prefix. This will prevent prevents the value from being displayed in results.
Example
Let’s assume you use Assume a scenario with contains the following commands:
Command | Target | Value | |
---|---|---|---|
open |
| ||
selectWindow |
| ||
type |
|
| |
type |
|
| |
clickAndWait |
|
If you want It is possible to mask the value secretPa$$word
in the Check Result page the following steps are required:
...
by adding the Store
command to store the password as a variable with the prefix maskapica
...
, then using that variable in the actual command which uses the password.
Your commands should now look like thisThe scenario will contain the following commands after the value secretPa$$word
is masked:
Command | Target | Value | |
---|---|---|---|
store |
|
| |
open |
| ||
selectWindow |
| ||
type |
|
| |
type |
|
| |
clickAndWait |
|
When Synthetic Monitoring runs a check using this scenario the result will be saved with the executed scenario commands list as the example above. When Synthetic Monitoring shows the check result on the check results page Synthetic Monitoring will recognize that there is a command value which starts with maskapica
.The is run with a scenario which utilizes a command which contains maskapica
, the the command’s target will be masked on the the check results page:
Command | Target | Value |
---|---|---|
store |
|
|
open |
| |
selectWindow |
| |
type |
|
|
type |
|
|
clickAndWait |
|
...
The command value is shown in Details in the Details Result Scenario in the Value column.
Example
Command | Target | Value |
---|---|---|
|
|
|
...
When the "maskapica" prefix is used in a command value, the web performance monitor will store the command target (the example Target below is '$(ExternalPassword) ') as is in the result but will mask it (as the example Value below, “maskapicaPassword“) on the check result page.
Example
...
Limitations of Selenium IDE within ASM Scenarios
...