All the controls that are recorded using Jiffy UI Learn get listed in UI controls tab. You can also manually add UI controls and edit the existing UI controls for any changes in the recorded control of the UI pages.
- Click the
icon on the attribute pane of the node.
- Select the UI Control option to display the UI Control tab.
UI Controls tab displays ID, Name, Created by, Updated On, Type, Mode, Module, and Action of each UI Control.
Create UI Control
- Click the
icon, to add a new UI Control.
Specify the following details in the Add UI Control window.
- Name: An intuitively appropriate name for the control.
- Module: All modules created in the HyperApp are listed. Select the required application from the drop-down.
- Type: Select the Type of UI control to be created, for example, Submit:WEB, Select:Web
Click the Save button.
Edit UI Control
Click the
icon against the UI Component you wish to modify:
- Edit the fields Description, Element Type, Module, and Closeness Percentage, as required.
- Change mode from Static to Dynamic, if required.
- Click the Save button.
Change Mode from Static to Dynamic
UI Controls can be of Static or Dynamic type.
- Static: Non-editable element captured as a constant value.
- Dynamic: You can enter desired value as variable during task design.
By default, mode of any UIControl is Static. You can change it to Dynamic in three ways from the Edit UIControl window:
- Select Dynamic from the Type drop-down.
- Click the + icon and enter the Variable Name.
- Enable Use Dynamic Script option.
- Write python script for the UI element in the Dynamic Script field, based on your requirement.
- Click the Make Dynamic option. Make Dynamic window opens.
- Enter Name of UI Control in the Target Text field.
- Enter an intuitively appropriate name in the Variable Name field.
- Click the SAVE button.
The UIControl is now dynamic. In Actions tab, you can enter the desired values as variables.
Mode of UI element One-way is changed to Dynamic and added Variable Name as TypeMode. In Actions tab, the value Two-way can be entered as variable.