SlideShare a Scribd company logo
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

More Related Content

PPTX
27.1.2014 Tampere. Perinteinen mobiilimaailma murroksessa. Tommi Teräsvirta: ...
PPTX
AISEC 12 april 2012 WP 7.1.1
PPTX
Black box security testing
PDF
Getting more 9s from your Cloud operations
PDF
QCon2016--Drive Best Spark Performance on AI
PDF
CF.Next
PDF
Model Based System Random Test For Smart OS
PDF
Crash_Report_Mechanism_In_Tizen
27.1.2014 Tampere. Perinteinen mobiilimaailma murroksessa. Tommi Teräsvirta: ...
AISEC 12 april 2012 WP 7.1.1
Black box security testing
Getting more 9s from your Cloud operations
QCon2016--Drive Best Spark Performance on AI
CF.Next
Model Based System Random Test For Smart OS
Crash_Report_Mechanism_In_Tizen

Viewers also liked (12)

DOCX
Kathlenn Gaw - Consultant Profile
DOC
Resume_Alejandro Armenta (2016)
PDF
Cleanroom Article Green-Tannous 1997
PDF
Philip Singleton CV September 2015 LinkedIn
DOCX
Firmas julio
ODP
Viola miglioriniimpress (1)
DOCX
Firmas
PPTX
Oral PP
PDF
Speaking Human
PDF
Spark Summit East 2016 - MLeap Presentation
PDF
Team Alpha ECN 410 final paper
PDF
Apache Hive 0.13 Performance Benchmarks
Kathlenn Gaw - Consultant Profile
Resume_Alejandro Armenta (2016)
Cleanroom Article Green-Tannous 1997
Philip Singleton CV September 2015 LinkedIn
Firmas julio
Viola miglioriniimpress (1)
Firmas
Oral PP
Speaking Human
Spark Summit East 2016 - MLeap Presentation
Team Alpha ECN 410 final paper
Apache Hive 0.13 Performance Benchmarks
Ad

Similar to Random_Stability_Testing (20)

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

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