rwdshell 0.99 → 1.00
Sign up to get free protection for your applications and to get access to all the features.
- data/Readme.txt +8 -1
- data/code/01rwdcore/01rwdcore.rb +4 -1
- data/code/01rwdcore/jumplinkcommand.rb +6 -10
- data/code/01rwdcore/rundocuments.rb +10 -0
- data/code/01rwdcore/runeditconfiguration.rb +10 -0
- data/code/01rwdcore/runhelpabout.rb +10 -0
- data/code/01rwdcore/runopentinkerdocument.rb +7 -0
- data/code/01rwdcore/rwdtinkerversion.rb +11 -3
- data/code/01rwdcore/selectiontab.rb +9 -0
- data/code/01rwdcore/setuphelpaboutoptions.rb +13 -0
- data/code/01rwdcore/setuptinkerdocuments.rb +6 -0
- data/code/01rwdcore/test_cases.rb +53 -59
- data/code/01rwdcore/test_harness.rb +1 -0
- data/code/superant.com.rwdshell/loadconfigurationrecord.rb +2 -10
- data/code/superant.com.rwdshell/loadconfigurationvariables.rb +5 -5
- data/code/superant.com.rwdshell/rwdtinkerversion.rb +10 -0
- data/code/superant.com.rwdshell/saveconfigurationrecord.rb +4 -4
- data/code/superant.com.rwdshell/test_cases.rb +46 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/listzips.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +1 -12
- data/code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb +11 -0
- data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +2 -2
- data/configuration/rwdapplicationidentity.dist +1 -1
- data/configuration/rwdshell.dist +13 -2
- data/configuration/rwdtinker.dist +7 -3
- data/configuration/tinkerwin2variables.dist +1 -1
- data/gui/00coreguibegin/applicationguitop.rwd +1 -1
- data/gui/frontwindowselectionbegin/selectiontabbegin/{selectiontabbegin.rwd → 00selectiontabbegin.rwd} +1 -1
- data/gui/frontwindowselectionzend/viewselectionzend/{viewselectionend.rwd → wwselectionend.rwd} +0 -0
- data/gui/{frontwindowtdocumentbegin/superant.com.documentsbegin/tt0documentbegin.rwd → frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd} +0 -0
- data/gui/frontwindowtdocuments/superant.com.documents/tinkerdocuments.rwd +14 -0
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzdocumentend.rwd +8 -0
- data/gui/{frontwindowz1end/frontwindowend/xx0rwdfirsttab.rwd → helpaboutbegin/superant.com.helpaboutbegin/zzzrwdlasttab.rwd} +0 -0
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/{ya0helpscreenstart.rwd → zzzzhelpscreenstart.rwd} +0 -0
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd +15 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/zhelpscreenstart2.rwd +3 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpabout2.rwd +15 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpscreen2end.rwd +3 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/92viewconfiguration.rwd +4 -10
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +2 -10
- data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd +17 -0
- data/rwd_files/HowTo_Shell.txt +8 -1
- data/rwd_files/HowTo_Tinker.txt +18 -0
- data/rwd_files/{rwdindex.html → RubyWebDialogs.html} +0 -0
- data/rwdconfig.dist +11 -2
- data/tests/RubyGauge.rb +179 -0
- data/tests/makedist.rb +1 -0
- data/tests/makerwdwaddresses-1.04.rb +40 -0
- metadata +27 -28
- data/code/superant.com.rwdshell/rwdshellversion.rb +0 -14
- data/gui/frontwindowtdocuments/superant.com.documents/uu5documents.rwd +0 -15
- data/gui/frontwindowtdocuments/superant.com.rubyeval/rubyeval.rwd +0 -4
- data/gui/frontwindowtdocuments/superant.com.shelldocument/vvdocshellxp.rwd +0 -6
- data/gui/frontwindowtdocuments/superant.com.tinkerwin2documents/uu5documents.rwd +0 -6
- data/gui/frontwindowtdocumentzend/superant.com.documentsend/ww0documentend.rwd +0 -12
- data/gui/helpaboutinstalled/superant.com.shellhelpabout/1appname.rwd +0 -4
- data/gui/helpaboutinstalled/superant.com.shellhelpabout/3copyright.rwd +0 -3
- data/gui/helpaboutinstalled/superant.com.shellhelpabout/5version.rwd +0 -9
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/1appname.rwd +0 -4
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/3copyright.rwd +0 -3
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/5version.rwd +0 -10
- data/tests/rwdtinkertestEN.rb +0 -163
- data/tests/test.result +0 -32
data/tests/makedist.rb
CHANGED
@@ -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: "
|
7
|
-
date: 2005-04-
|
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/
|
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/
|
135
|
-
- gui/
|
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.
|
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/
|
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.
|
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/
|
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
|
-
|
data/tests/rwdtinkertestEN.rb
DELETED
@@ -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
|