This document describes a project to automate GUI testing using the iWAL library. It involves automating common ActiveX controls and developing a front end to load and run test scripts. The automation is done by accessing control properties like ID and name using iWAL wrapper functions. Applications like a calculator and grid are automated to demonstrate. A window application is created to run the automated tests and generate reports. Future research ideas involve enhancing network security verification and improving the iWAL library.
2. MindTree guides
Sandeep Agarwal (Vice President & Head, R&D Services)
Vishwanath Edavayyanamath (Sr. Technical Manager, R&D Services)
Shashidhara S G (Senior Technical Leader-R&D Services)
Adarsh Jain (Technical Specialist- R&D Services)
Roli Kumar (Senior Test Engineer - R&D Services)
Under the guidance of
Dr. Vijaya Kumar B.P HOD, dept of Comp Sc.)
.(
Mr. Mylara Reddy (Prof, dept of Info Sc.)
The proposed application is developed by
Ravi Kant Soni (B.E- Information Science & Engineering)
Swetha B R (B.E- Information Science & Engineering)
Roshni G N(B.E- Information Science & Engineering)
3. Project Objectives
To develop an automation bench using
iWAL where all the common controls and
some activeX controls are automated. To
develop a front end to load and run the test
scripts and master files that contain link to
one or more test scripts.
4. ABSTRACT
The proposed project GUI Testing
Automation involves the Automated testing of
the different applications developed using VC++
and COM.
Automation of common ActiveX controls and its
functionality like gridctrl, editbox, buttons, etc.
Automation of the controls is done using Active
perl / iWAL Library.
The idProperty & nameProperty is used for the
automation of the Different controls.
6. iWAL LIBRARY
iWAL (Windows Automation Library) is a framework
used for UI Automation Testing.
iWAL is a product of MINDTREE & is developed
using .NET and VC++.
iWAL provides a programmatic access to most user
interface elements on desktop.
iWAL provides wrapper functions to gather
information about UI and perform actions on control.
It is easy to integrate iWAL with any framework as it
is in the form of library file.
13. Interaction with activeX controls
ActiveX controls are embedded in the container
application .
Programmer uses wrapper classes of those
controls to call methods.
Create a message map for the parent window so
that it calls the wrapper class methods of the
control when it gets the message
No communication between the script and the
instance handle of that control. Instead parent
window is used.
16. Interaction with Common Controls
Find the instance handle of the control
Bring it to foreground (Enable it)
Send message to the window with parameters
Check the result
Display the result
31. The window-application contains all the previously
automated applications.
Window-application contains options of Run,
Add, Remove, Schedule, Reports, Help, Exit, etc..
To Run & schedule various automated applications
Generation of reports.
Send a report to mail using smtp-port.
45. Knowledge Gained
PROCESS LEVEL :
Learned how the project is planned and how the team
is prepared for doing project
Preparing documents in industrial level
Exposure on testing process
Formal communications with stakeholders
46. Knowledge Gained
TOOLS AND TECHNOLOGY:
Hold on scripting language such as PERL /C# has improved
Exposure to VC++ , MFC, ASP.NET, ADO.NET, SMTP-Port
Using Visual studio for programming using iWAL library
Automated testing process
ActiveX controls Interfaces and methods