3719
|
1 |
#(
|
3731
|
2 |
language: en
|
|
3 |
intro
|
|
4 |
wait: 0.5
|
|
5 |
|
|
6 |
show: 'This short presentation shows, how to find a method when the desired result is known.'
|
3721
|
7 |
wait: 0.5
|
3719
|
8 |
show: 'Questions answered by this tool are: "which function will sort a list", or "how do I get a string in upper case".'
|
3731
|
9 |
wait: 1
|
3719
|
10 |
|
|
11 |
(unless: ( isEmpty: ReceiverEditor ) do:(
|
3731
|
12 |
(showing: 'You can clear the fields - by pressing the "Clear" button.' do:(
|
3719
|
13 |
fastMoveTo: ClearButton
|
|
14 |
click
|
|
15 |
))
|
3731
|
16 |
wait: 0.5
|
3719
|
17 |
))
|
|
18 |
|
3731
|
19 |
show: 'Let us find out, which code generates 11, given 10 and 1 as operands.'
|
|
20 |
wait: 0.5
|
|
21 |
|
|
22 |
( showing: 'First, choose the number of arguments.' do:(
|
3719
|
23 |
moveTo: AllowedArguments
|
|
24 |
select: '1 argument'
|
|
25 |
))
|
3731
|
26 |
(showing: 'Click into the "receiver" field,' do:(
|
3719
|
27 |
moveTo: ReceiverEditor
|
|
28 |
click
|
|
29 |
))
|
|
30 |
wait: 0.5
|
3731
|
31 |
(showing: 'and enter a value (or expression).' do:(
|
3719
|
32 |
type: '10'
|
|
33 |
))
|
|
34 |
wait: 0.5
|
3731
|
35 |
(showing: 'Click into the "first argument" field,' do:(
|
3719
|
36 |
moveTo: Arg1Editor
|
|
37 |
click
|
|
38 |
))
|
|
39 |
wait: 0.5
|
3731
|
40 |
(showing: 'and enter a value for the argument.' do:(
|
3719
|
41 |
type: '1'
|
|
42 |
))
|
|
43 |
wait: 0.5
|
3731
|
44 |
(showing: 'Click into the "answer" field,' do:(
|
3719
|
45 |
fastMoveTo: AnswerEditor
|
|
46 |
click
|
|
47 |
))
|
3731
|
48 |
(showing: 'and enter the expected result into the "answer" field.' do:(
|
3719
|
49 |
type: '11'
|
|
50 |
))
|
|
51 |
wait: 0.5
|
3731
|
52 |
(showing: 'Finally, click on the "Search" button.' do:(
|
3719
|
53 |
fastMoveTo: SearchButton
|
|
54 |
click
|
|
55 |
))
|
3731
|
56 |
wait: 0.5
|
|
57 |
show: 'Now, the finder searched for combinations which produce the desired result,'
|
3719
|
58 |
fastMoveTo: ResultList
|
3731
|
59 |
show: 'and presents code in the answer list below.'
|
|
60 |
wait: 1
|
|
61 |
show: 'If you select any item there,'
|
3719
|
62 |
wait: 0.5
|
|
63 |
selectIndex: 2
|
|
64 |
wait: 0.5
|
|
65 |
fastMoveTo: ImplementorsList
|
3731
|
66 |
show: 'the implementations will be shown in the top right implementor list.'
|
|
67 |
wait: 0.5
|
|
68 |
show: 'If you select any item there,'
|
3719
|
69 |
selectIndex: 1
|
|
70 |
wait: 0.5
|
3731
|
71 |
show: 'the implementation is shown in the code editor at the bottom.'
|
|
72 |
moveTo: CodeView
|
3719
|
73 |
wait: 0.5
|
|
74 |
show: 'Thank you for watching, indeed'
|
|
75 |
)
|
|
76 |
|
|
77 |
"Created: / 18-07-2019 / 21:59:06 / Claus Gittinger"
|
|
78 |
"Modified: / 19-07-2019 / 16:52:01 / Claus Gittinger"
|