• HOME
  • NEWS
  • EXPLORE
    • CAREER
      • Companies
      • Jobs
    • EVENTS
    • iGEM
      • News
      • Team
    • PHOTOS
    • VIDEO
    • WIKI
  • BLOG
  • COMMUNITY
    • FACEBOOK
    • INSTAGRAM
    • TWITTER
  • CONTACT US
Wednesday, November 29, 2023
BIOENGINEER.ORG
No Result
View All Result
  • Login
  • HOME
  • NEWS
  • EXPLORE
    • CAREER
      • Companies
      • Jobs
        • Lecturer
        • PhD Studentship
        • Postdoc
        • Research Assistant
    • EVENTS
    • iGEM
      • News
      • Team
    • PHOTOS
    • VIDEO
    • WIKI
  • BLOG
  • COMMUNITY
    • FACEBOOK
    • INSTAGRAM
    • TWITTER
  • CONTACT US
  • HOME
  • NEWS
  • EXPLORE
    • CAREER
      • Companies
      • Jobs
        • Lecturer
        • PhD Studentship
        • Postdoc
        • Research Assistant
    • EVENTS
    • iGEM
      • News
      • Team
    • PHOTOS
    • VIDEO
    • WIKI
  • BLOG
  • COMMUNITY
    • FACEBOOK
    • INSTAGRAM
    • TWITTER
  • CONTACT US
No Result
View All Result
Bioengineer.org
No Result
View All Result
Home NEWS Science News

A bi-directional iterative approach to Android automated testing

Bioengineer by Bioengineer
November 16, 2023
in Science News
Reading Time: 4 mins read
0
Share on FacebookShare on TwitterShare on LinkedinShare on RedditShare on Telegram

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.

The processing flow of IAAT

Credit: Yi ZHONG, Mengyu SHI, Youran XU, Chunrong FANG, Zhenyu CHEN

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.



Journal

Frontiers of Computer Science

DOI

10.1007/s11704-022-1658-8

Method of Research

Experimental study

Subject of Research

Not applicable

Article Title

Iterative Android automated testing

Article Publication Date

15-Oct-2023

Share12Tweet8Share2ShareShareShare2

Related Posts

Abnormal Mammogram

AI model predicts breast cancer risk without racial bias

November 29, 2023
Figure 1

Understanding rapid tendon regeneration in newts may one day help human athletes

November 29, 2023

Project will look for rare-earth elements in Southeast Alaska seaweed

November 29, 2023

New combination improves radiation therapy outcomes in patients with locally advanced and borderline resectable pancreatic cancer

November 29, 2023

POPULAR NEWS

  • News Package

    Study finds increasingly popular oral nicotine pouches do little to curb smokers’ cravings

    35 shares
    Share 14 Tweet 9
  • UMass Amherst receives $2.5 million from Howard Hughes Medical Institute to reshape STEM education

    34 shares
    Share 14 Tweet 9
  • SMART researchers pioneer novel microfluidic method to optimise bone marrow stem cell extraction for advanced cell therapies

    34 shares
    Share 14 Tweet 9
  • The case for engineering our food

    86 shares
    Share 34 Tweet 22

About

We bring you the latest biotechnology news from best research centers and universities around the world. Check our website.

Follow us

Recent News

AI model predicts breast cancer risk without racial bias

Understanding rapid tendon regeneration in newts may one day help human athletes

Project will look for rare-earth elements in Southeast Alaska seaweed

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 58 other subscribers
  • Contact Us

Bioengineer.org © Copyright 2023 All Rights Reserved.

No Result
View All Result
  • Homepages
    • Home Page 1
    • Home Page 2
  • News
  • National
  • Business
  • Health
  • Lifestyle
  • Science

Bioengineer.org © Copyright 2023 All Rights Reserved.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In