Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

QTP Dual Function (Hybrid) Automation FrameWork

54,364 views

Published on

http://bharath-marrivada.blogspot.com/
blog for more details.

Framework is a wrapper around complex internal architecture which makes end user to interact with the system easily. It also define guidelines and set standards for all phases of ADLC (Automation Development Life Cycle).

This Dual Function (Hybrid) framework is a combination of three frameworks (Functional Decomposition, Data Driven, Keyword Driven) and other error logic, reusable techniques.

I am planning to update the framework with more details.

Published in: Technology, Business
  • Login to see the comments

QTP Dual Function (Hybrid) Automation FrameWork

  1. 1. QTP Dual Function (Hybrid) Framework<br />For more details read my blog<br />http://bharath-marrivada.blogspot.com/2010/02/qtp-dual-function-hybrid-automation.html<br />By:- <br /> Bharath Marrivada (mbr.reddy@gmail.com)<br />Deleted confidential content.<br />
  2. 2. What is Automation Framework?<br />A framework can be a wrapper around complex internal architecture which makes end user to interact with the system easily. It also define guidelines and set standards for all phases of ADLC (Automation Development Life Cycle). This Dual Function (Hybrid) framework is a combination of three frameworks - Functional Decomposition, Data Driven and Keyword Driven.<br />For more details select below link<br />My Blog<br />
  3. 3. Key features of Dual function Framework<br />Reusability, low maintenance design (Dual Function) .<br />Support different application environments and custom client settings.<br />Externally Configurable and identify the place of execution using System IP.<br />Self Configurable and can be run unattended with out results being overwritten.<br />Better ROI (Return Of Investment).<br />Real time status monitoring…display detail status and automatically close in x Sec.<br />Test status reporting in three ways…detailed to high level.<br />Status reporting through emails and calculate page response time automatically.<br />Screen Capture on failed test step, assign unique name and stored separately.<br />Automation test cases resemble manual test cases (Replace with keywords).<br />Easy way of creating test cases with test case generators (Select from drop down).<br />Easy to maintain and develop scripts (DP, Custom Methods and Dual Function).<br />Test execution time stamp and place of execution or system IP for each step.<br />Same script can be executed on QTP 9.2, 9.5 and 10.0. Backward, forward compatibility.<br />For more details select below link<br />My Blog<br />
  4. 4. Advantages of Automated Testing and ROI<br />REDUCED TESTING TIME<br />IMPROVED TESTING PRODUCTIVITY<br />IMPROVED PRODUCT QUALITY<br />REDUCED QA COSTS<br />CONSISTENT TEST RESULTS<br />CALCULATE PAGE RESPONSE TIME<br />CAN SCHEDULE TEST RUNS<br />For more details select below link<br />My Blog<br />
  5. 5. Frame Work Folder Structure (in configuration management)<br />For more details select below link<br />My Blog<br />
  6. 6. Dual Function Framework Architecture<br />KickOffAction<br />QTP AOM Script <br />Windows Scheduler<br />Parameters- envsDataFileSelect, envsPlace<br />Test Log and Real time status report<br />Startup Script<br /> Startup<br />Spreadsheet<br />Legend<br />QTP Code<br />Core Library – Common Functions<br />Control Spreadsheet<br />Control Script<br />VB Script<br />Excel/Text Files<br />Web Application<br />Driver Script<br />Automation Test Case Spreadsheet<br />Config Spreadsheet<br />Keyword Function Library<br />Library - Common Functions<br />Bitmap Checkpoint Action<br />For more details select below link<br />My Blog<br />Application Under Test<br />
  7. 7. Structure Of StartUp.Xls<br />
  8. 8. Structure Of ControlFile.Xls (All the results directly reported in the sheet with screen shot (If any error), no to QTP test results)<br />
  9. 9. TestCaseFile.Xls…1 (KeyWords are selected from the drop down, parameters defined automatically with colors, comments)<br />
  10. 10. TestCaseFile.Xls…2 (During execution, system update Response Time, Execution Status, Status Message…)<br />
  11. 11. Mapping of Manual and Automation Test Cases<br /> We have planned to insert a new column “Automation Test Case ID” in the existing test cases for automation traceability.<br />
  12. 12. Test Summary Log..1 (Generated on completion of Test..not required to manually count Pass/Fail status)<br />
  13. 13. Test Summary Log..2 (Calculate average page response time and 15 Sec Cutoff to identify abnormal transactions)<br />
  14. 14. Test Summary Log..3 (update test events under Messages log, also check memory utilization and display system info)<br />
  15. 15. Real Time Status<br />1. Pop Up automatically close in x Sec.<br />2. Display the test status in real time .<br />3. If required we can disable it from displaying.<br />4. Pop Up can be configured with different settings.<br />5. Click “OK” to stop the test immediately.<br />6. This will help us to know how our test is executing in real time. If large number of test are getting failed, we can immediately check server or LAN availability and rerun the test from the test case where it had stopped execution.<br />7. Exception Exit Counter will stop the QTP automatically, If x number of test cases fail in sequence.<br />8. We can execute specific test case id’s if required.<br />9. Display current processed test case id.<br />
  16. 16. Structure Of Config.Xls (Specific to page and Client Settings)<br />
  17. 17. KeyWord Sheet structure (Test case Generator with Camel Case standard, ease in reading of lengthy keyWords)<br />
  18. 18. Registered Methods (All QTP methods are redefined and created new QTP methods based on the requirements ) <br />
  19. 19. KeyWord Function Structure..1(Reusability, Low Maintenance design and Results directly reported in test case and control files<br />
  20. 20. KeyWord Function Structure..2 (Data automatically sent through parameters P1, P2, P3…Custom QTP Methods)<br />
  21. 21. Automation Progress Monitoring (Open Attachments)<br />For more details select below link<br />My Blog<br />
  22. 22. Frame Work Standards documentation (Open Attachments) <br />
  23. 23. Risks<br />
  24. 24. Do’s and Don'ts…1<br />
  25. 25. Do’s and Don'ts…2<br />
  26. 26. Contingency Planning<br />
  27. 27. Questions, Comments & Suggestions<br />For more details select below link<br />My Blog<br />

×