Last Updated: Apr 27, 2020
The Web UI node is used to automate web-based applications.
Jiffy UI automation framework allows user to automate user interface pages for any application. Consider a scenario of automating a website.
To start with Web UI automation, the user needs to set the configurations of the web application first. To set the configurations, do the following:
To create a new Web Application, click on the New Web Application radio button.
Add the following details:
If the web application is open in two browsers (for example, Chrome and Internet Explorer), then an option will be given to select the desired browser.
Leave cluster name blank when the task is being executed using a Developer Bot.
Alternatively, the user can select any existing web application in the Web Application drop-down if it matches the criteria of the user.
Click on the CREATE & RECORD button to create the web application and begin recording the web application.
After the App and the Configuration are created, if the App name is SearchFlight, the name of the Configuration will be concatenated with the App name and type of UI automation. Eg: SearchFlight_Web
Alternatively, select any existing configuration in the Configuration drop-down if it matches the criteria of the user.
The user can also edit, copy or delete the existing configuration by clicking on the Edit, Copy and Delete icons displayed against each configuration, respectively.
The created confirguration will be listed in the Configuration tab.
After creating the web application, the steps for automation need to be recorded. Recording can be either of the following ways:
Click on the CREATE & RECORD button while creating a new Application.
After the recording begins, a Jiffy UILearn tab opens. Do the following to continue with the recording:The Developer Bot must be running while recording the web application. Read how to start the Developer Bot here.
On clicking the RECORD button, a floating window of Jiffy UILearn opens for recording the actions performed on the required fields in the web application based on the URL mentioned in the Configuration tab which will be captured as the UI controls.
Make sure that the website to be recorded is open in the browser before starting the recording. The UI Learn floating window can be minimized, maximized and closed using the buttons provided on the right top corner of the Jiffy UILearn floating window.
Give a name for the Screen Ex: Screen1
Learn the UI elements by placing the mouse pointer on the required field and then pressing the ctrl key. The selected UI element will be highlighted in Red colour.
The controls familiarized will be listed under the Screen1 screen. The names and actions of the controls can be edited as required.
For the Flight Booking application, click on One way, Flying from, Flying to, Departing, Close button of Date picker and Search options to record them.
To record different types of UI elements like image, text or table, click on the Other Recording button and choose the required option. Read Familiarizing UI Elements for more information.
Click on the Stop Recording button on the Jiffy UILearn floating window after recording is completed. The familiarized UI controls are listed under the Actions tab of the Web UI node.
Edit the lines of action that are recorded to finetune the performance of the web application as required. Read how to Design the web application.
Read about Variables and Table Definition to know more.
Refer to Excel-Web Automation sample task to know how to use Web node in a task.