[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

How to run this tests for jx8-android

Requirements

Alternatives to run tests

There is two ways to run tests in your device
  1. Scanning a QR code
  2. Connecting your device to U8 tools

Scanning QR with the expression to test

  1. start the JX8 environment in your android device
  2. open the menu (top right corner of screen) and select ScanApp
  3. point to the QR code
  4. see results on Transcript (or java console monitor)

Using U8 tools connected from desktop (or other device)

  1. start the JX8 environment in your android device
  2. start WI8 contribution following this link
  3. open a workspace
  4. press the connect icon and connect the workspace to the SystemServer
  5. Enter an expression to evaluate in the workspace pane and check it is working with "showIt"
  6. Evaluate in the workspace the expression to start testing
    SwikiCodeRobot @> #(test jx8-android)
NoteTo check the server can be accessed from this computer, try pointing your web navigator to the URL you use to connect to the SystemServer. It should return a page indicating the server is running.


Uploaded Image: alert.gifFollow this link to open the development environment with a workspace connected to http://192.168.1.126:8088
-The link has been obtained evaluating with showIt
'http://u8.smalltalking.net/profile/aleReimondo/Swiki/tools/index.html?doIt=',
'[UI8Workspace open connectTo: ''http://192.168.1.126:8088'']valueDeferred: 300' escaped
change the IP address to connect to another server
To create a QR code image in this swiki pointing to a page, add an <IMG src="theURL"> HTML element in the page where "theURL" is the result of evaluating the following expression in a workspace
UI8Workspace new
	qrFor: 'SwikiCodeRobot @> #(test jx8-android)'
	width: 300 height: 300