7. Web Automation


Jiffy UI automation framework allows user to automate user interface pages for any application. Consider a scenario of automating a website.

UI automation is a 2 step process

  • Step1: Familiarizing the elements to be automated.
  • Step2: Designing task using the familiarized elements.

Step1: Familiarizing the elements to be automated

Jiffy Familiarization application is a desktop client that enables users to familiarize the UI objects of an application. Once familiarized, the UI objects are saved in repository and can then be used in task design steps. As part of familiarization, Jiffy captures required information about the UI object and allows user to modify the properties. Object familiarization is a one time activity. Saving these objects to server allows the users to use for respective automation scenarios. These familiarized controls are saved in Jiffy under Repository > UI controls.

Below video demonstrates the process of familiarization for web application.


Step2: Designing task using the familiarized elements

The controls have already been familiarized using JiffyUILearn application and using these controls we design the task. This video demonstatres how a task is designed using the web node.


Dynamic UI controls

Making the controls dynamic
JIFFY facilitates user with an option to make the UIcontrols dynamic. This can be achieved by editing the UIControl from JIFFY repository.
When are dynamic controls needed?
Consider the below example

CleartripUIControlDynamic
In this web page, if user wants to select the radio button dynamically to select the mode of travel then one control(for example round trip) has to be familiarized and that variable has to be made dynamic.
Please refer the video below for making a control as dynamic.


2. Dynamic Scripting
JIFFY provides option to write a dynamic script for automating a control. This can be achieved by writing a script in the UIcontrol > Dynamic script section.

When is Dynamic scipting needed?
Consider the below example
Dynamic Scpit Example

In this web page, if user wants to click on view button based on the Request type then he needs to write a simple script in python language where user gets an option to input the request type and based on that, the view button can be selected. Sample scipt is shown below.

Dynamic Scripting

Now a new capability of retaining the web application session across the nodes is added. When web automation of a website is split across multiple web nodes, then the later node could continue the web session from where it is left out.

Did you find what you were looking for?

Automation Analytics and AI in a box

Contact Us

HfS Hot Vendor

Option3's Automation capabilities featured in HfS Research's Hot Vendors List for Q3, 2018

Access your copy here