Title: CLR Internals
1http//www.firstindiancorp.com
Automation Framework for Web Applications Yeshwan
t Kumar and Vinay Kolluri
2Introduction
- AGENDA
- Why Automation?
- Framework
- Implementation and Case Study
- Advantages
- Limitations
- Conclusion
- Q A Session
3Why Automation?
- Completion of Tasks at Faster pace
- Eliminate Monotony
- Reduce Redundant work for Manual Testers
- Attain Accuracy in Testing
4Framework
- What is Framework?
- Need for Framework
- Uniformity in Scripting
- Ease of Understanding, Usage and Analysis
- Elimination of In-Depth Knowledge of Tool
- Type of Framework
5Implementation and Case Study
- Block diagram of Framework
6Implementation and Case Study
- The Framework is divided into 7 different modules
stored as Library Files - General
- General2
- GenericDO
7Implementation and Case Study
- Continued
- System
- Treeview
- Delivery
- Errorh
Proprietary to FAST
8Implementation and Case Study
- Folder Structure
- Folders FS1 FS7
- Fatlib
- Sanity
- Releases
- Interfaces
- Utilities
- Support Documents
- Docs
- Results
9Implementation and Case Study
- Typical Folder Structure for FAST Application
10Implementation and Case Study
- Object Repository
- TSR
- API
- Example
Function
Do_Google(root_type, mode, frame, vallist)
Dim iResult, sTsr iResult FAIL sTsr
TESTDIR "FS7\tsr\GoogleSearch.tsr" iResult
Do_Generic_Multipane (root_type, sTsr, mode,
frame, vallist) Do_Google iResult End
Function
11Implementation and Case Study
iResult Do_Google(3, UPDATE, " ",
"txtSearchFirst Indian CorporationbtnGoogleSearc
hClick")
Function
Do_Google(root_type, mode, frame, vallist)
Dim iResult, sTsr iResult FAIL sTsr
TESTDIR "FS7\tsr\GoogleSearch.tsr" iResult
Do_Generic_Multipane (root_type, sTsr, mode,
frame, vallist) Do_Google iResult End
Function
12Implementation and Case Study
- Use of API and Interaction with Library Files
iResult Do_Google(3, UPDATE, " ",
"txtSearchFirst Indian CorporationbtnGoogleSearc
hClick")
Function
Do_Google(root_type, mode, frame, vallist)
Dim iResult, sTsr iResult FAIL sTsr
TESTDIR "FS7\tsr\GoogleSearch.tsr" iResult
Do_Generic_Multipane (root_type, sTsr, mode,
frame, vallist) Do_Google iResult End
Function
13Implementation and Case Study
iResult Do_Google(3, UPDATE, " ",
"txtSearchFirst Indian CorporationbtnGoogleSearc
hClick")
iResult
Do_Generic_Multipane (root_type, sTsr, mode,
frame, vallist)
Hierarchy of the Object referred
The Object Repository Path that contains the
Object, which in turn loads the TSR
Performs an UPDATE Action (reference to the
example quoted) internally uses the Frame
and Vallist info)
Frame Title
List of values read from the Ini file or values
that are passed for which the desired action is
to be performed
14Implementation and Case Study
- Comparison of Code Without and With Framework
15Advantages
- Uniformity
- Reusable
- Maintainable
- Saves Time
- Easy to debug and analyze results
16Limitations
- Limited Work Around scenario
- Slowness at times
17Conclusion
- Reduced Monotony for Manual Testers
- Ease of Use
Demo
18Q A
19Thank You
For queries please reach us atYeshwant
(ykumar_at_firstam.com)Vinay (vkolluri_at_firstam.com)