Each action in your test has specific settings, flags, and information associated with it. You can access the Action Settings for any action from both the Test Details page and the Slider View.
Access Action Settings via Test Details Page
- Open the Test Details Page:
- Navigate to the Test Details page for your test.
- Expand Action Details:
- Click the Action banner to expand the Action Details.
- Action Settings Overview:
- From the Action Details, each action will display:
- Settings Tab: Basic settings for the action.
- Advanced Tab: Contains advanced options.
- Fail Action Manually Button: Manually fail the action.
- Delete Action Button: Delete the action.
- Local Edit Button: Open local edit for the action.
- Clone Action Button: Clone the action.
- From the Action Details, each action will display:
- Advanced Tab Options:
- On the Advanced tab, in addition to the buttons mentioned above, you will find:
- Advanced General Options
- Miscellaneous Options
- Runtime Timeout Settings
- Pre Script Field: Add scripts to run before the action.
- Post Script Field: Add scripts to run after the action.
- On the Advanced tab, in addition to the buttons mentioned above, you will find:
- Save Adjustments:
- Make necessary adjustments to your actions and click Save.
Access Action Settings via Slider View
- Open the Test Details Page:
- Navigate to the Test Details page for your test.
- View Results:
- Click the View Results button at the top of the page or the View button to the right of any action.
- Access Action Settings:
- Click the gear icon on any action along the left slider panel.
- Settings Pop-Up Window:
- The Settings pop-up window for each action will display:
- Settings Tab: Basic settings for the action.
- Advanced Tab: Contains advanced options.
- Fail Action Manually Button: Manually fail the action.
- Delete Action Button: Delete the action.
- Local Edit Button: Open local edit for the action.
- Clone Action Button: Clone the action.
- The Settings pop-up window for each action will display:
- Save Adjustments:
- Make necessary adjustments to your actions and click Save.
Summary
By accessing the Action Settings via the Test Details page or the Slider View, users can customize and manage their test actions efficiently. This includes modifying basic and advanced settings, adding pre and post scripts, and performing actions such as failing, deleting, editing, and cloning test actions.
Input Action Focus Management Setting
The Functionize Input Action is used to enter test data into an input field within the application under test (AUT). This Action Type has numerous action-level settings to fine-tune control of the test action. One of the settings under the Action Details > Settings TAB is called "Don't lose focus".
Don't Lose Focus Checkbox
Don't Lose Focus Checkbox ON
- This action-level setting is ON by default for Input Actions.
- This keeps the mouse/cursor in the specific field where the test data was entered.
- Example: When the "Don't lose focus" setting is ON, the test will not find the error message since the Email field keeps the focus.
Don't Lose Focus Checkbox OFF
- Functionize recommends turning this setting OFF if your application requires a field to lose focus to trigger a message or process that you may need to test.
- For example, in a Salesforce app, the error message about 'You have entered an invalid format' for the Email field only appears after the field loses focus.
- Example: When the "Don't lose focus" setting is OFF, the test will find the error message since the Email field loses focus, allowing the message to appear.
How to Configure the Don't Lose Focus Setting
- Open the Test Detail Page: Navigate to the test case you want to edit.
- Expand the Action: Locate the Input Action and expand it to see the Action Details.
- Access Settings TAB: Click on the Settings TAB within the Action Details.
- Toggle Don't Lose Focus Checkbox:
- To keep the focus on the input field, ensure the checkbox is checked.
- To allow the input field to lose focus, uncheck the checkbox.
By adjusting the "Don't lose focus" setting, you can ensure that your tests accurately simulate user interactions and validate the necessary UI behaviors, such as error message displays.
Encrypting Input Action Values
Functionize offers the option to encrypt specified Input Action text values and decrypt the values as needed during test executions. This information will be encrypted and hidden in your test's execution screenshots and the data will not be saved as plain text in execution logs.
Note: Encrypting a value in an existing test will not reflect on any previous executions of the test.
The Input Action can be encrypted using two different ways:
- From the Architect
- From the Test Details Page
Input Encryption in Architect
- Launch Architect and begin recording a new test
- Enter text into an input field on the website
- Click the white circle to open the Architect Action Detail sidebar panel
- Select the Encrypt checkbox and click Save
- The input text will not be masked while you record the test or in the Architect screenshots, the encryption will take effect when the test is executed
- The Input Action's element details include a 'true' value for the Encrypt attribute
Input Encryption in Test Detail Page
- Open the Test Detail page for a test case
- View the encrypted Input Action with the masked value
- Open the Action Settings and note that in the Settings tab, the Input value is masked
- Open the Advanced tab to see the option to uncheck Encrypt for that actionNote: Changes made to the Encrypt status of an Input Action will not be reflected in screenshots until the test has been executed again.
Input Encryption in Slider View
- Open the Slider View for your test via the View Results button at the top of the Test Details page or any View button to the right of any action
- In the side panel of actions on the left, the input value is masked, in the footer, the Attribute's value is masked in each state and in the main view, the input field is obscured for the Current screenshot
- While the value is masked in the action, footer and current screenshot - the Architect recording screenshot will display the text unaltered
- As on the Test Detail page, the Action Settings displays the masked Input value and the Advanced tab has the option to select or deselect the Encrypt checkboxNote: Changes made to the Encrypt status of an Input Action will not be reflected in screenshots until the test has been executed again.
Executing Tests with Encrypted Values
During Live Execution or Live Debug runs, the value is masked in the sidebar panel of an action on the left and the input field is obscured when the value is entered.
Sharing Execution Results with Encrypted Values
- Click the Share button on the right to send a link to a read-only view of the last run test results
- Only the masked value can be seen in this version, the Action Settings can also be viewed, but not altered
- Click the View Results button at the top of the Test Details page or any View button to the right of any action to see the read-only results in Slider View, as with the Test Detail page, only the masked value is visibleNote: In addition, the read-only view does not include the option to view screenshots from Architect or Previously Successful Runs.
Items of Note
- If an encrypted value is used as Data via Previous Action, that value will NOT be encrypted automatically
- If the encryption status is changed in Test Detail page or Slider View, the test must be executed again to see the updated result - in the example below, the Encrypt was on during the execution and then turned off via Action Settings while viewing the resultsNote: that the sidebar panel of actions on the left and the footer include the plain text while the screenshot displays the obscured field.
- Functionize makes the Best Effort to obscure the input field based on the Encrypt action settingNote: This encryption cover on screenshots will not persist if your test navigates to another page and returns to the input field page on a later test action.Note: If you need the input field obscured during multiple sections of your test, you can add custom JavaScript to the affected actions to obscure the field. Please contact us if you need help in this area.