Forum for Science, Industry and Business

Sponsored by:     3M 
Search our Site:

 

Automatic test procedures for apps on smartphones and tablets

01.03.2013
For many so-called apps, developers and companies have not adequately ensured that the mini-programs are actually working the way they should.
Therefore, computer scientists at Saarland University developed software which tests apps for the Android operating system automatically. From March 5th at the computer expo Cebit in Hannover, the researchers will present how they discover failures even in popular and widespread apps by using their method. A robot arm will click itself through arbitrary apps to find their failures (hall 9, booth F34).

Every day, Google’s smartphone operating system Android is installed on more than 1.3 million mobile terminals. After that, countless mini-programs are added from the Google Play Store onto the smartphones. However, not every app is working at 100 percent.
"It's kind of sad that Google Play needs to have a ‘15 minute refund period’ due to the lack of quality control in their app store", a New Zealand developer already wrote last year on Twitter. An analyst even described Android as the “wild West of the apps”. The computer scientists in Saarbrücken want to bring law and order into this wilderness. “Unfortunately, apps are that complex that it's costly in terms of time and also very tough to detect most of the programming errors”, explains Konrad Jamrozik, doctoral candidate at the chair of Software Engineering at Saarland University in Saarbrücken.

In collaboration with his research colleague Florian Gross and professor Andreas Zeller, he developed software named “Droidmate” which tests Android apps automatically. “From now on, developers shall produce working apps with a maximum of guarantee and a minimum of effort by using Droidmate”, says Jamrozik. To achieve this, Droidmate simulates the user for the apps which need to be tested. It carries out all possible operation steps, including pressing of virtual keys, and even swiping over the touch-sensitive display is planned in the near future.
In doing so, Droidmate takes advantage of novel methods. Besides graphical user interface construction, genetic algorithms are also counted among those methods. “They work quite similarly to biological evolution. Many test cases are produced arbitrarily. In the next step, those which appear useful get selected. Now, the system modifies them a little and combines them with each other to create a new generation of user input”, explains Florian Gross. This generation and the following one also undergo a process of selection and new combination. By using a special optimizing technique, the researchers guarantee that every program code is tested as far as possible. Revealed failures are passed on to the developer.

In addition to the testing, Jamrozik discovers another application of Droidmate: to put a stop to apps that are spying on user data. Plus, it could be extended to define failure patterns in faulty apps and to continue to use them immediately for the testing of similar apps. "The ability to thoroughly explore interactions with an app can also serve as a basis for automatic generation of documentation of the application", explains Jamrozik.
The prototype already works for established apps with simplified algorithms. Now, the researchers are going to present them at the Cebit. They will be supported by a robot arm, which will operate apps on a tablet PC. But this is only a show for the expo visitors. The software doesn’t need an arm, just the particular app for the input.

Computer Science at Saarland University
The Computer Science Department is just one of several institutes on Saarland University’s campus devoted to research in computer science. In its direct vicinity are located the Max Planck Institute for Informatics, the Max Planck Institute for Software Systems, the Center for Bioinformatics, the Center for IT-Security, Privacy and Accountability, the recently renewed Cluster of Excellence “Multimodal Computing and Interaction”, the German Research Center for Artificial Intelligence (DFKI), and the Intel Visual Computing Institute.

For further information please contact:

Konrad Jamrozik
Chair for Software Engineering at Saarland University
Mail: jamrozik@st.cs.uni-saarland.de
Phone: +49 681 302-70978
Florian Gross
Chair for Engineering at Saarland University
Mail: fgross@st.cs.uni-saarland.de
Phone: +49 681 302-70143

Editing:
Gordon Bolduan
Science Communication
Cluster of Excellence “Multimodal Computing and Interaction”
Phone: +49 681 302-70741
Cebit booth: +49 511 8949-7024
E-Mail: bolduan@mmci.uni-saarland.de

Friederike Meyer zu Tittingdorf | Universität des Saarlandes
Further information:
http://droidmate.org/
http://www.uni-saarland.de/pressefotos

More articles from Trade Fair News:

nachricht Bug-proof communication with entangled photons
22.06.2017 | Fraunhofer-Gesellschaft

nachricht LZH at the LASER World of Photonics 2017: Light for Innovation
16.06.2017 | Laser Zentrum Hannover e.V.

All articles from Trade Fair News >>>

The most recent press releases about innovation >>>

Die letzten 5 Focus-News des innovations-reports im Überblick:

Im Focus: Can we see monkeys from space? Emerging technologies to map biodiversity

An international team of scientists has proposed a new multi-disciplinary approach in which an array of new technologies will allow us to map biodiversity and the risks that wildlife is facing at the scale of whole landscapes. The findings are published in Nature Ecology and Evolution. This international research is led by the Kunming Institute of Zoology from China, University of East Anglia, University of Leicester and the Leibniz Institute for Zoo and Wildlife Research.

Using a combination of satellite and ground data, the team proposes that it is now possible to map biodiversity with an accuracy that has not been previously...

Im Focus: Climate satellite: Tracking methane with robust laser technology

Heatwaves in the Arctic, longer periods of vegetation in Europe, severe floods in West Africa – starting in 2021, scientists want to explore the emissions of the greenhouse gas methane with the German-French satellite MERLIN. This is made possible by a new robust laser system of the Fraunhofer Institute for Laser Technology ILT in Aachen, which achieves unprecedented measurement accuracy.

Methane is primarily the result of the decomposition of organic matter. The gas has a 25 times greater warming potential than carbon dioxide, but is not as...

Im Focus: How protons move through a fuel cell

Hydrogen is regarded as the energy source of the future: It is produced with solar power and can be used to generate heat and electricity in fuel cells. Empa researchers have now succeeded in decoding the movement of hydrogen ions in crystals – a key step towards more efficient energy conversion in the hydrogen industry of tomorrow.

As charge carriers, electrons and ions play the leading role in electrochemical energy storage devices and converters such as batteries and fuel cells. Proton...

Im Focus: A unique data centre for cosmological simulations

Scientists from the Excellence Cluster Universe at the Ludwig-Maximilians-Universität Munich have establised "Cosmowebportal", a unique data centre for cosmological simulations located at the Leibniz Supercomputing Centre (LRZ) of the Bavarian Academy of Sciences. The complete results of a series of large hydrodynamical cosmological simulations are available, with data volumes typically exceeding several hundred terabytes. Scientists worldwide can interactively explore these complex simulations via a web interface and directly access the results.

With current telescopes, scientists can observe our Universe’s galaxies and galaxy clusters and their distribution along an invisible cosmic web. From the...

Im Focus: Scientists develop molecular thermometer for contactless measurement using infrared light

Temperature measurements possible even on the smallest scale / Molecular ruby for use in material sciences, biology, and medicine

Chemists at Johannes Gutenberg University Mainz (JGU) in cooperation with researchers of the German Federal Institute for Materials Research and Testing (BAM)...

All Focus news of the innovation-report >>>

Anzeige

Anzeige

Event News

Plants are networkers

19.06.2017 | Event News

Digital Survival Training for Executives

13.06.2017 | Event News

Global Learning Council Summit 2017

13.06.2017 | Event News

 
Latest News

Collapse of the European ice sheet caused chaos

27.06.2017 | Earth Sciences

NASA sees quick development of Hurricane Dora

27.06.2017 | Earth Sciences

New method to rapidly map the 'social networks' of proteins

27.06.2017 | Life Sciences

VideoLinks
B2B-VideoLinks
More VideoLinks >>>