resources/shows/MethodFinder_en.show
changeset 3719 4a8a3dc10ed8
parent 3718 28252bcf11ad
child 3720 88345ce4ef2d
equal deleted inserted replaced
3718:28252bcf11ad 3719:4a8a3dc10ed8
     1 #(
       
     2 	show: 'this little presentation shows, how to find a method when the desired result is known'
       
     3 	wait 0.5
       
     4 	show: 'Questions answered by this tool are: "which function will sort a list", or "how do I get a string in upper case".'
       
     5 
       
     6 	intro
       
     7 
       
     8 	(unless: ( isEmpty: ReceiverEditor ) do:(
       
     9 	    (showing: 'you can clear the fields - by pressing the "Clear" button' do:(
       
    10 		    fastMoveTo: ClearButton
       
    11 		    click
       
    12 	    ))
       
    13 	))
       
    14 
       
    15 	( showing: 'start by choosing the number of arguments,' do:(
       
    16 	    moveTo: AllowedArguments
       
    17 	    select: '1 argument'
       
    18 	))
       
    19 	(showing: 'Click into the "receiver" field' do:(
       
    20 	    moveTo: ReceiverEditor
       
    21 	    click
       
    22 	))
       
    23 	wait: 0.5
       
    24 	(showing: 'Enter a value (or expression) into "receiver" field' do:(
       
    25 	    type: '10'
       
    26 	))
       
    27 	wait: 0.5
       
    28 	(showing: 'Click into the "first argument" field' do:(
       
    29 	    moveTo: Arg1Editor
       
    30 	    click
       
    31 	))
       
    32 	wait: 0.5
       
    33 	(showing: 'and enter a value for the argument' do:(
       
    34 	    type: '1'
       
    35 	))
       
    36 	wait: 0.5
       
    37 	(showing: 'Click into the "answer" field' do:(
       
    38 	    fastMoveTo: AnswerEditor
       
    39 	    click
       
    40 	))
       
    41 	(showing: 'Enter the expected result value into the "answer" field' do:(
       
    42 	    type: '11'
       
    43 	))
       
    44 	wait: 0.5
       
    45 	(showing: 'and finally, Click on the "search" button' do:(
       
    46 	    fastMoveTo: SearchButton
       
    47 	    click
       
    48 	))
       
    49 	show: 'now, the finder searches for combinations that produce the desired result'
       
    50 	fastMoveTo: ResultList
       
    51 	show: 'and present code which would produce it in the answer list below'
       
    52 	show: 'if you select any item there,'
       
    53 	wait: 0.5
       
    54 	selectIndex: 2
       
    55 	wait: 0.5
       
    56 	fastMoveTo: ImplementorsList
       
    57 	show: 'the implementations will be shown in the top right implementor list'
       
    58 	show: 'if you select any item there,'
       
    59 	selectIndex: 1
       
    60 	wait: 0.5
       
    61 	show: 'the implementation is shown in the bottom code editor'
       
    62 	fastMoveTo: CodeView
       
    63 	wait: 0.5
       
    64 	show: 'Thank you for watching, indeed'
       
    65 )
       
    66 
       
    67     "Created: / 18-07-2019 / 21:59:06 / Claus Gittinger"
       
    68     "Modified: / 19-07-2019 / 16:52:01 / Claus Gittinger"