SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Downloaden Sie, um offline zu lesen
Random Stability Testing
Yu, Yucai
2013/11/05
2
Agenda
• Why we do this?
• What problem we want to resolve?
• Model based solution
• Demo
• Deep dive
3
Why we do this?
- Request from Toyota, part of IVI system testing
“Continue using for an extended period (48 hours)”
- No available solution for random stability test
- Leverage fMBT and iGAS
- Enhancement for flexibility, usability, portability
4
What problem we should resolve?
- Do what user usually do, to cover kinds of activities
- Randomly switch among applications with some probability
- Identify Pass/Fail, handle failures
- Easy for issue analysis with context, get trend and statistics
- Portability for different platforms
5
Model based solution
Action
Trigger
Result
Analysis
Exception
Handling
Modeling Implementing Executing Reporting
6
Feedbacks
We found bugs:
• TIVI-1965 PA crashes after long time operations
• TIVI-1819 Web apps process still alive after launch/close many times
• TIVI-1864 weston will crash after random and continuous operation
• TIVI-1996 Click app has no response after switching app for many times
• TIVI-1988 The screen of all app list flashes sometimes after system boot up
Feedback from Jaska(murphy key developer):
• This is excellent for policy use case testing and when to open?
7
We can do more…
Multi device control:
• Mobiles(Tizen, android) call each other
• Tizen IVI HFP call
• Dual OS
8
Demo
9
Deep dive
• Modeling
• Implementation
• Image recognition with iGAS
• Deal with failure
10
Modeling
Using fMBT to create the model and drive test execution
11
12
Implement test steps
• Method 1: invoke external command(middleware scripts, iGAS etc.)
• Method 2: programming to gain great flexibility
13
Programming test steps
fMBT’s device class library:
• Support several platforms: Tizen, android, windows, general Linux.
• Support function: Screenshot, tapBitmap(tapItem), verifyBitmap, Shell
etc.
Our compliment: event record and playback
14
Event record and playback
Two benefit:
1. Solve some scenario that gfx recognition way not work well.
• Complex gesture
• Terminal operation
• App theme Change
• Record children style’s random operation
• Deal with sensors
2. Help create tests quickly(third party apps etc.)
15
Image recognition with iGAS
• fMBT’s graphics engine is effective, but not very “smart”.
• Improve with iGAS’s smart image recognition engine: SIFT, pHASH etc.
• Improve with iGAS’s camera solution.
16
How to deal with failure
Collect visual action logs
Collect app logs and system status
Monitor system resource: CPU, memory, process etc.
Collect crashes
Reboot and restart testing
Thanks

Weitere ähnliche Inhalte

Andere mochten auch

Kathlenn Gaw - Consultant Profile
Kathlenn Gaw - Consultant ProfileKathlenn Gaw - Consultant Profile
Kathlenn Gaw - Consultant ProfileKathlenn Gaw
 
Resume_Alejandro Armenta (2016)
Resume_Alejandro Armenta (2016)Resume_Alejandro Armenta (2016)
Resume_Alejandro Armenta (2016)Alejandro Armenta
 
Cleanroom Article Green-Tannous 1997
Cleanroom Article Green-Tannous 1997Cleanroom Article Green-Tannous 1997
Cleanroom Article Green-Tannous 1997Adam Green
 
Philip Singleton CV September 2015 LinkedIn
Philip Singleton CV September 2015 LinkedInPhilip Singleton CV September 2015 LinkedIn
Philip Singleton CV September 2015 LinkedInPhilip Singleton
 
Viola miglioriniimpress (1)
Viola miglioriniimpress (1)Viola miglioriniimpress (1)
Viola miglioriniimpress (1)violamigliorini
 
Speaking Human
Speaking HumanSpeaking Human
Speaking HumanJon Burns
 
Spark Summit East 2016 - MLeap Presentation
Spark Summit East 2016 -   MLeap PresentationSpark Summit East 2016 -   MLeap Presentation
Spark Summit East 2016 - MLeap PresentationMikhail Semeniuk
 
Team Alpha ECN 410 final paper
Team Alpha ECN 410 final paperTeam Alpha ECN 410 final paper
Team Alpha ECN 410 final paperBrent Welcher
 
Apache Hive 0.13 Performance Benchmarks
Apache Hive 0.13 Performance BenchmarksApache Hive 0.13 Performance Benchmarks
Apache Hive 0.13 Performance BenchmarksHortonworks
 

Andere mochten auch (12)

Kathlenn Gaw - Consultant Profile
Kathlenn Gaw - Consultant ProfileKathlenn Gaw - Consultant Profile
Kathlenn Gaw - Consultant Profile
 
Resume_Alejandro Armenta (2016)
Resume_Alejandro Armenta (2016)Resume_Alejandro Armenta (2016)
Resume_Alejandro Armenta (2016)
 
Cleanroom Article Green-Tannous 1997
Cleanroom Article Green-Tannous 1997Cleanroom Article Green-Tannous 1997
Cleanroom Article Green-Tannous 1997
 
Philip Singleton CV September 2015 LinkedIn
Philip Singleton CV September 2015 LinkedInPhilip Singleton CV September 2015 LinkedIn
Philip Singleton CV September 2015 LinkedIn
 
Firmas julio
Firmas julioFirmas julio
Firmas julio
 
Viola miglioriniimpress (1)
Viola miglioriniimpress (1)Viola miglioriniimpress (1)
Viola miglioriniimpress (1)
 
Firmas
FirmasFirmas
Firmas
 
Oral PP
Oral PPOral PP
Oral PP
 
Speaking Human
Speaking HumanSpeaking Human
Speaking Human
 
Spark Summit East 2016 - MLeap Presentation
Spark Summit East 2016 -   MLeap PresentationSpark Summit East 2016 -   MLeap Presentation
Spark Summit East 2016 - MLeap Presentation
 
Team Alpha ECN 410 final paper
Team Alpha ECN 410 final paperTeam Alpha ECN 410 final paper
Team Alpha ECN 410 final paper
 
Apache Hive 0.13 Performance Benchmarks
Apache Hive 0.13 Performance BenchmarksApache Hive 0.13 Performance Benchmarks
Apache Hive 0.13 Performance Benchmarks
 

Ähnlich wie Random_Stability_Testing

A brief history of automation in Software Engineering
A brief history of automation in Software EngineeringA brief history of automation in Software Engineering
A brief history of automation in Software EngineeringGeorg Buske
 
Automated Exploratory Testing
Automated Exploratory TestingAutomated Exploratory Testing
Automated Exploratory TestingJustin Ison
 
Lessons learned after 190M lessons served
Lessons learned after 190M lessons servedLessons learned after 190M lessons served
Lessons learned after 190M lessons servedRicardo Bánffy
 
Justin Ison
Justin IsonJustin Ison
Justin IsonCodeFest
 
A look behind the scenes: Windows 8 background processing
A look behind the scenes: Windows 8 background processingA look behind the scenes: Windows 8 background processing
A look behind the scenes: Windows 8 background processingMatt Lacey
 
mobile development with androiddfdgdfhdgfdhf.pptx
mobile development with androiddfdgdfhdgfdhf.pptxmobile development with androiddfdgdfhdgfdhf.pptx
mobile development with androiddfdgdfhdgfdhf.pptxNgLQun
 
Continuous Integration and Delivery
Continuous Integration and DeliveryContinuous Integration and Delivery
Continuous Integration and DeliveryBrandon Cornett
 
Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...
Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...
Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...Sauce Labs
 
Matt Eakin - The New Tester Skillset
Matt Eakin - The New Tester SkillsetMatt Eakin - The New Tester Skillset
Matt Eakin - The New Tester SkillsetQA or the Highway
 
TechGIG_Memory leaks in_java_webnair_26th_july_2012
TechGIG_Memory leaks in_java_webnair_26th_july_2012TechGIG_Memory leaks in_java_webnair_26th_july_2012
TechGIG_Memory leaks in_java_webnair_26th_july_2012Ashish Bhasin
 
Migrating to Windows 7 or 8 with Lenovo's Deployment Optimization Solutions
Migrating to Windows 7 or 8 with Lenovo's Deployment Optimization SolutionsMigrating to Windows 7 or 8 with Lenovo's Deployment Optimization Solutions
Migrating to Windows 7 or 8 with Lenovo's Deployment Optimization SolutionsLenovo Business
 
Mobile Test Automation
Mobile Test AutomationMobile Test Automation
Mobile Test AutomationLee Barnes
 
Measuring Performance / iOS Apps
Measuring Performance / iOS AppsMeasuring Performance / iOS Apps
Measuring Performance / iOS AppsIgor Mandrigin
 
10 Mobile App Testing Mistakes To Avoid by Daniel Knott
10 Mobile App Testing Mistakes To Avoid by Daniel Knott10 Mobile App Testing Mistakes To Avoid by Daniel Knott
10 Mobile App Testing Mistakes To Avoid by Daniel KnottDaniel Knott
 
Remote support system - NTT DATA - Vuzix M100
Remote support system - NTT DATA - Vuzix M100Remote support system - NTT DATA - Vuzix M100
Remote support system - NTT DATA - Vuzix M100Keiichiro Fujii
 
Reliable mobile test automation
Reliable mobile test automationReliable mobile test automation
Reliable mobile test automationVishal Banthia
 
Shift left mobile application testing
Shift left  mobile  application testingShift left  mobile  application testing
Shift left mobile application testingSatyajit Malugu
 
Debugging Tips and Tricks - iOS Conf Singapore 2015
Debugging Tips and Tricks - iOS Conf Singapore 2015Debugging Tips and Tricks - iOS Conf Singapore 2015
Debugging Tips and Tricks - iOS Conf Singapore 2015Fahim Farook
 

Ähnlich wie Random_Stability_Testing (20)

A brief history of automation in Software Engineering
A brief history of automation in Software EngineeringA brief history of automation in Software Engineering
A brief history of automation in Software Engineering
 
Automated Exploratory Testing
Automated Exploratory TestingAutomated Exploratory Testing
Automated Exploratory Testing
 
Lessons learned after 190M lessons served
Lessons learned after 190M lessons servedLessons learned after 190M lessons served
Lessons learned after 190M lessons served
 
Justin Ison
Justin IsonJustin Ison
Justin Ison
 
A look behind the scenes: Windows 8 background processing
A look behind the scenes: Windows 8 background processingA look behind the scenes: Windows 8 background processing
A look behind the scenes: Windows 8 background processing
 
mobile development with androiddfdgdfhdgfdhf.pptx
mobile development with androiddfdgdfhdgfdhf.pptxmobile development with androiddfdgdfhdgfdhf.pptx
mobile development with androiddfdgdfhdgfdhf.pptx
 
Continuous Integration and Delivery
Continuous Integration and DeliveryContinuous Integration and Delivery
Continuous Integration and Delivery
 
Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...
Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...
Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...
 
Matt Eakin - The New Tester Skillset
Matt Eakin - The New Tester SkillsetMatt Eakin - The New Tester Skillset
Matt Eakin - The New Tester Skillset
 
TechGIG_Memory leaks in_java_webnair_26th_july_2012
TechGIG_Memory leaks in_java_webnair_26th_july_2012TechGIG_Memory leaks in_java_webnair_26th_july_2012
TechGIG_Memory leaks in_java_webnair_26th_july_2012
 
Migrating to Windows 7 or 8 with Lenovo's Deployment Optimization Solutions
Migrating to Windows 7 or 8 with Lenovo's Deployment Optimization SolutionsMigrating to Windows 7 or 8 with Lenovo's Deployment Optimization Solutions
Migrating to Windows 7 or 8 with Lenovo's Deployment Optimization Solutions
 
Mobile Test Automation
Mobile Test AutomationMobile Test Automation
Mobile Test Automation
 
Android CD
Android CDAndroid CD
Android CD
 
Measuring Performance / iOS Apps
Measuring Performance / iOS AppsMeasuring Performance / iOS Apps
Measuring Performance / iOS Apps
 
Web-development-git
Web-development-gitWeb-development-git
Web-development-git
 
10 Mobile App Testing Mistakes To Avoid by Daniel Knott
10 Mobile App Testing Mistakes To Avoid by Daniel Knott10 Mobile App Testing Mistakes To Avoid by Daniel Knott
10 Mobile App Testing Mistakes To Avoid by Daniel Knott
 
Remote support system - NTT DATA - Vuzix M100
Remote support system - NTT DATA - Vuzix M100Remote support system - NTT DATA - Vuzix M100
Remote support system - NTT DATA - Vuzix M100
 
Reliable mobile test automation
Reliable mobile test automationReliable mobile test automation
Reliable mobile test automation
 
Shift left mobile application testing
Shift left  mobile  application testingShift left  mobile  application testing
Shift left mobile application testing
 
Debugging Tips and Tricks - iOS Conf Singapore 2015
Debugging Tips and Tricks - iOS Conf Singapore 2015Debugging Tips and Tricks - iOS Conf Singapore 2015
Debugging Tips and Tricks - iOS Conf Singapore 2015
 

Random_Stability_Testing

  • 1. Random Stability Testing Yu, Yucai 2013/11/05
  • 2. 2 Agenda • Why we do this? • What problem we want to resolve? • Model based solution • Demo • Deep dive
  • 3. 3 Why we do this? - Request from Toyota, part of IVI system testing “Continue using for an extended period (48 hours)” - No available solution for random stability test - Leverage fMBT and iGAS - Enhancement for flexibility, usability, portability
  • 4. 4 What problem we should resolve? - Do what user usually do, to cover kinds of activities - Randomly switch among applications with some probability - Identify Pass/Fail, handle failures - Easy for issue analysis with context, get trend and statistics - Portability for different platforms
  • 6. 6 Feedbacks We found bugs: • TIVI-1965 PA crashes after long time operations • TIVI-1819 Web apps process still alive after launch/close many times • TIVI-1864 weston will crash after random and continuous operation • TIVI-1996 Click app has no response after switching app for many times • TIVI-1988 The screen of all app list flashes sometimes after system boot up Feedback from Jaska(murphy key developer): • This is excellent for policy use case testing and when to open?
  • 7. 7 We can do more… Multi device control: • Mobiles(Tizen, android) call each other • Tizen IVI HFP call • Dual OS
  • 9. 9 Deep dive • Modeling • Implementation • Image recognition with iGAS • Deal with failure
  • 10. 10 Modeling Using fMBT to create the model and drive test execution
  • 11. 11
  • 12. 12 Implement test steps • Method 1: invoke external command(middleware scripts, iGAS etc.) • Method 2: programming to gain great flexibility
  • 13. 13 Programming test steps fMBT’s device class library: • Support several platforms: Tizen, android, windows, general Linux. • Support function: Screenshot, tapBitmap(tapItem), verifyBitmap, Shell etc. Our compliment: event record and playback
  • 14. 14 Event record and playback Two benefit: 1. Solve some scenario that gfx recognition way not work well. • Complex gesture • Terminal operation • App theme Change • Record children style’s random operation • Deal with sensors 2. Help create tests quickly(third party apps etc.)
  • 15. 15 Image recognition with iGAS • fMBT’s graphics engine is effective, but not very “smart”. • Improve with iGAS’s smart image recognition engine: SIFT, pHASH etc. • Improve with iGAS’s camera solution.
  • 16. 16 How to deal with failure Collect visual action logs Collect app logs and system status Monitor system resource: CPU, memory, process etc. Collect crashes Reboot and restart testing