rwdmovies 0.94 → 0.95
Sign up to get free protection for your applications and to get access to all the features.
- data/Readme.txt +413 -99
- data/code/01rwdcore/01rwdcore.rb +1 -1
- data/code/01rwdcore/jumplinkcommand.rb +26 -0
- data/code/01rwdcore/rundocuments.rb +10 -0
- data/code/01rwdcore/runeditconfiguration.rb +10 -0
- data/code/01rwdcore/runhelpabout.rb +10 -0
- data/code/01rwdcore/selectiontab.rb +9 -0
- data/code/01rwdcore/test_cases.rb +53 -59
- data/code/01rwdcore/test_harness.rb +1 -0
- data/code/superant.com.rwdmovies/runrwdmoviesconfiguration.rb +9 -0
- data/code/superant.com.rwdmovies/runrwdmoviestab.rb +9 -0
- data/code/superant.com.rwdmovies/test_cases.rb +48 -0
- data/code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb +11 -0
- data/configuration/rwdapplicationidentity.dist +2 -2
- data/configuration/rwdmovies.dist +4 -4
- data/configuration/rwdtinker.dist +3 -3
- data/configuration/tinkerwin2variables.dist +1 -1
- data/gui/00coreguibegin/applicationguitop.rwd +1 -1
- data/gui/frontwindow0/superant.com.rwdmovies/6editrecord.rwd +9 -9
- data/gui/frontwindowselectionbegin/selectiontabbegin/selectiontabbegin.rwd +2 -7
- data/gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd +15 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +17 -0
- data/rwd_files/HowTo_Tinker.txt +9 -0
- data/rwd_files/tinker.png +0 -0
- data/rwdconfig.dist +4 -2
- data/tests/RubyGauge.rb +179 -0
- data/tests/makedist.rb +1 -0
- metadata +17 -8
- data/gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +0 -12
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/80tab1.rwd +0 -11
- data/tests/rwdtinkertestEN.rb +0 -163
- data/tests/test.result +0 -32
@@ -0,0 +1,17 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=selectiontab caption=\"Selection Tab\">
|
4
|
+
<horizontal>
|
5
|
+
<button caption=\"Show Jump Links\" action=\"showjumplinkoptions\"/>
|
6
|
+
|
7
|
+
</horizontal>
|
8
|
+
<table>
|
9
|
+
<select name=\"a_jumplinkinput\"> %%jumplinkoptions%% </select>
|
10
|
+
|
11
|
+
</table>
|
12
|
+
|
13
|
+
<horizontal>
|
14
|
+
<button caption=\"Jump to Application Location\" action=\"runjumplinkcommand\"/>
|
15
|
+
</horizontal>
|
16
|
+
</tab>
|
17
|
+
"
|
data/rwd_files/HowTo_Tinker.txt
CHANGED
@@ -227,10 +227,19 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
227
227
|
Thanks, Steven Gibson
|
228
228
|
|
229
229
|
== Changelog
|
230
|
+
Version 1.64
|
231
|
+
fixed jump with no location
|
232
|
+
|
233
|
+
Version 1.63
|
234
|
+
changed handling of application name returned
|
235
|
+
added jump seletion options
|
236
|
+
added some unit tests
|
237
|
+
|
230
238
|
version 1.62
|
231
239
|
improve distro release script
|
232
240
|
code cleanup
|
233
241
|
removed redundent network code
|
242
|
+
change handling of window and tab jumps
|
234
243
|
|
235
244
|
version 1.61
|
236
245
|
add in test harness
|
Binary file
|
data/rwdconfig.dist
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##VERSION:1.
|
1
|
+
##VERSION:1.63
|
2
2
|
# rwdtinker core configuration file
|
3
3
|
##NAME: ConfigLocation:0
|
4
4
|
ConfigLocation=""
|
@@ -7,4 +7,6 @@ ConfigLocation=""
|
|
7
7
|
##NAME:$testharnessarray:0
|
8
8
|
$testharnessarray = ["rwdtinker_all_tests"]
|
9
9
|
##NAME:TestNow:0
|
10
|
-
TestNow=false
|
10
|
+
TestNow=false # turning this on will run the unit tests
|
11
|
+
##NAME:$testharness:0
|
12
|
+
$testharness=true
|
data/tests/RubyGauge.rb
ADDED
@@ -0,0 +1,179 @@
|
|
1
|
+
#--------------------------------------------------------------------#
|
2
|
+
# #
|
3
|
+
# RubyGauge version 1 #
|
4
|
+
# Copyright (c) 2005, Harrison Ainsworth. #
|
5
|
+
# #
|
6
|
+
# http://hxa7241.org/ #
|
7
|
+
# #
|
8
|
+
#--------------------------------------------------------------------#
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
require 'find'
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
# Counts lines of code in ruby source files.
|
19
|
+
#
|
20
|
+
# just a simple example ruby program, produced as an exercise.
|
21
|
+
#
|
22
|
+
# * directories are looked in recursively for source files
|
23
|
+
# * source files with the following name extensions are recognized:
|
24
|
+
# .rb .rbw
|
25
|
+
# * a line is counted as code if it is not empty and not solely comment
|
26
|
+
#
|
27
|
+
# == requirements
|
28
|
+
# ruby 1.8
|
29
|
+
#
|
30
|
+
# == usage
|
31
|
+
# RubyGauge.rb [-f...] (file|directory)pathname ...
|
32
|
+
# RubyGauge.rb -help|-?
|
33
|
+
#
|
34
|
+
# switches:
|
35
|
+
# -f<[l|s][1|2]> set output format to long/short, linecount only /
|
36
|
+
# linecount and filecount (defaults to -fl2)
|
37
|
+
# -help|-? prints this message
|
38
|
+
#
|
39
|
+
# ==acknowledgements
|
40
|
+
# * ruby: http://ruby-lang.org/
|
41
|
+
# * the pragmaticprogrammers pickaxe book:
|
42
|
+
# http://phrogz.net/ProgrammingRuby/
|
43
|
+
# * rubygarden: http://rubygarden.org/ruby?CodingInRuby
|
44
|
+
#
|
45
|
+
# == license
|
46
|
+
# this software is too short and insignificant to have a license.
|
47
|
+
|
48
|
+
module RubyGauge
|
49
|
+
|
50
|
+
# Entry point if run from the command line.
|
51
|
+
#
|
52
|
+
# Reads command line args, writes output to stdout.
|
53
|
+
#
|
54
|
+
def RubyGauge.main
|
55
|
+
|
56
|
+
# check if help message needed
|
57
|
+
if $*.empty? || !(RubyGauge.getSwitchs( $*, '(help|\?)' ).empty?)
|
58
|
+
|
59
|
+
puts "\n#{@@BANNER}\n#{@@HELP}"
|
60
|
+
|
61
|
+
else
|
62
|
+
|
63
|
+
# count
|
64
|
+
pathnames = RubyGauge.getTokens( $*, '^[^-\/]', ' ' )
|
65
|
+
|
66
|
+
fileCount = []
|
67
|
+
lineCount = RubyGauge.countLinesInFileTree( pathnames, fileCount )
|
68
|
+
|
69
|
+
# output counts
|
70
|
+
format = RubyGauge.getSwitchs( $*, 'f', '-fl2' ).last[2,2]
|
71
|
+
|
72
|
+
(@@LINES_FORMAT = { 's' => "#{lineCount}" }).default = "\n #{lineCount} line#{lineCount == 1 ? '' : 's'} of code\n"
|
73
|
+
(@@FILES_FORMAT = { 's' => " #{fileCount}" }).default = " #{fileCount[0]} file#{fileCount[0] == 1 ? '' : 's'}\n"
|
74
|
+
print @@LINES_FORMAT[format[0,1]]
|
75
|
+
print @@FILES_FORMAT[format[0,1]] unless format[1,1] == '1'
|
76
|
+
|
77
|
+
end
|
78
|
+
|
79
|
+
end
|
80
|
+
|
81
|
+
|
82
|
+
def RubyGauge.getSwitchs( commandline, pattern, default=nil )
|
83
|
+
|
84
|
+
RubyGauge.getTokens( commandline, '^(-|\/)' + pattern, default )
|
85
|
+
|
86
|
+
end
|
87
|
+
|
88
|
+
|
89
|
+
def RubyGauge.getTokens( commandline, pattern, default=nil )
|
90
|
+
|
91
|
+
tokens = []
|
92
|
+
|
93
|
+
commandline.each do |token|
|
94
|
+
if token =~ /#{pattern}/
|
95
|
+
tokens.push token
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
if tokens.empty? && default
|
100
|
+
tokens.push default
|
101
|
+
end
|
102
|
+
|
103
|
+
tokens
|
104
|
+
|
105
|
+
end
|
106
|
+
|
107
|
+
|
108
|
+
# Counts lines of ruby code in filetree recursively.
|
109
|
+
#
|
110
|
+
# A line is counted as code if it is not empty and not solely comment.
|
111
|
+
#
|
112
|
+
# == parameters
|
113
|
+
# * pathnames: Array of String of file or directory pathname
|
114
|
+
# (relative or absolute)
|
115
|
+
# * fileCount: Array of Numeric, length 1. Just an example of a
|
116
|
+
# 'reference' parameter
|
117
|
+
# * return: Fixnum of the line count
|
118
|
+
#
|
119
|
+
def RubyGauge.countLinesInFileTree( pathnames, fileCount=[] )
|
120
|
+
|
121
|
+
fileCount[0] = 0
|
122
|
+
lineCount = 0
|
123
|
+
|
124
|
+
# scan directory tree
|
125
|
+
Find.find( *pathnames ) do |fileOrDirName|
|
126
|
+
|
127
|
+
# filter file types (to ruby)
|
128
|
+
if FileTest.file?( fileOrDirName ) &&
|
129
|
+
FileTest.readable?( fileOrDirName ) &&
|
130
|
+
fileOrDirName =~ /\.(rb|rbw)\Z/
|
131
|
+
|
132
|
+
fileCount[0] += 1
|
133
|
+
|
134
|
+
filePathname = File.expand_path( fileOrDirName )
|
135
|
+
|
136
|
+
# read file
|
137
|
+
File.open( filePathname, 'r' ) do |file|
|
138
|
+
|
139
|
+
# scan file lines
|
140
|
+
file.each_line do |line|
|
141
|
+
# select non blank, non comment-only line
|
142
|
+
unless line =~ /^\s*(#|\Z)/
|
143
|
+
lineCount += 1
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
end
|
148
|
+
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
lineCount
|
153
|
+
|
154
|
+
end
|
155
|
+
|
156
|
+
|
157
|
+
@@BANNER = "-------------------------------------------------------------\n" +
|
158
|
+
"RubyGauge 2005 (v1)\n" +
|
159
|
+
"Copyright (c) 2005, Harrison Ainsworth.\n\n" +
|
160
|
+
"http://hxa7241.org/\n" +
|
161
|
+
"-------------------------------------------------------------\n"
|
162
|
+
|
163
|
+
@@HELP = "RubyGauge counts lines of code in ruby source files.\n\n" +
|
164
|
+
"* directories are looked in recursively for source files\n" +
|
165
|
+
"* source files with the following name extensions are recognized: .rb .rbw\n" +
|
166
|
+
"* a line is counted as code if it is not empty and not solely comment\n" +
|
167
|
+
"\nusage:\n" +
|
168
|
+
" RubyGauge.rb [-f...] (file|directory)pathname ...\n" +
|
169
|
+
" RubyGauge.rb -help|-?\n" +
|
170
|
+
"\nswitches:\n" +
|
171
|
+
" -f<[l|s][1|2]> set output format to long/short, linecount only / linecount and filecount (defaults to -fl2)\n" +
|
172
|
+
" -help|-? prints this message\n"
|
173
|
+
|
174
|
+
end
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
RubyGauge.main
|
data/tests/makedist.rb
CHANGED
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.8
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rwdmovies
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: "0.
|
7
|
-
date: 2005-
|
6
|
+
version: "0.95"
|
7
|
+
date: 2005-04-12
|
8
8
|
summary: rwdmovies application is a movie database using RubyWebDialogs.
|
9
9
|
require_paths:
|
10
10
|
- "."
|
@@ -38,6 +38,11 @@ files:
|
|
38
38
|
- code/01rwdcore/uploadreturns.rb
|
39
39
|
- code/01rwdcore/test_cases.rb
|
40
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
|
41
46
|
- code/superant.com.rwdtinkerbackwindow/controlclient.rb
|
42
47
|
- code/superant.com.rwdtinkerbackwindow/diagnostictab.rb
|
43
48
|
- code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb
|
@@ -60,6 +65,7 @@ files:
|
|
60
65
|
- code/superant.com.rwdtinkerbackwindow/remotegemlist.rb
|
61
66
|
- code/superant.com.rwdtinkerbackwindow/installremotegem.rb
|
62
67
|
- code/superant.com.rwdtinkerbackwindow/listgemzips.rb
|
68
|
+
- code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb
|
63
69
|
- code/zz0applicationend/zz0end.rb
|
64
70
|
- code/superant.com.rwdmovies/attachtmpmoviepicture.rb
|
65
71
|
- code/superant.com.rwdmovies/deletemovierecord.rb
|
@@ -84,6 +90,9 @@ files:
|
|
84
90
|
- code/superant.com.rwdmovies/showamazonsettings.rb
|
85
91
|
- code/superant.com.rwdmovies/downloadpic.rb
|
86
92
|
- code/superant.com.rwdmovies/createmovierecord.rb
|
93
|
+
- code/superant.com.rwdmovies/test_cases.rb
|
94
|
+
- code/superant.com.rwdmovies/runrwdmoviestab.rb
|
95
|
+
- code/superant.com.rwdmovies/runrwdmoviesconfiguration.rb
|
87
96
|
- configuration/tinkerwin2variables.dist
|
88
97
|
- configuration/rwdtinker.dist
|
89
98
|
- configuration/language.dist
|
@@ -113,7 +122,7 @@ files:
|
|
113
122
|
- gui/frontwindow0/superant.com.rwdmovies/6moviesearch.rwd
|
114
123
|
- gui/frontwindowselectionbegin/selectiontabbegin/selectiontabbegin.rwd
|
115
124
|
- gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab
|
116
|
-
- gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/
|
125
|
+
- gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd
|
117
126
|
- gui/frontwindowselectionzend/viewselectionzend/viewselectionend.rwd
|
118
127
|
- gui/frontwindowtdocumentbegin/superant.com.documentsbegin
|
119
128
|
- gui/frontwindowtdocumentbegin/superant.com.documentsbegin/tt0documentbegin.rwd
|
@@ -148,9 +157,9 @@ files:
|
|
148
157
|
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd
|
149
158
|
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd
|
150
159
|
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdcontrol.rwd
|
151
|
-
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/80tab1.rwd
|
152
160
|
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd
|
153
161
|
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd
|
162
|
+
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd
|
154
163
|
- gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd
|
155
164
|
- gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd
|
156
165
|
- gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd
|
@@ -164,8 +173,9 @@ files:
|
|
164
173
|
- rwd_files/Readme.txt
|
165
174
|
- rwd_files/rwdapplications.html
|
166
175
|
- rwd_files/rwdindex.html
|
167
|
-
- rwd_files/
|
176
|
+
- rwd_files/tinker.png
|
168
177
|
- rwd_files/moviestmp.jpg
|
178
|
+
- rwd_files/HowTo_Movies.txt
|
169
179
|
- zips/rwdahelloworld-0.5.zip
|
170
180
|
- extras/rconftool.rb
|
171
181
|
- extras/zip/ioextras.rb
|
@@ -181,16 +191,15 @@ files:
|
|
181
191
|
- movies/Zulu.jpg
|
182
192
|
- movies/Zulu.nam
|
183
193
|
- movies/Last of the Mohicans.nam
|
184
|
-
- tests/
|
185
|
-
- tests/test.result
|
194
|
+
- tests/RubyGauge.rb
|
186
195
|
- tests/totranslate.lang
|
187
196
|
- tests/cleancnf.sh
|
188
197
|
- tests/rdep.rb
|
189
198
|
- tests/checkdepends.sh
|
190
199
|
- tests/makedist.rb
|
200
|
+
- Readme.txt
|
191
201
|
- init.rb
|
192
202
|
- rwdconfig.dist
|
193
|
-
- Readme.txt
|
194
203
|
test_files: []
|
195
204
|
rdoc_options:
|
196
205
|
- "--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
|