際際滷

際際滷Share a Scribd company logo
GUI
TESTING
AUTOMATION
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)
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.
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.
Gui automation framework
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.
SOFTWARE REQUIREMENT SPECIFICATION
PLATFORM:
Windows OS
LIBRARIES:
Win32::GUI module (For Perl)
iWAL (For .NET)
TOOLS & SOFTWARE:
Microsoft Visual studio 2005
Crystal Reports
Active Perl
Winspy ++

HARDWARE:
Pentium IV , 3.2GHz
1 GB RAM
40 GB Hard Disk
Gui automation framework
System Architecture
Block Diagram ( Dialog Box )
// iWAL library
Block Diagram (Grid Application)
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.
WORK-FOLW OF WINDOW-APPLICATION
// iWAL library

DATA-BASE

Report button
to
Generate crystal report
WORK-FLOW FOR TESTING

OUTPUT

INPUT

Pass /
Fail

What is being Tested
( unit , module ,
subsystem ,

Compare

Application System)

Correct Output
Oracle
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
Gui automation framework
BAR CHART CTRL
CALCULATOR APPLICATION
TESTGRID APPLICATION
ADD  SUBTRACT  MULTIPLY - DIVIDE
Gui automation framework
AUTOMATION OF BARCHART CTRL USING iWAL
AUTOMATION OF CALCULATOR APPLICATION USING iWAL
AUTOMATION OF GRID APPLICATION USING iWAL
AUTOMATION OF ADD-MFC APPLICATION USING iWAL
AUTOMATION OF SUBTRACT-MFC APPLICATION USING iWAL
AUTOMATION OF MULTIPLY-MFC APPLICATION USING iWAL
AUTOMATION OF DIVIDE-MFC APPLICATION USING iWAL
Gui automation framework
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.
iWAL AUTOMATION WINDOW APPLICATION
BROWSE-BUTTON to browse an application for automation
ADD-BUTTON to add application in listbox for automation
RUN_BUTTON with multitasking to perform automation
RUN_BUTTON with multitasking to perform automation
SCHEDULE_BUTTON with multitasking to schedule automation
REPORT-BUTTON to generate CRYSTAL-report
SENDMAIL-BUTTON to send report to mail using smtp-server
iWAL AUTOMATION HELP PAGE
PROGRESS STATUS OF OVERALL WORK
100
90
80
70
60
Progress
50

Risks
Dependencies

40
30
20
10
0
Jan(from 14th)

Feb

Mar

Apr(upto 3rd)

Apr(upto 22)

May(upto 03)

May(upto 15)
Our future RESEARCH
work..
Research Idea 1

In the field of network, we
can verify many Nodes and
discard unauthorized access

#
Research Idea 2

Enhancement of iWAL library
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
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
Thank You
TEAM:
GUI
TESTING
AUTOMATION
河顎艶壊岳庄看稼壊...

More Related Content

Gui automation framework