gui automation framework
DESCRIPTION
Gui automation framework using MFC.net. It is an automation bench where all the common controls and some activeX controls are automatedTRANSCRIPT
![Page 1: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/1.jpg)
WELCOME
GUITESTING
AUTOMATION
![Page 2: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/2.jpg)
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)
![Page 3: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/3.jpg)
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.
![Page 4: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/4.jpg)
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.
![Page 5: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/5.jpg)
iWAL LIBRARY
![Page 6: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/6.jpg)
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.
iWAL LIBRARY
![Page 7: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/7.jpg)
SOFTWARE REQUIREMENT SPECIFICATION
PLATFORM:
Windows OS
LIBRARIES:
Win32::GUI module (For Perl)
iWAL (For .NET)
![Page 8: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/8.jpg)
TOOLS & SOFTWARE:
Microsoft Visual studio 2005Crystal ReportsActive PerlWinspy ++
HARDWARE:
Pentium IV , 3.2GHz1 GB RAM40 GB Hard Disk
![Page 9: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/9.jpg)
WORK FLOW DIAGRAM
![Page 10: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/10.jpg)
System Architecture
![Page 11: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/11.jpg)
Block Diagram ( Dialog Box )
// iWAL library
![Page 12: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/12.jpg)
Block Diagram (Grid Application)
![Page 13: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/13.jpg)
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.
![Page 14: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/14.jpg)
WORK-FOLW OF WINDOW-APPLICATION
DATA-BASE
Report buttonto
Generate crystal report
// iWAL library
![Page 15: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/15.jpg)
What is being Tested
( unit , module , subsystem ,
Application System…)
INPUT OUTPUT
Oracle
“Correct” Output
“Compare”
Pass / Fail
WORK-FLOW FOR TESTING
![Page 16: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/16.jpg)
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
Interaction with Common Controls
![Page 17: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/17.jpg)
MFCAPPLICATIONS
FOR GUI-TESTING
![Page 18: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/18.jpg)
BAR CHART CTRL
![Page 19: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/19.jpg)
CALCULATOR APPLICATION
![Page 20: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/20.jpg)
TESTGRID APPLICATION
![Page 21: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/21.jpg)
ADD – SUBTRACT – MULTIPLY - DIVIDE
![Page 22: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/22.jpg)
GUITESTING
AUTOMATION USING iWAL
LIBRARY
![Page 23: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/23.jpg)
AUTOMATION OF BARCHART CTRL USING iWAL
![Page 24: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/24.jpg)
AUTOMATION OF CALCULATOR APPLICATION USING iWAL
![Page 25: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/25.jpg)
AUTOMATION OF GRID APPLICATION USING iWAL
![Page 26: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/26.jpg)
AUTOMATION OF ADD-MFC APPLICATION USING iWAL
![Page 27: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/27.jpg)
AUTOMATION OF SUBTRACT-MFC APPLICATION USING iWAL
![Page 28: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/28.jpg)
AUTOMATION OF MULTIPLY-MFC APPLICATION USING iWAL
![Page 29: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/29.jpg)
AUTOMATION OF DIVIDE-MFC APPLICATION USING iWAL
![Page 30: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/30.jpg)
WINDOWAPPLICATION
FOR AUTOMATION
![Page 31: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/31.jpg)
WINDOW-APPLICATION
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.
![Page 32: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/32.jpg)
iWAL AUTOMATION WINDOW APPLICATION
![Page 33: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/33.jpg)
BROWSE-BUTTON to browse an application for automation
![Page 34: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/34.jpg)
ADD-BUTTON to add application in listbox for automation
![Page 35: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/35.jpg)
RUN_BUTTON with multitasking to perform automation
![Page 36: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/36.jpg)
RUN_BUTTON with multitasking to perform automation
![Page 37: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/37.jpg)
SCHEDULE_BUTTON with multitasking to schedule automation
![Page 38: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/38.jpg)
REPORT-BUTTON to generate CRYSTAL-report
![Page 39: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/39.jpg)
SENDMAIL-BUTTON to send report to mail using smtp-server
![Page 40: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/40.jpg)
iWAL AUTOMATION HELP PAGE
![Page 41: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/41.jpg)
Jan(from 14th) Feb Mar Apr(upto 3rd) Apr(upto 22) May(upto 03) May(upto 15)0
10
20
30
40
50
60
70
80
90
100
ProgressRisksDependencies
PROGRESS STATUS OF OVERALL WORK
![Page 42: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/42.jpg)
Our future RESEARCH
work…..
![Page 43: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/43.jpg)
#
In the field of network, we can verify many Nodes and discard unauthorized access
Research Idea 1
![Page 44: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/44.jpg)
Research Idea 2
Enhancement of iWAL library
![Page 45: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/45.jpg)
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
![Page 46: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/46.jpg)
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
Knowledge Gained
![Page 47: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/47.jpg)
Thank YouTEAM:
GUITESTING
AUTOMATION
![Page 48: Gui automation framework](https://reader035.vdocuments.net/reader035/viewer/2022062307/5562f73fd8b42a62598b4769/html5/thumbnails/48.jpg)
Questions…...