SlideShare a Scribd company logo
1 of 20
Automated Testing Solutions
For ALDO
Overview
 Test Framework and Tools
 Test Automation and Continuous Integration Solution
 Functional Test Automation Framework
 Server Side Performance Test Automation Structure
 DB Architecture and Design Verification
 Browser Side Performance Test Solution
Test Framework, Tools, Programming Language
Yslow
Web-based Application Testing Tools
Tiers Functional testing Performance
Testing
UI Tier Robot Framework
Se2, Image Library
Dynatrace
Yslow, Firebug
Business Logic Tier Junit, Jmeter,
SoapUI
Jmeter, Java
profiler, Jstat
DB Tier Robot Framework
DB Library
Jmeter, AWR, Linux
monitoring tools
Jenkins, Emma code coverage
No problem sir, I’ll build the application
and run the test suites at night, you will
receive an email with functional testing,
performance testing report and test
coverage tomorrow morning.
Test Automation & Continuous Integration Solution
Test Suites/ Test Cases/Keywords
IE, Firefox, Chrome
Or simulators
Test libraries API
Robot Framework
Test data syntax
Test library API
BuildIn SSH DB Extension
Application interfaces
System Under Test
Simulator interfaces
Functional Test Automation Solution
Tools: Jenkins, Selenium2, Robot Framework, EMMA code coverage
Extend Test Library For UI Layout Testing
Class Name: Screenshot Comparison
Algorithm: Histogram similarity
Sim(G,S)=
Source Code: To see the comment…
Robot Framework Test Data Editor
Keyword-driven and Data-driven approach
HTML Reports, Logs, Code Coverage Reports
Server Side Performance Test Automation Structure
Tools: Jenkins, JMeter, JAVA monitoring tools, Linux monitoring tools, AWR
Monitoring Tools & Scripts
 Iostat
 Vmstat
 Jstat
 Oracle AWR
To see the details in the comment…
DB Architecture and Design Verification
HTML Performance Test Reports
AWR report
Browser Side Performance Test Automation Solution
Tools: Jenkins, Yslow, DynaTrace AJAX Edition
 YSlow analyzes web pages and why they're slow based on
Yahoo!'s rules for high performance web sites.
 Dynatrace AJAX Edition analyzes the front-end performance of
your web-pages and Identify slow running JavaScript handlers,
customs JavaScript code slow access to the Dom, expensive
Call.
 Integrating Yslow and Dynatrace into Jenkins is my future job…
Yslow Test Reports
Dynatrace AJAX Edition Test Reports
Demo
 Demo video for Web-based application regression
tesing.avi

More Related Content

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

Automated Testing solution

  • 2. Overview  Test Framework and Tools  Test Automation and Continuous Integration Solution  Functional Test Automation Framework  Server Side Performance Test Automation Structure  DB Architecture and Design Verification  Browser Side Performance Test Solution
  • 3. Test Framework, Tools, Programming Language Yslow
  • 4. Web-based Application Testing Tools Tiers Functional testing Performance Testing UI Tier Robot Framework Se2, Image Library Dynatrace Yslow, Firebug Business Logic Tier Junit, Jmeter, SoapUI Jmeter, Java profiler, Jstat DB Tier Robot Framework DB Library Jmeter, AWR, Linux monitoring tools Jenkins, Emma code coverage
  • 5. No problem sir, I’ll build the application and run the test suites at night, you will receive an email with functional testing, performance testing report and test coverage tomorrow morning.
  • 6. Test Automation & Continuous Integration Solution
  • 7. Test Suites/ Test Cases/Keywords IE, Firefox, Chrome Or simulators Test libraries API Robot Framework Test data syntax Test library API BuildIn SSH DB Extension Application interfaces System Under Test Simulator interfaces Functional Test Automation Solution Tools: Jenkins, Selenium2, Robot Framework, EMMA code coverage
  • 8. Extend Test Library For UI Layout Testing Class Name: Screenshot Comparison Algorithm: Histogram similarity Sim(G,S)= Source Code: To see the comment…
  • 9. Robot Framework Test Data Editor
  • 11. HTML Reports, Logs, Code Coverage Reports
  • 12. Server Side Performance Test Automation Structure Tools: Jenkins, JMeter, JAVA monitoring tools, Linux monitoring tools, AWR
  • 13. Monitoring Tools & Scripts  Iostat  Vmstat  Jstat  Oracle AWR To see the details in the comment…
  • 14. DB Architecture and Design Verification
  • 17. Browser Side Performance Test Automation Solution Tools: Jenkins, Yslow, DynaTrace AJAX Edition  YSlow analyzes web pages and why they're slow based on Yahoo!'s rules for high performance web sites.  Dynatrace AJAX Edition analyzes the front-end performance of your web-pages and Identify slow running JavaScript handlers, customs JavaScript code slow access to the Dom, expensive Call.  Integrating Yslow and Dynatrace into Jenkins is my future job…
  • 19. Dynatrace AJAX Edition Test Reports
  • 20. Demo  Demo video for Web-based application regression tesing.avi

Editor's Notes

  1. # -*- coding: utf-8 -*- import sys,os import Image class Comp_img(): image_width = 800 image_height = 600 part_width = 50 part_height = 50 part_count = (image_width/part_width)*(image_height/part_height)*1.0 def make_regalur_image(self, img, size = (image_width, image_height)): return img.resize(size).convert('RGB') def split_image(self, img, part_size = (part_width, part_height)): w, h = img.size pw, ph = part_size assert w % pw == h % ph == 0 return [img.crop((i, j, i+pw, j+ph)).copy() for i in xrange(0, w, pw) for j in xrange(0, h, ph)] def hist_similar(self, lh, rh): assert len(lh) == len(rh) return sum(1 - (0 if l == r else float(abs(l - r))/max(l, r)) for l, r in zip(lh, rh))/len(lh) def calc_similar(self, li, ri): #return hist_similar(li.histogram(), ri.histogram()) return sum(self.hist_similar(l.histogram(), r.histogram()) for l, r in zip(self.split_image(li), self.split_image(ri))) / self.part_count def calc_similar_by_path(self, lf, rf): li, ri = self.make_regalur_image(Image.open(lf)), self.make_regalur_image(Image.open(rf)) return self.calc_similar(li, ri) def comp_pic(self, ori_dir,comp_dir,diff_dir,similarity): """ Compare images from two different folders, move them into diff folder if new images are different with original images. """ #files1 = os.listdir(ori_dir) files2 = os.listdir(comp_dir) count = 0 for i in range(len(files2)): try: percent = self.calc_similar_by_path('%s/%s'%(ori_dir,files2[i]), '%s/%s'%(comp_dir,files2[i]))*100 print 'Img_%d: %.6f%%'%(i, percent) if (percent < similarity): Image.open(comp_dir+'\\\\'+files2[i]).save(diff_dir+'\\\\'+files2[i]) print 'Move '+files2[i]+' to '+diff_dir count=count+1 except Exception,e: print 'Img_%d: %s'%(i, e) return count if __name__ == '__main__': c = Comp_img() ori_dir= 'C:\\\\Se2\\\\GAP.cn\\\\logs\\\\original' comp_dir= 'C:\\\\Se2\\\\GAP.cn\\\\logs\\\\1st' diff_dir= 'C:\\\\Se2\\\\GAP.cn\\\\logs\\\\diff' print c.comp_pic(ori_dir,comp_dir,diff_dir,100)
  2. Report details clearly viewable statistics including Pass/Fail ratios and elapsed times. This gives you great overview on the test execution. Log details statistics from each step of the test execution, from keyword to keyword. It enables you to drill down on the specifics of the test in case of failure or otherwise.
  3. iostat -xm 5 | awk '{print strftime("<%H:%M:%S("),$0}' > iostat.log & vmstat -n 5 |(while read -r line; do echo "<$(date +%T:%6N)( $line"; done) > vmstat.log & jstat -gcutil 54434 1000 conn / as sysdba;set echo off;set veri off;set feedback off;set termout on;set heading off;variable rpt_options number;define NO_OPTIONS = 0;define ENABLE_ADDM = 8;-- according to your needs, the value can be 'text' or 'html'define report_type='html';begin:rpt_options := &NO_OPTIONS;end;/variable dbid number;variable inst_num number;variable bid number;variable eid number;begin select max(snap_id)-5 into :bid from dba_hist_snapshot;select max(snap_id) into :eid from dba_hist_snapshot;select dbid into :dbid from v$database;select instance_number into :inst_num from v$instance;end;/column ext new_value ext noprintcolumn fn_name new_value fn_name noprint;column lnsz new_value lnsz noprint;--select 'txt' ext from dual where lower('&report_type') = 'text';select 'html' ext from dual where lower('&report_type') = 'html';--select 'awr_report_text' fn_name from dual where lower('&report_type') = 'text';select 'awr_report_html' fn_name from dual where lower('&report_type') = 'html';--select '80' lnsz from dual where lower('&report_type') = 'text';select '1500' lnsz from dual where lower('&report_type') = 'html';set linesize &lnsz;-- print the AWR results into the report_name file using the spool command:column report_name new_value report_name noprint;select 'awr'||'.'||'&ext' report_name from dual;set termout off;spool &report_name;select output from table(dbms_workload_repository.&fn_name(:dbid, :inst_num,:bid, :eid,:rpt_options ));spool off;set termout on;clear columns sql;ttitle off;btitle off;repfooter off;undefine report_nameundefine report_typeundefine fn_nameundefine lnszundefine NO_OPTIONSexit
  4. Report contains an overview of the test execution results. It shows TPS of subsystem, CPU utilization, database AWR report. The report has links to trend chart, these trend charts shows builds performance trend, normally, a nearly horizontal line is expected result.