Task ID TK 000012
Release //ReferenceTasks/Generic Tasks
Task Title Dynamic Scripting
This task demonstrates the feature of making UI controls dynamic. This would mean that you can control the behaviour of the control at the time of execution dynamically depending on the value passed into it.
For this example, 1. A Web App “Clear_trip” for the site -cleartrip.com has been created in UI learn. 2. A Module - ‘New Module’ has been created under this app 3. Origin, Destination, DepartDate and Search flights, Flight controls are familiarized. 4. In Jiffy design, the UI control ‘Flights’ found under Repository – UI controls has been edited to make the following changes: a. Select ‘Type’ and change to DYNAMIC from STATIC b. Create a variable ‘flight’ as STRING
The task consists of: WebUI node in it.
1. Web Node
Properties Window | Value |
---|---|
1. Web App Configuration | ClearTrip_web |
Edit UI | Controls / Expression | Input Varaibles | UI Actions | Output Variables |
---|---|---|---|---|
1. SET SCREEN | NEW MODULE. | - | - | - |
2. UIEVENT | Origin (similar steps has to be performed for Destination, DepartDate | Input | - | BLR , BOM, 25/03/19 respectively |
3. UIEVENT | SearchFlights | - | Click | - |
4. UIEVENT | Flights | Air India / IndiGo | Get Text | IndiGo_price[0] |
5. Default Expression | DELAY In Seconds | (Number in Seconds) | - | - |
*Last step is optional
Option3's Automation capabilities featured in HfS Research's Hot Vendors List for Q3, 2018
Access your copy hereOption3
No. 1142, 6th Main,
Sector 7, HSR Layout, Bangalore
560102, India
Phone: +91 997 292 4056