Hurix DigitalHurix DigitalHurix DigitalHurix Digital
  • Home
  • What we do
    • Digital Content Solutions
      • eLearning & Training Solutions
      • Higher Education Solutions
      • K-12 Content Solutions
      • Design, Animation & Video Services
    • Digital Content Transformation
      • Production Services
      • Pre Press & Editorial Services
      • Quality As A Service
      • Robotic Process Automation
    • Digital Engineering & Technology
      • Learning Technology Services
      • Managed Cloud Services
      • Custom Software Development
      • E-Commerce Solutions
      • Business Analysis as a service
    • Digital Platforms
      • Kitaboo
      • Kitaboo Insight
      • Kitaboo College
      • Learning Management System
  • Who we are
    • About Us
    • Life at Hurix
    • Careers
  • Who We Serve
    • Higher Education Institutions
    • K-12 Institutions
    • Enterprises
    • Publishers
    • Societies & Nonprofit Associations
  • Resources
    • Blog
    • Case Studies
    • How To Guides
    • Whitepapers
    • Point Of View
    • Awards
    • Press Releases
    • Podcast
  • Contact Us
flash automation

How to Use Selenium to Automate Flash & AngularJS Based UI

By Hurix | Digital Engineering & Technology | Comments are Closed | 13 May, 2019 | 1

Overview

At HurixDigital, we wanted to automate the Flash testing process for a client. Flash is outdated technology and requires a lot of manual effort to run each testing cycle. To do away with this laborious task, we decided to automate the Flash testing process.

Migrating all the applications from Flash to HTML platform is time-consuming. We conducted automated testing for flash-based applications to free up some resources for other tasks. However, automating Flash testing proved more challenging than we anticipated, as the tool required for automation – Selenium does not automate Flash-based applications. Our team of experts found a solution to this problem and successfully automated the testing process of Flash-based UI.

Business Requirement

Automate the Flash-based UI testing process for Kitaboo using Selenium

Challenges

Selenium has certain limitations. The main prerequisite for Selenium is that the website must be in HTML format. It does not detect Flash-based objects. But, the Kitaboo eBook creation platform was completely supported by Flash. This made it impossible to use this tool for Flash automation on Kitaboo. Moreover, Selenium does not support AngularJS, whereas the framework of Kitaboo Reader was made up of HTML and AngularJS.

  • Selenium does not detect/access Flash-based objects
  • Selenium does not support AngularJS

Hurix Solution and Approach

When the Hurix team initiated the Flash automation process for the flagship product Kitaboo, we faced certain challenges that hindered the automation process. In order to efficiently automate the testing process, we used Selenium — a well-known testing framework for web applications. The team wanted to use Selenium to execute the scripts for automated testing in a Flash environment. But, Selenium, unfortunately, does not support Flash, and the platform that was used for testing was entirely supported by Flash. To overcome this limitation, we used Sikuli and integrated it with Selenium.

Advantages of Sikuli over other tools used for Flash automation are:

  • Open source tool.
  • One of the biggest advantages of Sikuli is that it can easily automate Flash objects.
  • It makes it easy to automate windows application.
  • When you’re testing an application under development and you don’t know the ID/name of the elements, then you can go with Sikuli. It will check the appearance of the image and if a match is found, it will interact with the image accordingly.

Another major challenge that Selenium presented was that it did not support AngularJS. But we worked around the codes, rewrote the methods and classes and enabled Selenium to support AngularJS.

We put in place a debug process to identify errors and eliminate them. We captured error screenshots and merged them with error log descriptions into one spreadsheet, keeping all the error files at one place for easy access. In order to further enhance the debugging process, the team of coders also started recording the script execution process to identify the exact reason for the errors. This process gave us a better understanding of user activities and enabled us to be prepared with immediate solutions for similar instances in the future.

  • Used Sikuli (an open source automation tool) and integrated it with Selenium. Sikuli acted as a medium which helped Selenium to perform automated Flash testing.
  • A dedicated team of experts modified the scripts and created new ones and automated the AngularJS-based reader with Selenium.
  • Ensured that there’s an efficient debug process in place to detect and remove existing and potential errors.
  • Enabled coders to access the error files at one place and helped improve the error reporting process.
  • Recorded the script execution process to ascertain the exact reason for the errors, helping them to better understand the user activities and be prepared to address similar issues in future.

Key Benefits

  • Automated the AngularJS-based reader in-house. This was accomplished without the use of any external tools such as Cucumber, Protractor etc.
  • As Sikuli, a free tool was used to support the automation process, we could complete the automation at a low cost.
  • Minimized the manual efforts which were earlier required to execute the testing process.
  • Adherence to testing standards significantly increased the quality of the product and ensured that bug-free products are delivered to the clients.

We successfully automated Flash and AngularJS with the help of the in-house testing team, in a cost-effective and efficient manner. Automating the testing process helped reduce the manual efforts which were earlier required to test the applications. Also, as we used an open source tool for automation, we were able to complete the project at a low cost. With an effective debug process in place, the team was able to improve the quality of error reports and thereby deliver high-quality bug-free products. This entire process demonstrates HurixDigital’s ability to meet challenges and resolve them with their expertise and eventually deliver a product that meets client expectations.

Also read: How to Convert your Content from Flash to HTML5?

About the Author:

Aditya Ramji is a B.E. holder from RGTU. He has been working in the field of software testing for the past 7 years. He’s currently working for Hurix Systems as a Test Team Lead for client solutions. Aditya’s job role includes establishing a good understanding of the business of a client for effective service provision, providing clients with robust and well-designed applications, resolving client queries and issues along with creating test scripts with quality to act as a shield for regression bugs. When he’s not on the job, he loves to go hiking with friends, travelling to new places, and learning about the latest in technology.

You can connect with Aditya Ramji on LinkedIn

flash automation, flash automation with selenium, flash to html, selenium

Categories

  • Digital Content Solutions
  • Digital Engineering & Technology
  • Digital Products & Platforms
  • Digital Transformation Services
  • Higher Ed & K-12 Solutions

  • Whitepapers
  • How To Guides
  • Case Studies
  • The Role of RPA in Content Transformation
  • The Rise of VR and AR in Enterprise Learning
  • AI-Powered Learning – Transforming Employee Training Across Industries
  • Fast-tracking Flash to HTML5 Conversion – Modernization with a Purpose
  • Leveraging RPA for Flash to HTML Conversion
  • WCAG – The Road to Making Businesses Accessible
  • How to Design Learning Paths for Employee Training & Development
  • How to Choose the Right LMS for Your Business
  • How to Convert to Flash-based Content to HTML5
  • How to Create Custom eLearning Content for Every Budget
  • HurixDigital Converts XML Files to HTML and Publishes 250,000 Backlist Titles
  • HurixDigital Enables Content Ingestion with 100% Accuracy and Timely Delivery
  • HurixDigital Delivers Textbook and Online Solutions with 100% Content Accuracy
  • HurixDigital Optimizes a Student Assessment Platform, Improving its Performance and Saving Costs
  • HurixDigital Converts Classroom Courses to Interactive Online Content for Higher-Ed Students
  • Hurix Delivers Content that Meets WCAG & Accessibility Standards
  • HurixDigital Improves Performance & Scalability of its Cloud Platform to Meet a 40X Surge in Demand
  • HurixDigital Enhances the New Hire Experience with Interactive Games and WBTs
  • Hurix Creates Online Programs for Nursing & Allied Health Services on a Cloud Platform
  • HurixDigital Develops Interactive Digital Learning Objects for K12 Students to Improve the Learning Experience
  • HurixDigital Uses Selenium to Automate Flash and AngularJS Based UI
  • HurixDigital Develops a Fitness Assessment Application for Students & Professionals
  • Training Solutions for Pre-Sales Consultants
  • Hurix Delivers High Impact Video Training for a Global Furniture Giant

Services & Solutions

  • Managed Cloud Services
  • Flash To HTML5 Conversion
  • Custom Software Development
  • eLearning & Training Solutions
  • Pre Press & Editorial Services
  • Higher Education Solutions

Products and Platforms

  • Kitaboo
  • Kitaboo Insight
  • Kitaboo College
  • Learning Management System
  • ePUB3 Conversion

Resources

  • Blog
  • Case Studies
  • Press Releases
  • How To Guides
  • Whitepapers
  • Point Of View

About Us

  • Our Clients
  • Contact Us
  • Awards
  • CSR Policy
  • Privacy Policy
  • Cookie Policy
Copyright © 2022 Hurix | All Rights Reserved.
  • Home
  • What we do
    • Digital Content Solutions
      • eLearning & Training Solutions
      • Higher Education Solutions
      • K-12 Content Solutions
      • Design, Animation & Video Services
    • Digital Content Transformation
      • Production Services
      • Pre Press & Editorial Services
      • Quality As A Service
      • Robotic Process Automation
    • Digital Engineering & Technology
      • Learning Technology Services
      • Managed Cloud Services
      • Custom Software Development
      • E-Commerce Solutions
      • Business Analysis as a service
    • Digital Platforms
      • Kitaboo
      • Kitaboo Insight
      • Kitaboo College
      • Learning Management System
  • Who we are
    • About Us
    • Life at Hurix
    • Careers
  • Who We Serve
    • Higher Education Institutions
    • K-12 Institutions
    • Enterprises
    • Publishers
    • Societies & Nonprofit Associations
  • Resources
    • Blog
    • Case Studies
    • How To Guides
    • Whitepapers
    • Point Of View
    • Awards
    • Press Releases
    • Podcast
  • Contact Us
Hurix Digital
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Cookie settingsACCEPT
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.

SAVE & ACCEPT