Lab 7 Instructions
Dr. Suleman Shahid and Dr. Abdul Ali Bangash, Department of Computing Science, LUMS (2026). Dr. Hazel Campbell, Department of Computing Science, University of Alberta (2019, 2023, 2024). Dr. Abram Hindle, Department of Computing Science, University of Alberta (2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023). Alexander Wong, 2019. status: published summary: Lab 7 Instructions [TOC]
Lab 7 Instructions
Lab Topic/Demo
- Lab7 Instructions-Android UI Testing
- Lab 7 Starter Code (clone this repo)
- Lab 7 Starter Code Download
Lab 7 Participation Exercise
# Implement and test activity: ShowActivity (create by yourself to have the following property)
- By clicking on the city list, the UI should change to another activity which is "ShowActivity"
- The activity shows the city name you have clicked on
- Create a back button which goes back to MainActivity
# Test: (create 3 test cases/functions to test the 3 following functionalities)
- Check whether the activity correctly switched
- Test whether the city name is consistent
- Test the "back" button
Submission
LMS

Due Date
Tuesday 5PM