SE401:Group32:July 8

From Marks Wiki
Revision as of 05:21, 3 November 2008 by Mark (Sọ̀rọ̀ | contribs) (7 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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
  • 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

  1. Describe what we want to test in XML Schema
  2. Get java to process that XML schema and read in the elements (PC)
  3. Decompile the application to test
  4. Put the various elements into a new java file in the appropriate places - hard
  5. Modify the application's source code
    1. startApp() - two lines
    2. Whenever they specify a new command make a new arraylist and the add the command the list
  6. Build the package
  7. Send the package over a bluetooth connection
  8. Accept connection request and receive jar
  9. Launch the application
  10. On the mobile end (client) manually allow the computer to connect to the mobile
  11. PC side starts connection and sends over test instructions
  12. Test is run on the mobile

◄ Main Page