(Press-News.org) With the benefits of reducing time-cost and human efforts, automated testing has been widely used for quality assurance of mobile applications (apps). However, in complex interactive activities, manual testing can achieve higher coverage. However, the effectiveness of manual testing is highly dependent on the vital User Operation Process (UOP) of experienced testers.
To solve the problems, a research team led by Zhenyu CHEN and Chunrong FANG published their new research on 15 Oct 2023 in Frontiers of Computer Science co-published by Higher Education Press and Springer Nature.
We propose an Iterative Android Automated Testing (IAAT) method that automatically records, extracts, and integrates UOPs. The UOP from manual testing will be iteratively introduced in the test logic of the automated testing tool. The test results are further fed back to testers to achieve higher coverage in each iteration. We conducted experiments on 10 well-known mobile apps and 50 UOPs to compare IAAT with Monkey and the original automated test. According to the experimental results, IAAT shows a significant improvement in the IAAT compared with the test logic without introducing human knowledge.
In the research, IAAT is designed to increase the coverage rate to the greatest extent. To achieve this purpose, we create two-layer iterations in IAAT. One of the iterations is within the automated testing, and the other is between the UOP and the automated testing. The iteration inside the automated testing is to improve the coverage by performing multiple iterations, which is different from the traditional one-time testing process. Each automated test’s starting point refers to the node not covered by the previous round of testing. It is essentially equivalent to running automated testing based on the prior round of testing to obtain higher test coverage. We have realized the IAAT method in a practical tool. Our practical tool, IAAT, separates test logic (using DFS in this paper) from UOP extraction and fusion, allowing it to be combined with different test logic tools for even greater coverage.
IAAT brings human knowledge to efficient automated testing and integrates the above two advantages to complete the test. Specifically, IAAT is divided into two main steps:
Step 1, Complete the UOP fusion and generate formatted UOPs to match the test logic of the automated testing tool. The UOP information can be provided in two ways, either by manual provisioning (e.g., from manual clicks or test scripts written by testers) or automatically extracted from execution traces in IAAT. Step 2, Combine formatted UOP and automated testing tools for testing. The IAAT integrates the existing UOP to generate a coverage tree. It describes the activity information currently covered about the application under test and guides the tool to start a new round of automated testing accordingly. In the next round of testing, the Widget that was not covered in the previous round will be overridden first, then run the testing tool iteratively until the Activity overlay tree is completely traversed.
In the future, we will try to introduce UOPs into the testing logic of more mature tools to help them break the original coverage bottleneck and cross more complex Widgets thus achieving high coverage of apps.
END
A bi-directional iterative approach to Android automated testing
2023-11-16
ELSE PRESS RELEASES FROM THIS DATE:
Oregon State researchers receive $2M to look for new ways to prevent organic potatoes from spoiling
2023-11-16
CORVALLIS, Ore. – Oregon State University researchers have been awarded $2 million from the U.S. Department of Agriculture to develop improved ways of preventing stored potatoes from sprouting, particularly in the organic sector.
This research is pivotal given the rapid rise of the organic market in U.S. agriculture, the scientists note.
“The organic potato industry cannot depend on traditional chemical anti-sprouting treatments since synthetic chemicals are banned in certified organic,” said Valtcho Jeliazkov of OSU’s College of Agricultural ...
Why it’s important to improve communication of unanticipated genomic findings to patients with late-stage cancer
2023-11-16
New research conducted by City of Hope and supported by the American Cancer Society focuses on developing scalable educational interventions to support informed patient decision making and consent, such as online tools and applications that include visual aids or interactive multimedia.
FINDINGS
Cancer genomics experts at City of Hope®, one of the largest cancer research and treatment organizations in the United States, conducted a qualitative study that underscored the importance of properly preparing patients for unanticipated, inheritable genetic findings prior to receipt of ...
New studies of brain activity explain benefits of electroconvulsive therapy
2023-11-16
Electroconvulsive therapy (ECT), formerly known as electroshock therapy, involves inducing a brief seizure in the brain using controlled doses of electricity. While ECT is highly effective for certain mental illnesses, particularly depression, the reasons for its efficacy have long puzzled the fields of psychiatry and neuroscience.
Now, researchers from University of California San Diego may have an answer. In two new studies published November 16, 2023 in Translational Psychiatry, they propose a new hypothesis that ECT alleviates depression symptoms by increasing aperiodic activity, a type of electrical activity in the brain that doesn’t follow a consistent pattern ...
McWilliams School of Biomedical Informatics researchers awarded $31M in grants for medical artificial intelligence innovation research
2023-11-16
McWilliams School of Biomedical Informatics at UTHealth Houston reached a funding landmark with 15 faculty members awarded 16 different grants totaling more than $31 million between August and October 2023. Each grant has a focus on medical artificial intelligence (AI) innovations and advancements in research or health care.
“This is an incredible achievement for McWilliams School of Biomedical Informatics; these grants play a key role in advancing informatics research while also expanding on the important role technology continues to play in medicine,” said Jiajie Zhang, PhD, dean and Glassell Family Foundation Distinguished Chair in ...
The BMJ investigates concerns over informed consent for pregnant women in Pfizer’s RSV vaccine trial
2023-11-16
A debate has broken out over whether Pfizer should have told pregnant women taking part in its maternal respiratory syncytial virus (RSV) vaccine trial that a trial of a similar GSK vaccine was stopped over a safety signal around preterm birth, an investigation by The BMJ can reveal.
Pfizer’s vaccine, called Abrysvo, was recently approved for use in the US and the European Union, but is not yet authorised in the UK.
Some experts have criticised Pfizer for not informing participants, while others believe notification would have been premature and caused unnecessary anxiety, reports freelance investigative journalist Hristio ...
No one-size-fits-all solution for the net-zero grid, Surrey research demonstrates
2023-11-16
As power generation from sources like solar and wind increases, along with the introduction of devices such as heat pumps and batteries, a new optimisation tool created at the University of Surrey will help the UK plan for a greener electricity network.
The researchers developed an algorithm to model how these smaller networks distributed electricity – factoring in how local grids could become unbalanced by adding too many heat pumps in a single area or generating more electricity than the grid could accept.
The Surrey team found that it was generally more efficient ...
Nuclear expansion failure shows simulations require change
2023-11-16
The widespread adoption of nuclear power was predicted by computer simulations more than four decades ago but the continued reliance on fossil fuels for energy shows these simulations need improvement, a new study has shown.
In order to assess the efficacy of energy policies implemented today, a team of researchers looked back at the influential 1980s model that predicted nuclear power would expand dramatically. Energy policies shapes how we produce and use energy, impacting jobs, costs, climate, and security. These policies are generated using simulations (also ...
7 countries, 1.3 million lives lost – the devastating impact of tobacco revealed
2023-11-16
Strict embargo: 00.01 hrs GMT
Thursday, 16th September, 2023
Every year 1.3 million lives are lost to cancers caused by smoking tobacco across the UK, US and BRICS nations (Brazil, Russia, India, China and South Africa), according to a new study, funded by Cancer Research UK.
Researchers found that together, the seven countries represented more than half of the global burden of cancer deaths every year. They concluded that smoking, as well as three other preventable risk factors – alcohol, overweight or obesity, and human papillomavirus (HPV) infections caused almost 2 million deaths combined.
The study, carried out ...
Pancreatic cancer discovery opens the door for new clinical trial
2023-11-16
Pancreatic cancer is tricky to manage because it spreads easily and early, and the tumors have a unique biological makeup. But, researchers made a breakthrough by learning about the genetic changes that occur during tumor migration — and also found a drug that can obstruct the process.
The next step is a groundbreaking clinical trial at the University of Rochester’s Wilmot Cancer Institute, planned for early in 2024, to test the drug from their laboratory discovery, said senior investigator Darren Carpizo, MD, PhD, co-leader of Wilmot’s Genetics, Epigenetics and Metabolism research program, and chief of Surgical Oncology at the University of Rochester Medical ...
UH researchers suggest hydrogen fuel can be a competitive alternative to gasoline and diesel today
2023-11-15
As the world strives to cut greenhouse gas emissions and find sustainable transportation solutions, University of Houston energy researchers suggest that hydrogen fuel can potentially be a cost-competitive and environmentally friendly alternative to traditional liquid fuels, and that supplying hydrogen for transportation in the greater Houston area can be profitable today.
A white paper titled "Competitive Pricing of Hydrogen as an Economic Alternative to Gasoline and Diesel for the Houston Transportation Sector" examines the promise for the potential of hydrogen-powered fuel cell electric vehicles (FCEVs) ...