SE401:Group32:July 8
Implementation
- The testing application we developed is currently working on the emulator and the mobile
- Problem - we have to modify the source code of the application
- We have to add all commands to a central public list
- To do this we must add a line after each creation of a command variable
- We have to add all commands to a central public list
- In the Testing.java class we cycle through the list of commands to find the appropriate command and then execute this command (i.e. simulate command)
Steps to test applications at present
- Describe what we want to test in XML Schema
- Get java to process that XML schema and read in the elements (PC)
- Decompile the application to test
- Put the various elements into a new java file in the appropriate places - hard
- Modify the application's source code
- startApp() - two lines
- Whenever they specify a new command make a new arraylist and the add the command the list
- Build the package
- Send the package over a bluetooth connection
- Accept connection request and receive jar
- Launch the application
- On the mobile end (client) manually allow the computer to connect to the mobile
- PC side starts connection and sends over test instructions
- Test is run on the mobile