Professional Documents
Culture Documents
References
Qing Xie and Atif M Memon, Designing and Comparing Automated Test Oracles for GUIbased Software Applications, ACM
Outline
Introduction Modeling GUI Test Case Experiment Conclusion
Outline
Introduction Modeling GUI Test Case Experiment Conclusion
Introduction
ModelBased Finite State Machine AI-Planning
Is it cost-effective to check intermediate outputs of the GUI after each event, or is it sufficient to check the final GUI output after the last event?
Every event or last event
Outline
Introduction Modeling GUI Test Case Experiment Conclusion
contain information about the types of all the widgets currently extant in the GUI, as well as all of the properties and their values for each of those widgets.
Example
Outline
Introduction Modeling GUI Test Case Experiment Conclusion
Example
Statistical analysis
Start
Normally distribute d
Parametric test
Nonparametric test
/
Ex: Wilcoxon Signed-Rank test (Non-parametric test )
P-value
If the p-value calculated is less or equal to , then you have enough evidence to reject the null hypothesis. The alternative hypothesis is accepted. Otherwise, the null hypothesis is accepted.
Result
Outline
Introduction Modeling GUI Test Case Experiment Conclusion
Conclusion
Test cases significantly lose their faultdetection ability when using weak test oracles In many cases, invoking a thorough oracle at the end of test case execution yields the best cost-benefit ratio Certain test cases detect faults only if the oracle is invoked during a small window of opportunity during test execution Using thorough and frequently-executing test oracles can make up for not having long test cases