rwdhypernote 0.06 → 0.07
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/code/01rwdcore/01rwdcore.rb +15 -13
- data/code/01rwdcore/jumplinkcommand.rb +26 -0
- data/code/01rwdcore/openhelpwindow.rb +26 -26
- data/code/01rwdcore/returntomain.rb +8 -8
- data/code/01rwdcore/rundocuments.rb +10 -0
- data/code/01rwdcore/runeditconfiguration.rb +10 -0
- data/code/01rwdcore/runhelpabout.rb +10 -0
- data/code/01rwdcore/rwdtinkerversion.rb +12 -13
- data/code/01rwdcore/rwdwindowreturn.rb +3 -5
- data/code/01rwdcore/selectiontab.rb +9 -0
- data/code/01rwdcore/test_cases.rb +109 -0
- data/code/01rwdcore/test_harness.rb +13 -0
- data/code/01rwdcore/uploadreturns.rb +60 -60
- data/code/superant.com.rwdtinkerbackwindow/controlclient.rb +89 -92
- data/code/superant.com.rwdtinkerbackwindow/diagnostictab.rb +15 -21
- data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +19 -18
- data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +20 -19
- data/code/superant.com.rwdtinkerbackwindow/installremotegem.rb +19 -18
- data/code/superant.com.rwdtinkerbackwindow/listgemdirs.rb +7 -7
- data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +48 -49
- data/code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb +8 -7
- data/code/superant.com.rwdtinkerbackwindow/listzips.rb +22 -26
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +32 -31
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb +14 -13
- data/code/superant.com.rwdtinkerbackwindow/network.rb +82 -82
- data/code/superant.com.rwdtinkerbackwindow/openappletname.rb +18 -17
- data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +37 -37
- data/code/superant.com.rwdtinkerbackwindow/remotegemlist.rb +20 -20
- data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +33 -32
- data/code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb +11 -0
- data/code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb +8 -9
- data/code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb +10 -11
- data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +19 -18
- data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +21 -20
- data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +23 -20
- data/configuration/language.dist +1 -1
- data/configuration/rwdapplicationidentity.dist +2 -2
- data/configuration/rwdhypernote.dist +2 -2
- data/configuration/rwdtinker.dist +3 -3
- data/configuration/tinkerwin2variables.dist +1 -1
- data/gui/00coreguibegin/applicationguitop.rwd +1 -1
- data/gui/frontwindowselectionbegin/selectiontabbegin/selectiontabbegin.rwd +2 -7
- data/gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd +15 -0
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/3copyright.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +17 -0
- data/init.rb +231 -228
- data/rwd_files/HowTo_HyperNote.txt +6 -0
- data/rwd_files/HowTo_Tinker.txt +16 -0
- data/rwdconfig.dist +8 -2
- data/tests/makedist.rb +37 -8
- metadata +14 -12
- data/gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +0 -12
- data/gui/helpaboutinstalled/superant.com.rwdwin2helpabout/1appname.rwd +0 -4
- data/gui/helpaboutinstalled/superant.com.rwdwin2helpabout/3copyright.rwd +0 -3
- data/gui/helpaboutinstalled/superant.com.rwdwin2helpabout/5version.rwd +0 -10
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/80tab1.rwd +0 -11
- data/tests/rwdtinkertestEN.rb +0 -163
- data/tests/test.result +0 -32
|
@@ -81,6 +81,12 @@ Steven Gibson
|
|
|
81
81
|
steven@superant.com
|
|
82
82
|
|
|
83
83
|
== Changelog
|
|
84
|
+
Version 0.07
|
|
85
|
+
updated for rwdtinker version 1.63
|
|
86
|
+
changed handling of application name returned
|
|
87
|
+
added jump seletion options
|
|
88
|
+
added some unit tests
|
|
89
|
+
|
|
84
90
|
version 0.06
|
|
85
91
|
added configuration editing tab
|
|
86
92
|
added more help information
|
data/rwd_files/HowTo_Tinker.txt
CHANGED
|
@@ -227,6 +227,22 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
|
227
227
|
Thanks, Steven Gibson
|
|
228
228
|
|
|
229
229
|
== Changelog
|
|
230
|
+
Version 1.63
|
|
231
|
+
changed handling of application name returned
|
|
232
|
+
added jump seletion options
|
|
233
|
+
added some unit tests
|
|
234
|
+
|
|
235
|
+
version 1.62
|
|
236
|
+
improve distro release script
|
|
237
|
+
code cleanup
|
|
238
|
+
removed redundent network code
|
|
239
|
+
change handling of window and tab jumps
|
|
240
|
+
|
|
241
|
+
version 1.61
|
|
242
|
+
add in test harness
|
|
243
|
+
rwdtinkerwin2 help about removed
|
|
244
|
+
load main config file in init.rb
|
|
245
|
+
|
|
230
246
|
version 1.60
|
|
231
247
|
add rwdapplication info to diagnostic
|
|
232
248
|
turn rescue on in diagnostic upload
|
data/rwdconfig.dist
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
##VERSION:1.
|
|
1
|
+
##VERSION:1.63
|
|
2
2
|
# rwdtinker core configuration file
|
|
3
3
|
##NAME: ConfigLocation:0
|
|
4
4
|
ConfigLocation=""
|
|
5
5
|
##NAME: ZipsLocation:0
|
|
6
|
-
ZipsLocation=""
|
|
6
|
+
ZipsLocation=""
|
|
7
|
+
##NAME:$testharnessarray:0
|
|
8
|
+
$testharnessarray = ["rwdtinker_all_tests"]
|
|
9
|
+
##NAME:TestNow:0
|
|
10
|
+
TestNow=false # turning this on will run the unit tests
|
|
11
|
+
##NAME:$testharness:0
|
|
12
|
+
$testharness=true
|
data/tests/makedist.rb
CHANGED
|
@@ -1,29 +1,58 @@
|
|
|
1
1
|
#!/usr/bin/ruby -w
|
|
2
2
|
#***********************************************************************
|
|
3
|
-
#* Rwd/
|
|
3
|
+
#* Rwd/Tinker -- A Ruby program for the RudyWebDialog.
|
|
4
4
|
#* Copyright (c) 2004, 2005 by Steven Gibson. All Rights Reserved.
|
|
5
5
|
#* at "steven@superant.com".
|
|
6
6
|
#***********************************************************************/
|
|
7
|
-
|
|
7
|
+
$progdir =""
|
|
8
8
|
require 'fileutils'
|
|
9
|
-
|
|
9
|
+
DistroName = "rwdhypernote"
|
|
10
|
+
load "configuration/#{DistroName}.dist"
|
|
11
|
+
DistroVersion=RwdHyperNoteVersion
|
|
12
|
+
|
|
13
|
+
DistroTitle="#{DistroName}-#{DistroVersion}"
|
|
14
|
+
|
|
15
|
+
|
|
10
16
|
|
|
11
17
|
$progdir = File::expand_path( File.dirname(__FILE__))
|
|
12
18
|
results = " "
|
|
13
|
-
|
|
19
|
+
|
|
20
|
+
puts "creating #{DistroName} distribution files version #{DistroVersion}"
|
|
14
21
|
puts "cleaning conf files"
|
|
15
22
|
`tests/cleancnf.sh`
|
|
16
23
|
puts "moving up one directory"
|
|
17
24
|
Dir.chdir("..")
|
|
18
25
|
|
|
19
|
-
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
FileUtils.rm_rf("#{DistroTitle}.zip")
|
|
29
|
+
zipcreatecmd = "zip -r #{DistroTitle}.zip #{DistroName}"
|
|
20
30
|
puts "#{zipcreatecmd}"
|
|
21
31
|
`#{zipcreatecmd}`
|
|
22
|
-
tarcreatecmd = "tar --gzip -cf
|
|
32
|
+
tarcreatecmd = "tar --gzip -cf #{DistroTitle}.tar.gz #{DistroName}"
|
|
23
33
|
puts "#{tarcreatecmd}"
|
|
24
34
|
`#{tarcreatecmd}`
|
|
25
|
-
tarcreatecmd2 = "tar --bzip2 -cf
|
|
35
|
+
tarcreatecmd2 = "tar --bzip2 -cf #{DistroTitle}.tar.bz2 #{DistroName}"
|
|
26
36
|
puts "#{tarcreatecmd2}"
|
|
27
37
|
`#{tarcreatecmd2}`
|
|
28
38
|
|
|
29
|
-
|
|
39
|
+
gemspecfilename = "#{DistroTitle}.gemspec"
|
|
40
|
+
tobject = Time.now
|
|
41
|
+
year = tobject.year.to_s
|
|
42
|
+
month = tobject.mon.to_s
|
|
43
|
+
daydate = tobject.day.to_s
|
|
44
|
+
|
|
45
|
+
fd = File.open(gemspecfilename,"w")
|
|
46
|
+
fd.print("Gem::Specification.new do |s|\n")
|
|
47
|
+
fd.print(" s.name = %q{#{DistroName}}\n")
|
|
48
|
+
fd.print(" s.version = \"#{DistroVersion}\"\n")
|
|
49
|
+
fd.print(" s.date = %q{#{year}-#{month}-#{daydate}}")
|
|
50
|
+
load "#{DistroName}/tests/gemspec"
|
|
51
|
+
fd.print($gemspecvar)
|
|
52
|
+
fd.close
|
|
53
|
+
|
|
54
|
+
ListingCommand = "ls -1 -s -h #{DistroTitle}*"
|
|
55
|
+
|
|
56
|
+
puts `#{ListingCommand}`
|
|
57
|
+
|
|
58
|
+
print "Build finished\n"
|
metadata
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
|
-
rubygems_version: 0.8.
|
|
2
|
+
rubygems_version: 0.8.8
|
|
3
3
|
specification_version: 1
|
|
4
4
|
name: rwdhypernote
|
|
5
5
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version: "0.
|
|
7
|
-
date: 2005-
|
|
6
|
+
version: "0.07"
|
|
7
|
+
date: 2005-04-04
|
|
8
8
|
summary: rwdhypernote application is a hierarchical note taker for RubyWebDialogs.
|
|
9
9
|
require_paths:
|
|
10
10
|
- "."
|
|
@@ -36,6 +36,13 @@ files:
|
|
|
36
36
|
- code/01rwdcore/rwdtinkerversion.rb
|
|
37
37
|
- code/01rwdcore/rwdwindowreturn.rb
|
|
38
38
|
- code/01rwdcore/uploadreturns.rb
|
|
39
|
+
- code/01rwdcore/test_cases.rb
|
|
40
|
+
- code/01rwdcore/test_harness.rb
|
|
41
|
+
- code/01rwdcore/jumplinkcommand.rb
|
|
42
|
+
- code/01rwdcore/selectiontab.rb
|
|
43
|
+
- code/01rwdcore/rundocuments.rb
|
|
44
|
+
- code/01rwdcore/runhelpabout.rb
|
|
45
|
+
- code/01rwdcore/runeditconfiguration.rb
|
|
39
46
|
- code/superant.com.rwdtinkerbackwindow/controlclient.rb
|
|
40
47
|
- code/superant.com.rwdtinkerbackwindow/diagnostictab.rb
|
|
41
48
|
- code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb
|
|
@@ -58,6 +65,7 @@ files:
|
|
|
58
65
|
- code/superant.com.rwdtinkerbackwindow/remotegemlist.rb
|
|
59
66
|
- code/superant.com.rwdtinkerbackwindow/installremotegem.rb
|
|
60
67
|
- code/superant.com.rwdtinkerbackwindow/listgemzips.rb
|
|
68
|
+
- code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb
|
|
61
69
|
- code/zz0applicationend/zz0end.rb
|
|
62
70
|
- code/superant.com.hypernote/archiveevent.rb
|
|
63
71
|
- code/superant.com.hypernote/changehypernotename.rb
|
|
@@ -114,7 +122,7 @@ files:
|
|
|
114
122
|
- gui/frontwindow0/superant.com.hypernote/67viewconfiguration.rwd
|
|
115
123
|
- gui/frontwindowselectionbegin/selectiontabbegin/selectiontabbegin.rwd
|
|
116
124
|
- gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab
|
|
117
|
-
- gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/
|
|
125
|
+
- gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd
|
|
118
126
|
- gui/frontwindowselectionzend/viewselectionzend/viewselectionend.rwd
|
|
119
127
|
- gui/frontwindowtdocumentbegin/superant.com.documentsbegin
|
|
120
128
|
- gui/frontwindowtdocumentbegin/superant.com.documentsbegin/tt0documentbegin.rwd
|
|
@@ -129,12 +137,8 @@ files:
|
|
|
129
137
|
- gui/frontwindowz1end/frontwindowend/xx0rwdfirsttab.rwd
|
|
130
138
|
- gui/helpaboutbegin/superant.com.helpaboutbegin
|
|
131
139
|
- gui/helpaboutbegin/superant.com.helpaboutbegin/ya0helpscreenstart.rwd
|
|
132
|
-
- gui/helpaboutinstalled/superant.com.rwdwin2helpabout
|
|
133
140
|
- gui/helpaboutinstalled/superant.com.tinkerhelpabout
|
|
134
141
|
- gui/helpaboutinstalled/superant.com.rwdhypernotehelpabout
|
|
135
|
-
- gui/helpaboutinstalled/superant.com.rwdwin2helpabout/1appname.rwd
|
|
136
|
-
- gui/helpaboutinstalled/superant.com.rwdwin2helpabout/3copyright.rwd
|
|
137
|
-
- gui/helpaboutinstalled/superant.com.rwdwin2helpabout/5version.rwd
|
|
138
142
|
- gui/helpaboutinstalled/superant.com.tinkerhelpabout/1appname.rwd
|
|
139
143
|
- gui/helpaboutinstalled/superant.com.tinkerhelpabout/3copyright.rwd
|
|
140
144
|
- gui/helpaboutinstalled/superant.com.tinkerhelpabout/5version.rwd
|
|
@@ -151,9 +155,9 @@ files:
|
|
|
151
155
|
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd
|
|
152
156
|
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd
|
|
153
157
|
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdcontrol.rwd
|
|
154
|
-
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/80tab1.rwd
|
|
155
158
|
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd
|
|
156
159
|
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd
|
|
160
|
+
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd
|
|
157
161
|
- gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd
|
|
158
162
|
- gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd
|
|
159
163
|
- gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd
|
|
@@ -179,16 +183,14 @@ files:
|
|
|
179
183
|
- Notes/rwdtinker/RwdtinkerProgrammingQuickStart.lnk
|
|
180
184
|
- Notes/rwdtinker/RwdtinkerProgrammingQuickStart.txt
|
|
181
185
|
- Notes/rwdtinker/testnote2.txt
|
|
182
|
-
- tests/rwdtinkertestEN.rb
|
|
183
|
-
- tests/test.result
|
|
184
186
|
- tests/totranslate.lang
|
|
185
187
|
- tests/cleancnf.sh
|
|
186
188
|
- tests/rdep.rb
|
|
187
189
|
- tests/checkdepends.sh
|
|
188
190
|
- tests/makedist.rb
|
|
189
191
|
- init.rb
|
|
190
|
-
- Readme.txt
|
|
191
192
|
- rwdconfig.dist
|
|
193
|
+
- Readme.txt
|
|
192
194
|
test_files: []
|
|
193
195
|
rdoc_options:
|
|
194
196
|
- "--main"
|
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
|
data/tests/test.result
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
Loaded suite C:/ruby/sample/watir/examples/rwdtinkertestEN
|
|
2
|
-
Started
|
|
3
|
-
## Beginning of test: rwdtinker
|
|
4
|
-
|
|
5
|
-
Action: entered http://localhost:7705in the address bar.
|
|
6
|
-
Action: clicked the Help Window link
|
|
7
|
-
Action: clicked the nexttab link
|
|
8
|
-
Action: clicked the main tab link
|
|
9
|
-
Action: clicked the cancel button
|
|
10
|
-
Action: clicked tab one
|
|
11
|
-
Action: clicked the selectiontab
|
|
12
|
-
Action: clicked the Help Window link
|
|
13
|
-
Action: clicked the backone tab
|
|
14
|
-
pageContainsText: Looking for: previous window (string) - found it ok
|
|
15
|
-
Action: clicked the diagnostictab top link
|
|
16
|
-
Action: clicked Ruby Version button.
|
|
17
|
-
pageContainsText: Looking for: Version (string) - found it ok
|
|
18
|
-
Action: clicked platform button.
|
|
19
|
-
pageContainsText: Looking for: Platform is (string) - found it ok
|
|
20
|
-
Action: clicked rwdtinker version button.
|
|
21
|
-
pageContainsText: Looking for: rwdtinker version (string) - found it ok
|
|
22
|
-
pageContainsText: Looking for: View the list (string) - found it ok
|
|
23
|
-
Action: clicked the list files button.
|
|
24
|
-
Action: clicked the View Install Text button.
|
|
25
|
-
pageContainsText: Looking for: rwdviewlogo (string) - found it ok
|
|
26
|
-
pageContainsText: Looking for: File Name (string) - found it ok
|
|
27
|
-
pageContainsText: Looking for: view the list of zip files (string) - found it ok
|
|
28
|
-
Action: clicked the List applets available for installing button.
|
|
29
|
-
|
|
30
|
-
Finished in 32.716 seconds.
|
|
31
|
-
|
|
32
|
-
6 tests, 8 assertions, 0 failures, 0 errors
|