Testing: Difference between revisions

From EPOD
(Added Test plan links)
(Added Android emulator setup)
Line 14: Line 14:
A full [[EPOD Admin Test Plan|test plan]] exists to run through all screens and functionality.
A full [[EPOD Admin Test Plan|test plan]] exists to run through all screens and functionality.


==PDA Client==
==Windows Mobile PDA Client==
This requires the Microsoft Windows Mobile 6.5 Developer Tool Kit, available from http://www.microsoft.com/download/en/details.aspx?id=17284
This requires the Microsoft Windows Mobile 6.5 Developer Tool Kit, available from http://www.microsoft.com/download/en/details.aspx?id=17284


Line 45: Line 45:


A full [[EPOD PDA Test Plan|test plan]] exists to run through all screens and functionality.
A full [[EPOD PDA Test Plan|test plan]] exists to run through all screens and functionality.
== Android Client ==
===Preparation and Installation===
You need to download and install the Android SDK - latest here: http://dl.google.com/android/installer_r21.1-windows.exe. You should check the page at http://developer.android.com/sdk/index.html for the latest.
When installed, run '''SDK Manager''', to download the different target platforms. Install the following as minimum:
* Tools
** Android SDK Tools
** Android SDK Platform-tools
* Android 2.3.3 (API 10)
** SDK Platform
** Google APIs
* Extras
** Google USB Driver
{{Note}} You can optionally add in more modern Android versions if desired - the system works on everything up to and including API 16 (Android 4.1), but these take more memory and processing, so will run slower in the emulator, and will also affect the defaults when setting up a new emulator.
===Set-up===
Set up an emulator through '''AVD Manager''', as below, using the '''New''' button:
* Name: Demo
* CPU/ABI: (ARM (armeabi)
* Target: Android 2.3.3 (API level 10)
* Skin: WVGA854
* SD Card: 512M
* Snapshot: true
* hw.lcd.density: 240
* hw.gps: yes
* hw.keyboard: yes
* vm.heapSize: 24
* snapshot.present: true
* hw.ramSize: 256
All the properties above the line are required when you choose to create a new emulator, those below the line are optional and are added using the ''Hardware Properties'' section in the '''New''' dialogue.
{{Note}} The Ram could be made a little larger, (for example 512 Mb), but this configuration runs the system well.
===Installing the App===
* Run the emulator.
* Set the time (using the '''Menu''' button/''Settings/Date and Time'')
* When started, install the apk through adb command line from the directory with the apk with:
** C:\Users\yourusername\AppData\Local\Android\android-sdk\platform-tools\adb.exe install "CALIDUS ePOD.apk"
* Note that this installation can take some time to complete.
===Configuring the App===
* On start-up of the application, you will be requested to do some set-up. Choose '''Yes'''.
* Enter the '''''Site''''' you have been provided.
* '''''Language''''' does not currently change anything, although it will, and ''Chinese'' (as listed) is an option.
* '''''Style''''' is your choice, ''Default'' is OBS standard, red is very different on the job list.
* Enter the '''''Webservice''''' - usually one of:
** <nowiki>http://www.calidus-web.com:9093/epod_dev</nowiki>
** <nowiki>http://www.calidus-web.com:9093/epod_test</nowiki>
** <nowiki>http://www.calidus-web.com:9091/epod_uat</nowiki>
** <nowiki>http://www.calidus-web.com:9091/epod_trial</nowiki>
** <nowiki>http://www.calidus-web.com:9091/epod_demo</nowiki>
* It is advised to change '''''Update Interval''''' to ''30 seconds''.
* Exit with the '''Back''' button on the emulator, or ''ESC''.
* Clear the popup with the '''Back''' button on the emulator, or ''ESC''.
===Using the Emulator===
* Selecting items can be done using the left mouse click.
* Scrolling windows can be scrolled using dragging - left-click-hold on the window, move the mouse and then release the left mouse button.
* Swiping on Tabbed windows can be achieved by dragging left or right on the window.
* Text entry can be made through the pop-up keyboard on the device window or the emulator keypad.
* With the emulator configured as above, the PC keyboard can also be used to enter data in text boxes. The numeric keypad will not work in Numlock mode.
* You can change orientation using the numeric keypad (while NOT in numlock mode), using 7 and 9 to rotate the device).
* ESC can be used as the Back key, to clear popup dialogues, move back one screen, clear drop-down lists, etc.
* The Back, Menu, Search and Home buttons can be found on the soft keyboard in the emulator window.
* Notes:
** The Tab key does NOT move the entry to the next text box - this is a Windows convention.
** You can't copy from Windows and paste into the emulator.
===Application use===
* As described in http://172.198.45.54/calidus-assist/EPOD/
* Log in with your provided ''Username'' and ''Password'', then click '''Login'''.
* Once data has been downloaded, click '''Login''' again.


[[Category:WI 287575 EPOD Development and Release Process|600]]
[[Category:WI 287575 EPOD Development and Release Process|600]]

Revision as of 12:54, 12 March 2013

Database

The development and test database is hosted on the calidus_demo server (IP: 10.43.0.73, DNS: calidus_demo, URL: www.calidus-web.com).

The database is Microsoft SQLServer 2008.

PDA Server

The PDA server is hosted on calidus_demo through Microsoft IIS. The url is www.calidus-demo.com:9091/Calidus_EPOD/Calidus_EPOD.asmx.

Admin

The Admin system is hosted on calidus_demo through Microsoft IIS. The url is www.calidus-demo.com:9091

The system can be run through any modern browser.

A full test plan exists to run through all screens and functionality.

Windows Mobile PDA Client

This requires the Microsoft Windows Mobile 6.5 Developer Tool Kit, available from http://www.microsoft.com/download/en/details.aspx?id=17284

Download the US version: Windows Mobile 6.5 Professional Developer Tool Kit (USA).msi

  • Install the toolkit.
  • Choose Windows Mobile 6 SDK/Standalone Emulator Images/US English/WM 6.5 Professional

This will start the emulator.

  • When started, change the regional settings to UK and the timezone to GMT.
  • Start Microsoft ActiveSync.
  • Choose File/Connection Settings from the menu.
  • Check Allow connections to one of the following:.
  • Choose DMA.
  • Click OK
  • Choose Windows Mobile 6 SDK/Tools/Device Emulator Manager. Your emulator should be shown on a browser.
  • Right-click and choose Cradle.
  • This will connect to ActiveSync.
  • Click Cancel.
  • Click Explore.
  • Put the PDA application installers onto the device in the Programs folder.
  • On the emulator, open the File Explorer from the Start menu.
  • Browse to the program directory and click on each installer in turn, installing them. For more details on the PDA installation process, see the page 'Install_on_Device'.
  • Click File/Save State and Exit - this will save the emulator with the software installed.

The emulator is now ready for use.

A full test plan exists to run through all screens and functionality.

Android Client

Preparation and Installation

You need to download and install the Android SDK - latest here: http://dl.google.com/android/installer_r21.1-windows.exe. You should check the page at http://developer.android.com/sdk/index.html for the latest.

When installed, run SDK Manager, to download the different target platforms. Install the following as minimum:

  • Tools
    • Android SDK Tools
    • Android SDK Platform-tools
  • Android 2.3.3 (API 10)
    • SDK Platform
    • Google APIs
  • Extras
    • Google USB Driver

Note Note: You can optionally add in more modern Android versions if desired - the system works on everything up to and including API 16 (Android 4.1), but these take more memory and processing, so will run slower in the emulator, and will also affect the defaults when setting up a new emulator.

Set-up

Set up an emulator through AVD Manager, as below, using the New button:

  • Name: Demo
  • CPU/ABI: (ARM (armeabi)
  • Target: Android 2.3.3 (API level 10)
  • Skin: WVGA854
  • SD Card: 512M
  • Snapshot: true
  • hw.lcd.density: 240
  • hw.gps: yes
  • hw.keyboard: yes
  • vm.heapSize: 24
  • snapshot.present: true
  • hw.ramSize: 256

All the properties above the line are required when you choose to create a new emulator, those below the line are optional and are added using the Hardware Properties section in the New dialogue.

Note Note: The Ram could be made a little larger, (for example 512 Mb), but this configuration runs the system well.

Installing the App

  • Run the emulator.
  • Set the time (using the Menu button/Settings/Date and Time)
  • When started, install the apk through adb command line from the directory with the apk with:
    • C:\Users\yourusername\AppData\Local\Android\android-sdk\platform-tools\adb.exe install "CALIDUS ePOD.apk"
  • Note that this installation can take some time to complete.

Configuring the App

  • On start-up of the application, you will be requested to do some set-up. Choose Yes.
  • Enter the Site you have been provided.
  • Language does not currently change anything, although it will, and Chinese (as listed) is an option.
  • Style is your choice, Default is OBS standard, red is very different on the job list.
  • Enter the Webservice - usually one of:
    • http://www.calidus-web.com:9093/epod_dev
    • http://www.calidus-web.com:9093/epod_test
    • http://www.calidus-web.com:9091/epod_uat
    • http://www.calidus-web.com:9091/epod_trial
    • http://www.calidus-web.com:9091/epod_demo
  • It is advised to change Update Interval to 30 seconds.
  • Exit with the Back button on the emulator, or ESC.
  • Clear the popup with the Back button on the emulator, or ESC.

Using the Emulator

  • Selecting items can be done using the left mouse click.
  • Scrolling windows can be scrolled using dragging - left-click-hold on the window, move the mouse and then release the left mouse button.
  • Swiping on Tabbed windows can be achieved by dragging left or right on the window.
  • Text entry can be made through the pop-up keyboard on the device window or the emulator keypad.
  • With the emulator configured as above, the PC keyboard can also be used to enter data in text boxes. The numeric keypad will not work in Numlock mode.
  • You can change orientation using the numeric keypad (while NOT in numlock mode), using 7 and 9 to rotate the device).
  • ESC can be used as the Back key, to clear popup dialogues, move back one screen, clear drop-down lists, etc.
  • The Back, Menu, Search and Home buttons can be found on the soft keyboard in the emulator window.
  • Notes:
    • The Tab key does NOT move the entry to the next text box - this is a Windows convention.
    • You can't copy from Windows and paste into the emulator.

Application use