rwdshell 0.99 → 1.00

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. data/Readme.txt +8 -1
  2. data/code/01rwdcore/01rwdcore.rb +4 -1
  3. data/code/01rwdcore/jumplinkcommand.rb +6 -10
  4. data/code/01rwdcore/rundocuments.rb +10 -0
  5. data/code/01rwdcore/runeditconfiguration.rb +10 -0
  6. data/code/01rwdcore/runhelpabout.rb +10 -0
  7. data/code/01rwdcore/runopentinkerdocument.rb +7 -0
  8. data/code/01rwdcore/rwdtinkerversion.rb +11 -3
  9. data/code/01rwdcore/selectiontab.rb +9 -0
  10. data/code/01rwdcore/setuphelpaboutoptions.rb +13 -0
  11. data/code/01rwdcore/setuptinkerdocuments.rb +6 -0
  12. data/code/01rwdcore/test_cases.rb +53 -59
  13. data/code/01rwdcore/test_harness.rb +1 -0
  14. data/code/superant.com.rwdshell/loadconfigurationrecord.rb +2 -10
  15. data/code/superant.com.rwdshell/loadconfigurationvariables.rb +5 -5
  16. data/code/superant.com.rwdshell/rwdtinkerversion.rb +10 -0
  17. data/code/superant.com.rwdshell/saveconfigurationrecord.rb +4 -4
  18. data/code/superant.com.rwdshell/test_cases.rb +46 -0
  19. data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +1 -1
  20. data/code/superant.com.rwdtinkerbackwindow/listzips.rb +1 -1
  21. data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +1 -12
  22. data/code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb +11 -0
  23. data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +2 -2
  24. data/configuration/rwdapplicationidentity.dist +1 -1
  25. data/configuration/rwdshell.dist +13 -2
  26. data/configuration/rwdtinker.dist +7 -3
  27. data/configuration/tinkerwin2variables.dist +1 -1
  28. data/gui/00coreguibegin/applicationguitop.rwd +1 -1
  29. data/gui/frontwindowselectionbegin/selectiontabbegin/{selectiontabbegin.rwd → 00selectiontabbegin.rwd} +1 -1
  30. data/gui/frontwindowselectionzend/viewselectionzend/{viewselectionend.rwd → wwselectionend.rwd} +0 -0
  31. data/gui/{frontwindowtdocumentbegin/superant.com.documentsbegin/tt0documentbegin.rwd → frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd} +0 -0
  32. data/gui/frontwindowtdocuments/superant.com.documents/tinkerdocuments.rwd +14 -0
  33. data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzdocumentend.rwd +8 -0
  34. data/gui/{frontwindowz1end/frontwindowend/xx0rwdfirsttab.rwd → helpaboutbegin/superant.com.helpaboutbegin/zzzrwdlasttab.rwd} +0 -0
  35. data/gui/helpaboutbegin/superant.com.helpaboutbegin/{ya0helpscreenstart.rwd → zzzzhelpscreenstart.rwd} +0 -0
  36. data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd +15 -0
  37. data/gui/helpaboutzend/superant.com.helpaboutend/zhelpscreenstart2.rwd +3 -0
  38. data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpabout2.rwd +15 -0
  39. data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpscreen2end.rwd +3 -0
  40. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/92viewconfiguration.rwd +4 -10
  41. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +2 -10
  42. data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +1 -1
  43. data/gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd +17 -0
  44. data/rwd_files/HowTo_Shell.txt +8 -1
  45. data/rwd_files/HowTo_Tinker.txt +18 -0
  46. data/rwd_files/{rwdindex.html → RubyWebDialogs.html} +0 -0
  47. data/rwdconfig.dist +11 -2
  48. data/tests/RubyGauge.rb +179 -0
  49. data/tests/makedist.rb +1 -0
  50. data/tests/makerwdwaddresses-1.04.rb +40 -0
  51. metadata +27 -28
  52. data/code/superant.com.rwdshell/rwdshellversion.rb +0 -14
  53. data/gui/frontwindowtdocuments/superant.com.documents/uu5documents.rwd +0 -15
  54. data/gui/frontwindowtdocuments/superant.com.rubyeval/rubyeval.rwd +0 -4
  55. data/gui/frontwindowtdocuments/superant.com.shelldocument/vvdocshellxp.rwd +0 -6
  56. data/gui/frontwindowtdocuments/superant.com.tinkerwin2documents/uu5documents.rwd +0 -6
  57. data/gui/frontwindowtdocumentzend/superant.com.documentsend/ww0documentend.rwd +0 -12
  58. data/gui/helpaboutinstalled/superant.com.shellhelpabout/1appname.rwd +0 -4
  59. data/gui/helpaboutinstalled/superant.com.shellhelpabout/3copyright.rwd +0 -3
  60. data/gui/helpaboutinstalled/superant.com.shellhelpabout/5version.rwd +0 -9
  61. data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/1appname.rwd +0 -4
  62. data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/3copyright.rwd +0 -3
  63. data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/5version.rwd +0 -10
  64. data/tests/rwdtinkertestEN.rb +0 -163
  65. data/tests/test.result +0 -32
@@ -6,6 +6,7 @@
6
6
  #***********************************************************************/
7
7
  $progdir =""
8
8
  require 'fileutils'
9
+ load 'rwdconfig.dist'
9
10
  DistroName = "rwdshell"
10
11
  load "configuration/#{DistroName}.dist"
11
12
  DistroVersion=RwdShellVersion
@@ -0,0 +1,40 @@
1
+ #!/usr/bin/ruby -w
2
+ #***********************************************************************
3
+ #* Rwd/Tinker -- A Ruby program for the RudyWebDialog.
4
+ #* Copyright (c) 2004, 2005 by Steven Gibson. All Rights Reserved.
5
+ #* at "steven@superant.com".
6
+ #***********************************************************************/
7
+ $progdir =""
8
+ require 'fileutils'
9
+
10
+ DistroName = "rwdwaddresses-1.04"
11
+
12
+ $progdir = File::expand_path( File.dirname(__FILE__))
13
+ results = " "
14
+
15
+ puts "creating #{DistroName} applet distribution files "
16
+ sourcedir = "../rwdaddresses/"
17
+
18
+
19
+ fileName = "installed/" + "#{DistroName}" + ".inf"
20
+
21
+ fd = File.open(fileName,"r")
22
+ @@displaytext = " "
23
+ temp = fd.readline.chomp
24
+ while ! fd.eof?
25
+
26
+ @@displaytext = fd.readline.chomp
27
+ lastslash = @@displaytext.rindex('/')
28
+ @@pathaddress = @@displaytext.slice(0..lastslash)
29
+ puts @@pathaddress
30
+ sourcefile = sourcedir + @@displaytext
31
+ puts @@displaytext
32
+ FileUtils.mkdir_p(@@pathaddress)
33
+ @@copycommand = "cp -v -r -f -a #{sourcefile} #{@@pathaddress}"
34
+
35
+ puts `#{@@copycommand}`
36
+ end
37
+ fd.close
38
+
39
+
40
+ ListingCommand = "ls -1 -s -h *"
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.8
3
3
  specification_version: 1
4
4
  name: rwdshell
5
5
  version: !ruby/object:Gem::Version
6
- version: "0.99"
7
- date: 2005-04-02
6
+ version: "1.00"
7
+ date: 2005-04-26
8
8
  summary: rwdshell is a GUI front end for operating system commands with rwdtinker and RubyWebDialogs features.
9
9
  require_paths:
10
10
  - "."
@@ -41,6 +41,13 @@ files:
41
41
  - code/01rwdcore/test_cases.rb
42
42
  - code/01rwdcore/test_harness.rb
43
43
  - code/01rwdcore/jumplinkcommand.rb
44
+ - code/01rwdcore/selectiontab.rb
45
+ - code/01rwdcore/rundocuments.rb
46
+ - code/01rwdcore/runhelpabout.rb
47
+ - code/01rwdcore/runeditconfiguration.rb
48
+ - code/01rwdcore/setuptinkerdocuments.rb
49
+ - code/01rwdcore/setuphelpaboutoptions.rb
50
+ - code/01rwdcore/runopentinkerdocument.rb
44
51
  - code/superant.com.rwdtinkerbackwindow/controlclient.rb
45
52
  - code/superant.com.rwdtinkerbackwindow/diagnostictab.rb
46
53
  - code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb
@@ -63,6 +70,7 @@ files:
63
70
  - code/superant.com.rwdtinkerbackwindow/remotegemlist.rb
64
71
  - code/superant.com.rwdtinkerbackwindow/installremotegem.rb
65
72
  - code/superant.com.rwdtinkerbackwindow/listgemzips.rb
73
+ - code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb
66
74
  - code/zz0applicationend/zz0end.rb
67
75
  - code/superant.com.rwdshell/changescriptname.rb
68
76
  - code/superant.com.rwdshell/clearscriptscreendisplay.rb
@@ -72,7 +80,6 @@ files:
72
80
  - code/superant.com.rwdshell/playscript.rb
73
81
  - code/superant.com.rwdshell/rubyeval.rb
74
82
  - code/superant.com.rwdshell/runrwdshellwindow.rb
75
- - code/superant.com.rwdshell/rwdshellversion.rb
76
83
  - code/superant.com.rwdshell/savechangedscript.rb
77
84
  - code/superant.com.rwdshell/shelleval.rb
78
85
  - code/superant.com.rwdshell/viewscript.rb
@@ -90,6 +97,8 @@ files:
90
97
  - code/superant.com.rwdshell/loadrubyscriptrecord.rb
91
98
  - code/superant.com.rwdshell/saverubyrecord.rb
92
99
  - code/superant.com.rwdshell/clearrubyscreendisplay.rb
100
+ - code/superant.com.rwdshell/test_cases.rb
101
+ - code/superant.com.rwdshell/rwdtinkerversion.rb
93
102
  - configuration/tinkerwin2variables.dist
94
103
  - configuration/rwdtinker.dist
95
104
  - configuration/language.dist
@@ -128,35 +137,24 @@ files:
128
137
  - gui/frontwindow0/superant.com.shellscripts/4scriptutilities.rwd
129
138
  - gui/frontwindow0/superant.com.shellscripts/6rwdshelleval.rwd
130
139
  - gui/frontwindow0/superant.com.shellscripts/cb7rwdrubyeval.rwd
131
- - gui/frontwindowselectionbegin/selectiontabbegin/selectiontabbegin.rwd
140
+ - gui/frontwindowselectionbegin/selectiontabbegin/00selectiontabbegin.rwd
132
141
  - gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab
133
142
  - gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd
134
- - gui/frontwindowselectionzend/viewselectionzend/viewselectionend.rwd
135
- - gui/frontwindowtdocumentbegin/superant.com.documentsbegin
136
- - gui/frontwindowtdocumentbegin/superant.com.documentsbegin/tt0documentbegin.rwd
143
+ - gui/frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd
144
+ - gui/frontwindowselectionzend/viewselectionzend/wwselectionend.rwd
137
145
  - gui/frontwindowtdocuments/superant.com.documents
138
- - gui/frontwindowtdocuments/superant.com.tinkerwin2documents
139
- - gui/frontwindowtdocuments/superant.com.rubyeval
140
- - gui/frontwindowtdocuments/superant.com.shelldocument
141
- - gui/frontwindowtdocuments/superant.com.documents/uu5documents.rwd
142
- - gui/frontwindowtdocuments/superant.com.tinkerwin2documents/uu5documents.rwd
143
- - gui/frontwindowtdocuments/superant.com.rubyeval/rubyeval.rwd
144
- - gui/frontwindowtdocuments/superant.com.shelldocument/vvdocshellxp.rwd
145
- - gui/frontwindowtdocumentzend/superant.com.documentsend
146
- - gui/frontwindowtdocumentzend/superant.com.documentsend/ww0documentend.rwd
147
- - gui/frontwindowz1end/frontwindowend/xx0rwdfirsttab.rwd
146
+ - gui/frontwindowtdocuments/superant.com.documents/tinkerdocuments.rwd
148
147
  - gui/helpaboutbegin/superant.com.helpaboutbegin
149
- - gui/helpaboutbegin/superant.com.helpaboutbegin/ya0helpscreenstart.rwd
148
+ - gui/helpaboutbegin/superant.com.helpaboutbegin/zzdocumentend.rwd
149
+ - gui/helpaboutbegin/superant.com.helpaboutbegin/zzzrwdlasttab.rwd
150
+ - gui/helpaboutbegin/superant.com.helpaboutbegin/zzzzhelpscreenstart.rwd
150
151
  - gui/helpaboutinstalled/superant.com.tinkerhelpabout
151
- - gui/helpaboutinstalled/superant.com.shellhelpabout
152
- - gui/helpaboutinstalled/superant.com.tinkerhelpabout/1appname.rwd
153
- - gui/helpaboutinstalled/superant.com.tinkerhelpabout/3copyright.rwd
154
- - gui/helpaboutinstalled/superant.com.tinkerhelpabout/5version.rwd
155
- - gui/helpaboutinstalled/superant.com.shellhelpabout/1appname.rwd
156
- - gui/helpaboutinstalled/superant.com.shellhelpabout/3copyright.rwd
157
- - gui/helpaboutinstalled/superant.com.shellhelpabout/5version.rwd
152
+ - gui/helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd
158
153
  - gui/helpaboutzend/superant.com.helpaboutend
159
154
  - gui/helpaboutzend/superant.com.helpaboutend/helpscreenend.rwd
155
+ - gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpscreen2end.rwd
156
+ - gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpabout2.rwd
157
+ - gui/helpaboutzend/superant.com.helpaboutend/zhelpscreenstart2.rwd
160
158
  - gui/tinkerbackwindows/superant.com.tinkerbackwindow
161
159
  - gui/tinkerbackwindows/superant.com.tinkerhelpwindow
162
160
  - gui/tinkerbackwindows/superant.com.versionwindow
@@ -173,6 +171,7 @@ files:
173
171
  - gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd
174
172
  - gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd
175
173
  - gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd
174
+ - gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd
176
175
  - gui/tinkerbackwindows/superant.com.rwdshellbackwindow/1appname.rwd
177
176
  - gui/tinkerbackwindows/superant.com.rwdshellbackwindow/44listplayscripts.rwd
178
177
  - gui/tinkerbackwindows/superant.com.rwdshellbackwindow/45listscripts.rwd
@@ -189,18 +188,18 @@ files:
189
188
  - rwd_files/rdoc-style.css
190
189
  - rwd_files/Readme.txt
191
190
  - rwd_files/rwdapplications.html
192
- - rwd_files/rwdindex.html
193
191
  - rwd_files/tinker.png
192
+ - rwd_files/RubyWebDialogs.html
194
193
  - rwd_files/HowTo_RubyEval.html
195
194
  - rwd_files/HowTo_Shell.txt
196
195
  - zips/rwdahelloworld-0.5.zip
197
- - tests/rwdtinkertestEN.rb
198
- - tests/test.result
196
+ - tests/RubyGauge.rb
199
197
  - tests/totranslate.lang
200
198
  - tests/cleancnf.sh
201
199
  - tests/rdep.rb
202
200
  - tests/checkdepends.sh
203
201
  - tests/makedist.rb
202
+ - tests/makerwdwaddresses-1.04.rb
204
203
  - init.rb
205
204
  - rwdconfig.dist
206
205
  - Readme.txt
@@ -1,14 +0,0 @@
1
- # Application RwdTinker orginally (c) 2004 Steven Gibson under GPL.
2
- # This application is a framework for writing programs from RubyWebDialogs
3
- # http://www.erikveen.dds.nl/rubywebdialogs/index.html
4
- # For more information about RwdTinker see http://www.rubyforge.net/projects/rwdapplications
5
-
6
- # return the version constant defined in the config file
7
- def runrwdshellversion
8
- @rwd_window = "applicationversion"
9
- @versionappnamedisplay = "RwdShell"
10
- @versioncopyrightdisplay = "(c) 2004 Steven Gibson "
11
- @versionnumberdisplay = "Version " + RwdShellVersion
12
-
13
- end
14
-
@@ -1,15 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <row> <p align=\"left\">
4
- <a href=HowTo_Tinker.txt>Howto_Tinker.txt</a></p></row>
5
- <row> <p align=\"left\">
6
- <a href=Readme.txt>Readme.txt</a></p></row>
7
- <row> <p align=\"left\">
8
- <a href=COPYING>GPL License </a></p></row>
9
- <row> <p align=\"left\">
10
- <a href=rwdapplications.html>more information about rwdapplications </a></p></row>
11
- <row> <p align=\"left\">
12
- <a href=rwdindex.html>Link to online information about RubyWebdialogs </a></p></row>"
13
-
14
-
15
-
@@ -1,4 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <row> <p align=\"left\">
4
- <a href=HowTo_RubyEval.html>Howto_RubyEval.html</a></p></row>"
@@ -1,6 +0,0 @@
1
-
2
- $rwdguivar=
3
- "
4
- <row> <p align=\"left\">
5
- <a href=HowTo_Shell.txt>Howto_Shell.txt</a></p></row>"
6
-
@@ -1,6 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <row> <p align=\"left\">
4
- <a href=HowTo_TinkerWin2.txt>Howto_TinkerWin2.txt</a></p></row>"
5
-
6
-
@@ -1,12 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <row> <p align=\"left\"><a href=.>Spawn a clone Dialog window</a></p></row>
4
- </table>
5
- </horizontal>
6
- <horizontal>
7
-
8
- <button caption=\"Help\" action=\"runhelpwindow\"/>
9
-
10
- </horizontal>
11
- </tab>"
12
-
@@ -1,4 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <panel>
4
- <row> <p align=\"center\">rwdshell for rwdtinker</p></row>"
@@ -1,3 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <row> <p align=\"center\">copyright s. gibson 2004,2005</p></row>"
@@ -1,9 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <horizontal>
4
- <button caption=\"Click for Version\" action=\"runrwdshellversion\"/>
5
- </horizontal>
6
-
7
- </panel>"
8
-
9
-
@@ -1,4 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <panel>
4
- <row> <p align=\"center\">#{Message[:rwdtinker]}</p></row>"
@@ -1,3 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <row> <p align=\"center\">copyright s. gibson 2004,2005</p></row>"
@@ -1,10 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <horizontal>
4
- <button caption=#{Message[:clickfor_version]} action=\"runrwdtinkerversion\"/>
5
- </horizontal>
6
- </panel>"
7
-
8
-
9
-
10
-
@@ -1,163 +0,0 @@
1
- #-------------------------------------------------------------------------------------------------------------#
2
- # test with the WATIR controller
3
- #
4
- # Simple test based on Google/watir demo
5
- #
6
- #------------------------------------------------------------------------------------------------------------ #
7
-
8
- #includes
9
- require '../watir' # the controller
10
-
11
- #test::unit includes
12
- require 'test/unit'
13
- require 'test/unit/ui/console/testrunner'
14
- require '../unittests/testUnitAddons'
15
-
16
- #code to set your current path in Windows
17
- $myDir = File.dirname(__FILE__)
18
- $LOAD_PATH << $myDir
19
-
20
- class TC_rwdtinker_suite < Test::Unit::TestCase
21
-
22
-
23
-
24
- def test_a_Open1
25
- #--------------------------------------------------------
26
- # test case that shows basic WATIR functionality:
27
- # * enter text in a field
28
- # * click a button
29
- #
30
-
31
- #variables
32
- testSite = 'http://localhost:7705'
33
-
34
- #open the IE browser
35
- $ie = IE.new
36
-
37
- puts '## Beginning of test: rwdtinker'
38
- puts ' '
39
-
40
-
41
- $ie.goto(testSite)
42
- puts ' Action: entered ' + testSite + 'in the address bar.'
43
- sleep 1
44
-
45
- $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_help";document.bodyform.submit();').click
46
-
47
- $ie.button(:caption, 'Click for Version').click
48
-
49
- $ie.button(:caption, 'Cancel').click
50
-
51
-
52
-
53
- sleep 1
54
- $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_selectiontab";document.bodyform.submit();').click
55
-
56
-
57
-
58
- $ie.button(:caption, 'RwdTinker Help Window').click
59
- puts ' Action: clicked the Help Window link'
60
-
61
- end
62
-
63
- def test_b_Buttons1
64
-
65
-
66
- sleep 1
67
- $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_nexttab";document.bodyform.submit();').click
68
- puts ' Action: clicked the nexttab link'
69
-
70
-
71
- $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_main";document.bodyform.submit();').click
72
- puts ' Action: clicked the main tab link'
73
-
74
-
75
- $ie.button(:caption, "Cancel").click
76
- puts ' Action: clicked the cancel button'
77
-
78
-
79
-
80
- end
81
-
82
- def test_c_tabs
83
-
84
- $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_one";document.bodyform.submit();').click
85
- puts ' Action: clicked tab one'
86
-
87
-
88
- end
89
-
90
- def test_d_tabs
91
-
92
- $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_selectiontab";document.bodyform.submit();').click
93
- puts ' Action: clicked the selectiontab'
94
-
95
-
96
- $ie.button(:caption, 'RwdTinker Back Window').click
97
- puts ' Action: clicked the Help Window link'
98
-
99
- $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_backone";document.bodyform.submit();').click
100
- puts ' Action: clicked the backone tab'
101
-
102
-
103
- assert($ie.pageContainsText("previous window") )
104
-
105
- $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_diagnostictab";document.bodyform.submit();').click
106
- puts ' Action: clicked the diagnostictab top link'
107
-
108
-
109
- $ie.button(:caption, "View Ruby Version").click
110
- puts ' Action: clicked Ruby Version button.'
111
-
112
- assert($ie.pageContainsText("Version") )
113
-
114
- $ie.button(:caption, "view platform").click
115
- puts ' Action: clicked platform button.'
116
-
117
- assert($ie.pageContainsText("Platform is") )
118
-
119
- $ie.button(:caption, "View rwdtinker Version").click
120
- puts ' Action: clicked rwdtinker version button.'
121
-
122
- assert($ie.pageContainsText("rwdtinker version") )
123
-
124
- end # end of test_d
125
-
126
- def test_e_tabs
127
-
128
-
129
- $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_filelister";document.bodyform.submit();').click
130
-
131
-
132
- assert($ie.pageContainsText("View the list") )
133
-
134
- $ie.button(:caption, "List Files").click
135
- puts ' Action: clicked the list files button.'
136
-
137
- $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="fillappletname/rwdviewlogo-0.4.inf";document.bodyform.submit();').click
138
-
139
-
140
- $ie.button(:caption, "View Install Text").click
141
- puts ' Action: clicked the View Install Text button.'
142
-
143
- assert($ie.pageContainsText("rwdviewlogo") )
144
-
145
-
146
- end
147
-
148
- def test_f_tabs
149
-
150
- $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_zipslister";document.bodyform.submit();').click
151
-
152
- assert($ie.pageContainsText("File Name") )
153
-
154
- assert($ie.pageContainsText("view the list of zip files") )
155
-
156
- $ie.button(:caption, "List applets available for installing").click
157
- puts ' Action: clicked the List applets available for installing button.'
158
-
159
- $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="fillziptoinstallname/rwdhelloworld-0.3.zip";document.bodyform.submit();').click
160
-
161
- end
162
-
163
- end #end of class TC_google_suite