110 likes | 279 Views
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.
E N D
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 Eclipse Platform Java Emitter Templates (JET) Eclipse Modeling Framework (EMF) Java Platform 1.5.0
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
Choosing the right Automation tool • Every Automation tool has its limitations • QTP • Squish • WindowTester • Choose the right plug-ins • Do not rely on recording
Brief introduction on QTP UI Automation tool Scripting language based on VBScript Fairly intuitive for Technical User
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
Running the scripts and preparing Suites • Individual scripts • Each script will act individually • Suites • Flow based • Nightly runs
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
Question & Answer ? Questions