Group Chatting Applications to simulate group communication among 5 Android Devices. Something similar to what Whatsapp does
PROJECT SPECIFICATION: https://docs.google.com/document/d/1KxjccTa7bza9eQWsNMCqkZIkGR7QbUHQYv_LlQUYZMA/pub
TEST SCRIPTS: The test scripts (Depending on the Operating System) can be downloaded from the links provided in the project specifications.
NOTE: FYR the project specifications and test scripts are also provided in the Respective Folders
11 STEPS TO REALIZE THIS PROJECT:
-
Check the directory "Test Scripts for Project".
-
This directory contains the python scripts that are to be executed to test the project
-
Under this directory in the Terminal execute the script 'create_avd.py' to create 5 AVDs Use the command "python create_avd.py 5"
-
Once the AVDs are created, excute the script 'run_avd.py' script to start 5 AVDs For the purpose use the command: "python run_avd.py 5"
-
When the 2 AVDs are up and running, each AVD needs to be assigned a port number
-
To do this execute the script 'set_redir.py' Command to be used: "python set_redir.py 10000" This command will make sure that all the AVDs are connected to each other by a single Server port number 10000
-
Now the Tester is good to go ahead with the execution of the App on the AVDs
-
For this project Eclipse was used to install the GroupMessenger App on the AVDs
-
Once the App is up and running on both the AVDs, the Tester may play around with it
-
Type some text in Edit Text given in the bottom of the App in the AVD
-
Press Enter Key and all other AVDs receive the text. Same goes with the other AVD
TO DO AUTOMATED TESTING (Mac OS):
-
Use the script "groupmessenger-grading.osx" script given in the Test Script folder to perform the automated testing of the code.
-
Make sure that "775" permissions are provided to the script. To do that use : chmod 755 groupmessenger-grading.osx
-
Install the App on the AVDs.
-
Execute the script from its directory using : ./groupmessenger-grading.osx
-
Watch the MAGIC happen... ;)
To send in comments or report a bug: sarrafan[at]buffalo[dot]edu