resources/shows/MethodFinderWindow_en.show
changeset 3719 4a8a3dc10ed8
child 3721 7b3f78e993ad
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/resources/shows/MethodFinderWindow_en.show	Mon Jul 22 17:05:07 2019 +0200
@@ -0,0 +1,68 @@
+#(
+	show: 'this little presentation shows, how to find a method when the desired result is known'
+	wait 0.5
+	show: 'Questions answered by this tool are: "which function will sort a list", or "how do I get a string in upper case".'
+
+	intro
+
+	(unless: ( isEmpty: ReceiverEditor ) do:(
+	    (showing: 'you can clear the fields - by pressing the "Clear" button' do:(
+		    fastMoveTo: ClearButton
+		    click
+	    ))
+	))
+
+	( showing: 'start by choosing the number of arguments,' do:(
+	    moveTo: AllowedArguments
+	    select: '1 argument'
+	))
+	(showing: 'Click into the "receiver" field' do:(
+	    moveTo: ReceiverEditor
+	    click
+	))
+	wait: 0.5
+	(showing: 'Enter a value (or expression) into "receiver" field' do:(
+	    type: '10'
+	))
+	wait: 0.5
+	(showing: 'Click into the "first argument" field' do:(
+	    moveTo: Arg1Editor
+	    click
+	))
+	wait: 0.5
+	(showing: 'and enter a value for the argument' do:(
+	    type: '1'
+	))
+	wait: 0.5
+	(showing: 'Click into the "answer" field' do:(
+	    fastMoveTo: AnswerEditor
+	    click
+	))
+	(showing: 'Enter the expected result value into the "answer" field' do:(
+	    type: '11'
+	))
+	wait: 0.5
+	(showing: 'and finally, Click on the "search" button' do:(
+	    fastMoveTo: SearchButton
+	    click
+	))
+	show: 'now, the finder searches for combinations that produce the desired result'
+	fastMoveTo: ResultList
+	show: 'and present code which would produce it in the answer list below'
+	show: 'if you select any item there,'
+	wait: 0.5
+	selectIndex: 2
+	wait: 0.5
+	fastMoveTo: ImplementorsList
+	show: 'the implementations will be shown in the top right implementor list'
+	show: 'if you select any item there,'
+	selectIndex: 1
+	wait: 0.5
+	show: 'the implementation is shown in the bottom code editor'
+	fastMoveTo: CodeView
+	wait: 0.5
+	show: 'Thank you for watching, indeed'
+)
+
+    "Created: / 18-07-2019 / 21:59:06 / Claus Gittinger"
+    "Modified: / 19-07-2019 / 16:52:01 / Claus Gittinger"