forked from tema-tut/tema-android-adapter
/
tema.android-adapter.1
73 lines (62 loc) · 1.54 KB
/
tema.android-adapter.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.TH tema.android-adapter.1 local "7 December 2010" "version 3.2"
.SH NAME
tema.android-adapter - Tool for running online Keyword-based tests in Android
.SH SYNOPSIS
.B tema.android-adapter
.RB [ " options " ]
target
.SH DESCRIPTION
tema.android-adapter is an automatic test tool for running Keyword-driven
tests in Android emulator and Android development phones. The tool can be used
to run Model-Based Tests with the TEMA Test Engine, to run keyword-based
scripts, or by giving keywords interactively from a prompt.
Adapter requires Android SDK. The tools directory of the SDK must be found
from path.
.SH ARGUMENTS
.TP
.B target
Target name to use for testrun.
.SH OPTIONS
.TP
.B \-i, \--interactive
Run tema.android-adapter in interactive mode
.TP
.B \-f FILENAME,\--file=FILENAME
Runs a keyword script from the given file
.TP
.B \-a ADDRESS \-p PORT,\--address=ADDRESS \--port=PORT
Runs a test from a TEMA MBT server in a given address and port
.TP
.B \--record
Write testlog to logs directory
.TP
.B \-t DELAY,\--time=DELAY
Delay (in seconds) between consecutive keywords
.TP
-B \--protocol=PROTOCOL
HTTP or HTTPS. If not given, socket is used
.SH EXAMPLES
Read keywords from file testfile.txt and execute them.
.nf
.ft B
cat testfile.txt
.ft
LaunchApp 'Contacts'
.ft B
tema.android-adapter -f testfile.txt
.ft R
.fi
Execute keywords interactively
.nf
.ft B
tema.android-adapter -i
.ft R
.fi
Execute keywords using TEMA testengine
.nf
.ft B
tema.android-adapter -a localhost -p 9090
.ft R
.fi
.SH SEE ALSO
tema.testengine(1)