logging in or signing up CTA Test Automation Framework aSGuest16681 Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINT lite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 874 Category: Entertainment License: All Rights Reserved Like it (0) Dislike it (0) Added: April 13, 2009 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript Test Automationwith CTA Framework : Test Automationwith CTA Framework Igor Gershovich Connected Testing, Inc. igershovich@connectedtesting.com Connected Test Automation Framework : Connected Test Automation Framework CTA Framework is a test automation component-based architecture leveraging Mercury BPT technology CTA Framework allows clear delineation of the responsibilities and skill sets between End Users and Test Automation developers Automation developers define architecture and create components End Users create automated test cases using automated components as building blocks CTA Framework Benefits : CTA Framework Benefits Automation projects get completed about 3-times faster SME/Test Engineers do not need to know how to use QTP or WinRunner. Automation developers do not need detailed application knowledge. Lower maintenance costs. Test Automation Process : Test Automation Process Automation Engineer Automation Architecture Design Create Function Libraries Create Object Repositories Create Business Components Drag Components to create tests in QC Configure Input/Output parameters Debug tests in QC Test Plan module Add tests to test set in Test Lab module Subject Matter Expert or Test Engineer CTA Framework highlights : CTA Framework highlights Fast component development (2-4 Pages/Windows per day) Fast test case development (4+ test cases per day) Creating Automated test cases is similar to manual test case development. Uses very flexible Encapsulated Keyword/Data-Driven approach to create dynamic test cases. CTA Framework highlights : CTA Framework highlights CTA Framework utilizes only industry standard HP/Mercury technologies: Quality Center (QC) QuickTest Pro (QTP) or WinRunner Business Process Testing (BPT) technology Allows to test Web Applications on Locked Computers, via Minimized Remote Desktop windows and on dual monitor computers. CTA Framework highlights : CTA Framework highlights Applicable to all areas of automated testing, like regression, smoke, acceptance, etc. This Framework has been successfully implemented for several industries: Financial, Transportation, Aerospace. Recent Success : Recent Success Estimate using Traditional automation: 1 year Estimate with CTA Framework: 6 months Project was completed in 4 months by 1 person, 2 month ahead of schedule. This was the first project for the automation developer utilizing the CTA Framework. 170 components were developed (1 component per Web page). 109 Regression Test cases were automated. Typical Project Schedulefor Web Applications : Typical Project Schedulefor Web Applications Slide 10: Appendix – Additional Information Test Automation Architecture : Test Automation Architecture Test Automation elements : Test Automation elements Integrated Development Environment: HP/Mercury Quality Center BPT Module for Quality Center QTP or WinRunner External Function Libraries Object Repositories Business Components Test Scripts External Function Libraries : External Function Libraries Environment Library Navigation Library Common Library Project Specific Library External Function Libraries : External Function Libraries Environment Library This is a Library which allows the user to control the test environment in which a component is going to be run (QA, staging or production). Allows users to control and set login credentials Users can manually adjust this file prior to running a test. External Function Libraries : External Function Libraries Navigation Library A set of custom functions and procedures which address web site navigation. External Function Libraries : External Function Libraries Common Library: Contains Global Constants and Variables. Provides additional VBScript functions/methods for enhanced interaction with the various application objects i.e. WebEdit, WebFile, WebCheckBox, WebList, Link, WebButton, Image, WebRadioGroup, WebTable, WebElement, WinButton, Page and Browser. Contains General purpose functions to close applications or browsers, initialize components, replace text, etc. External Function Libraries : External Function Libraries Project Specific Library Contains project specific functions/methods Test Automation Architecture : Test Automation Architecture Object Repository The Object Repositories are stored in the BPT Resources sub-folder Object Repositories. Object Repositories are designed to be server independent. Business Components : Business Components Component is a reusable module to perform tasks on logically independed application parts (Page or Window). Components use Input/Output parameters for data input/verification and navigation within Page or Window. Input/Output parameters also are used to pass data between components. Components can use iterations if permitted. Login component steps (example for Web Application) : Login component steps (example for Web Application) Component initialization Close all browsers except QC Load environment variables like URL, login credentials, DB connection strings, etc. Invoke an application Login Verification that login is successful Component cleanup Example of Login component : Example of Login component Functional component steps (example for Web Application) : Functional component steps (example for Web Application) Component initialization Verify that Expected page is displayed Side or Top menu navigation Web Page internal flow Component cleanup Example of Functional Component : Example of Functional Component New Test creation : New Test creation Create a New Test : Create a New Test In Quality Center Test Plan folder Right Click on Subject folder or an existing folder to create a new folder or test. Under Test Type select BUSINESS-PROCESS from the drop down list. Enter a name for the test. Select Components for test : Select Components for test Click on Test Script tab Click on Select Component menu item The component pane will be displayed. Drag and drop components in logical order. Select components (Snapshot) : Select components (Snapshot) Adding parameter data : Adding parameter data To add parameters (data) to the test, click on the component input link in the input column Users control interaction with the application objects via various input constraints. A spreadsheet type parameter list will be presented representing various objects in the application. Note the parameter field description at the bottom of the page indicating what type of object is being worked with. Buttons will be indicated with button, Lists with list and table with cell. Adding Parameter data (snapshot) : Adding Parameter data (snapshot) Create new test (continue) : Create new test (continue) Change Component’s “On Failure” settings from Continue to Exit when the test is completed and ready for use. Test Your Script : Test Your Script Click on the blue triangular command button to test created script. On the Run or Debug Test window click on the “Set all to Normal” command button to select a run mode of “Normal”, Click “OK” Test Results : Test Results If all components passed, test can be included into the Test Lab. Test Lab : Test Lab Click on the Test Lab folder to navigate to the Test Lab. Click on the “Select Tests” command button to display a list of available tests. Drag and drop tests onto the grid from the available list of tests in the test lab. Parameter Input Constraints (Example) : Parameter Input Constraints (Example) Input Constraints for Edit (Text Box) object : Input Constraints for Edit (Text Box) object Input Constraints for Edit (Text Box) object - continue : Input Constraints for Edit (Text Box) object - continue You do not have the permission to view this presentation. In order to view it, please contact the author of the presentation.
CTA Test Automation Framework aSGuest16681 Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINT lite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 874 Category: Entertainment License: All Rights Reserved Like it (0) Dislike it (0) Added: April 13, 2009 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript Test Automationwith CTA Framework : Test Automationwith CTA Framework Igor Gershovich Connected Testing, Inc. igershovich@connectedtesting.com Connected Test Automation Framework : Connected Test Automation Framework CTA Framework is a test automation component-based architecture leveraging Mercury BPT technology CTA Framework allows clear delineation of the responsibilities and skill sets between End Users and Test Automation developers Automation developers define architecture and create components End Users create automated test cases using automated components as building blocks CTA Framework Benefits : CTA Framework Benefits Automation projects get completed about 3-times faster SME/Test Engineers do not need to know how to use QTP or WinRunner. Automation developers do not need detailed application knowledge. Lower maintenance costs. Test Automation Process : Test Automation Process Automation Engineer Automation Architecture Design Create Function Libraries Create Object Repositories Create Business Components Drag Components to create tests in QC Configure Input/Output parameters Debug tests in QC Test Plan module Add tests to test set in Test Lab module Subject Matter Expert or Test Engineer CTA Framework highlights : CTA Framework highlights Fast component development (2-4 Pages/Windows per day) Fast test case development (4+ test cases per day) Creating Automated test cases is similar to manual test case development. Uses very flexible Encapsulated Keyword/Data-Driven approach to create dynamic test cases. CTA Framework highlights : CTA Framework highlights CTA Framework utilizes only industry standard HP/Mercury technologies: Quality Center (QC) QuickTest Pro (QTP) or WinRunner Business Process Testing (BPT) technology Allows to test Web Applications on Locked Computers, via Minimized Remote Desktop windows and on dual monitor computers. CTA Framework highlights : CTA Framework highlights Applicable to all areas of automated testing, like regression, smoke, acceptance, etc. This Framework has been successfully implemented for several industries: Financial, Transportation, Aerospace. Recent Success : Recent Success Estimate using Traditional automation: 1 year Estimate with CTA Framework: 6 months Project was completed in 4 months by 1 person, 2 month ahead of schedule. This was the first project for the automation developer utilizing the CTA Framework. 170 components were developed (1 component per Web page). 109 Regression Test cases were automated. Typical Project Schedulefor Web Applications : Typical Project Schedulefor Web Applications Slide 10: Appendix – Additional Information Test Automation Architecture : Test Automation Architecture Test Automation elements : Test Automation elements Integrated Development Environment: HP/Mercury Quality Center BPT Module for Quality Center QTP or WinRunner External Function Libraries Object Repositories Business Components Test Scripts External Function Libraries : External Function Libraries Environment Library Navigation Library Common Library Project Specific Library External Function Libraries : External Function Libraries Environment Library This is a Library which allows the user to control the test environment in which a component is going to be run (QA, staging or production). Allows users to control and set login credentials Users can manually adjust this file prior to running a test. External Function Libraries : External Function Libraries Navigation Library A set of custom functions and procedures which address web site navigation. External Function Libraries : External Function Libraries Common Library: Contains Global Constants and Variables. Provides additional VBScript functions/methods for enhanced interaction with the various application objects i.e. WebEdit, WebFile, WebCheckBox, WebList, Link, WebButton, Image, WebRadioGroup, WebTable, WebElement, WinButton, Page and Browser. Contains General purpose functions to close applications or browsers, initialize components, replace text, etc. External Function Libraries : External Function Libraries Project Specific Library Contains project specific functions/methods Test Automation Architecture : Test Automation Architecture Object Repository The Object Repositories are stored in the BPT Resources sub-folder Object Repositories. Object Repositories are designed to be server independent. Business Components : Business Components Component is a reusable module to perform tasks on logically independed application parts (Page or Window). Components use Input/Output parameters for data input/verification and navigation within Page or Window. Input/Output parameters also are used to pass data between components. Components can use iterations if permitted. Login component steps (example for Web Application) : Login component steps (example for Web Application) Component initialization Close all browsers except QC Load environment variables like URL, login credentials, DB connection strings, etc. Invoke an application Login Verification that login is successful Component cleanup Example of Login component : Example of Login component Functional component steps (example for Web Application) : Functional component steps (example for Web Application) Component initialization Verify that Expected page is displayed Side or Top menu navigation Web Page internal flow Component cleanup Example of Functional Component : Example of Functional Component New Test creation : New Test creation Create a New Test : Create a New Test In Quality Center Test Plan folder Right Click on Subject folder or an existing folder to create a new folder or test. Under Test Type select BUSINESS-PROCESS from the drop down list. Enter a name for the test. Select Components for test : Select Components for test Click on Test Script tab Click on Select Component menu item The component pane will be displayed. Drag and drop components in logical order. Select components (Snapshot) : Select components (Snapshot) Adding parameter data : Adding parameter data To add parameters (data) to the test, click on the component input link in the input column Users control interaction with the application objects via various input constraints. A spreadsheet type parameter list will be presented representing various objects in the application. Note the parameter field description at the bottom of the page indicating what type of object is being worked with. Buttons will be indicated with button, Lists with list and table with cell. Adding Parameter data (snapshot) : Adding Parameter data (snapshot) Create new test (continue) : Create new test (continue) Change Component’s “On Failure” settings from Continue to Exit when the test is completed and ready for use. Test Your Script : Test Your Script Click on the blue triangular command button to test created script. On the Run or Debug Test window click on the “Set all to Normal” command button to select a run mode of “Normal”, Click “OK” Test Results : Test Results If all components passed, test can be included into the Test Lab. Test Lab : Test Lab Click on the Test Lab folder to navigate to the Test Lab. Click on the “Select Tests” command button to display a list of available tests. Drag and drop tests onto the grid from the available list of tests in the test lab. Parameter Input Constraints (Example) : Parameter Input Constraints (Example) Input Constraints for Edit (Text Box) object : Input Constraints for Edit (Text Box) object Input Constraints for Edit (Text Box) object - continue : Input Constraints for Edit (Text Box) object - continue