openedge developers corner
DESCRIPTION
OpenEdge Developers Corner. Automated testing with QTP. Srinivas Kantipudi. Principal Engineer. OpenEdge Architect: An Integrated Development Environment (IDE). OpenEdge Architect 10.2a. Graphical Editing Framework (GEF). OpenEdge Architect. Platform Runtime. Eclipse Platform 3.4. - PowerPoint PPT PresentationTRANSCRIPT
© 2009 Progress Software Corporation2
OpenEdge Architect:An Integrated Development Environment (IDE)
© 2009 Progress Software Corporation3
OpenEdge Architect 10.2a
Eclipse Platform
Platform Runtime
OpenEdge Architect
GraphicalEditingFramework(GEF)
Eclipse Platform 3.4
Java Platform 1.5.0
Eclipse Modeling Framework(EMF)
Java Emitter Templates(JET)
© 2009 Progress Software Corporation4
Agenda
Choosing the right Automation tool Brief introduction on QTP Automation of Visual designer screens Running the scripts and preparing Suites Limitations of UI Automation tools Q & A
© 2009 Progress Software Corporation5
Choosing the right Automation tool
Every Automation tool has its limitations• QTP• Squish• WindowTester
Choose the right plug-ins Do not rely on recording
© 2009 Progress Software Corporation6
Brief introduction on QTP
UI Automation tool Scripting language based on VBScript Fairly intuitive for Technical User
© 2009 Progress Software Corporation7
Automation of Visual Designer screens
Sample screen
Sample script• SwfWindow("LoginForm").SwfObject("TxtAgentName").Type “progress"
• SwfWindow("LoginForm").SwfObject("TxtPassword").Type “progress"
• SwfWindow("LoginForm").SwfButton("OK").Click
© 2009 Progress Software Corporation8
Running the scripts and preparing Suites
Individual scripts• Each script will act individually
Suites• Flow based
Nightly runs
© 2009 Progress Software Corporation9
Limitations of UI Automation tools
Every Window/Object needs to be unique Problems with Images and Colors Limitations with drag and drop functionality Limitation with complex UI controls
Common problems with QTP object recognition• Problems In Recognizing Tabs, Toolbars• Problems In Recognizing the Intellisense• Problems with recognizing child objects
within embedded frames