rwdtinker 1.3 → 1.4
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/configuration/aa0rwdframework.cnf +2 -1
- data/gui/cc0viewphoto/cc0openphoto.rwd +1 -1
- data/gui/ll1selectiontabbegin/selectiontabbegin.rwd +2 -2
- data/gui/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +1 -1
- data/gui/tt0documentsbegin/tt0documentbegin.rwd +1 -1
- data/gui/xa5rwdtinkercallablewindow/1appname.rwd +5 -5
- data/init.rb +1 -17
- data/lang/en/rwdcore/languagefile.rb +10 -1
- data/lang/es/rwdcore/languagefile-es.rb +14 -0
- data/lang/templangfile.rb +1 -5
- data/lang/xlocallangfile.rb +2 -6
- data/zips/rwdwshell-0.91.zip +0 -0
- data/zips/wrubyslippers-0.93.zip +0 -0
- metadata +6 -8
- data/lang/es/rwdcore/languagefile.rb +0 -3
- data/tests/rubyslippers-0.92.gemspec +0 -17
- data/tests/rwdtinker-1.2.gemspec +0 -17
- data/tests/rwdtinkertestEN.rb +0 -87
- data/tests/temptest.out +0 -18
- /data/lang/nl/rwdcore/{languagefile.rb → languagefile-nl.rb} +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
$rwdguivar=
|
2
2
|
"
|
3
|
-
<tab name=\"selectiontab\" caption
|
3
|
+
<tab name=\"selectiontab\" caption=#{Message[:selection_panel]}>
|
4
4
|
|
5
5
|
<table>
|
6
6
|
<row> <p align=\"right\">Open a new window with callable applets you have loaded</row>
|
@@ -8,7 +8,7 @@ $rwdguivar=
|
|
8
8
|
</table>
|
9
9
|
<horizontal>
|
10
10
|
|
11
|
-
<button caption
|
11
|
+
<button caption=#{Message[:rwdtinker_help_window]} action=\"runrwdtinkerhelpwindow\"/>
|
12
12
|
|
13
13
|
|
14
14
|
</horizontal>"
|
@@ -1,16 +1,16 @@
|
|
1
|
-
$
|
1
|
+
$rwdguivar=
|
2
2
|
"
|
3
|
-
<window name = \"rwdtinkerhelpwindow\" title
|
3
|
+
<window name = \"rwdtinkerhelpwindow\" title=#{Message[:rwdtinker_help]}>
|
4
4
|
<tabs>
|
5
|
-
<tab name=\"main\" caption
|
5
|
+
<tab name=\"main\" caption=#{Message[:help]}>
|
6
6
|
<row> <p></row>
|
7
7
|
<row> <p>RwdTinker</row>
|
8
8
|
<cancel/>
|
9
9
|
</tab>
|
10
10
|
|
11
|
-
<tab name=\"nexttab\" caption
|
11
|
+
<tab name=\"nexttab\" caption=#{Message[:next]}>
|
12
12
|
<row> <p></row>
|
13
|
-
<row> <p
|
13
|
+
<row> <p>#{Message[:rwdtinker_help]}</row>
|
14
14
|
<cancel/>
|
15
15
|
</tab>
|
16
16
|
|
data/init.rb
CHANGED
@@ -43,21 +43,6 @@ $progdir = File::expand_path( File.dirname(__FILE__))
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
end
|
46
|
-
def findfilelines(d)
|
47
|
-
a = Array.new(Dir[d].entries.sort)
|
48
|
-
#loop through and get the files names
|
49
|
-
a.each do |x|
|
50
|
-
#adjust the filters to the files you want to see...
|
51
|
-
if(!test(?d,x))
|
52
|
-
# only rwd files
|
53
|
-
if x =~ /rb|rwd|txt/
|
54
|
-
fileA=File.open("#{x}","r") #opens the file thats in fileName as read only
|
55
|
-
$tempdoc+=fileA.read #reads the file into the doc string
|
56
|
-
fileA.close
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
60
|
-
end
|
61
46
|
def loadguifile(d)
|
62
47
|
a = Array.new(Dir[d].entries.sort)
|
63
48
|
#loop through and get the files names
|
@@ -163,7 +148,6 @@ $tempdoc = " "
|
|
163
148
|
alangfile = Dir.new(@@langdir).entries.sort.reverse.delete_if { |x| ! (x =~ /rb$/) }
|
164
149
|
alangfile.length.times{
|
165
150
|
fileName = alangfile.pop
|
166
|
-
print fileName
|
167
151
|
Dir.chdir($progdir)
|
168
152
|
Dir.chdir(@@langdir)
|
169
153
|
fileLangA=File.open("#{fileName}","r") #opens the file thats in fileName as read only
|
@@ -202,7 +186,7 @@ Dir.chdir($progdir)
|
|
202
186
|
if(!test(?d,x))
|
203
187
|
a.delete(x)
|
204
188
|
else #it is a directory...
|
205
|
-
|
189
|
+
findfiles(x + "/**")
|
206
190
|
end
|
207
191
|
end
|
208
192
|
|
@@ -1,7 +1,16 @@
|
|
1
1
|
# English Language files for RwdTinker core
|
2
2
|
|
3
|
-
|
3
|
+
|
4
4
|
:applet_installed => "applet installed!.",
|
5
5
|
:clickfor_version => '"click for version"',
|
6
|
+
:documents => '"Documents"',
|
7
|
+
:help => '"Help"',
|
8
|
+
:module_unknown => "Module unknown",
|
9
|
+
:next => '"Next"',
|
6
10
|
:rwdtinker_window_2 => "RwdTinker Window 2",
|
7
11
|
:rwdtinker => "RwdTinker",
|
12
|
+
:rwdtinker_help_window => '"RwdTinker Help Window"',
|
13
|
+
:rwdtinker_back_window => '"RwdTinker Back Window"',
|
14
|
+
:rwdtinker_help => '"RwdTinker Help"',
|
15
|
+
:tinker_logo => "Tinker Logo",
|
16
|
+
:selection_panel => '"Selection Panel"',
|
@@ -0,0 +1,14 @@
|
|
1
|
+
:applet_installed => "applet instalado! ",
|
2
|
+
:clickfor_version => '"click para version"',
|
3
|
+
:documents => '"Documentos"',
|
4
|
+
:help => '"Ayuda"',
|
5
|
+
:module_unknown => "Module desconocido.",
|
6
|
+
:next => '"Siguiente"',
|
7
|
+
:rwdtinker => "RwdTinker",
|
8
|
+
:rwdtinker_help_window => '"RwdTinker Ventana Ayuda"',
|
9
|
+
:rwdtinker_help => '"RwdTinker Ayuda"',
|
10
|
+
:rwdtinker_window_2 => "RwdTinker Ventana 2",
|
11
|
+
:rwdtinker_back_window => '"RwdTinker Ventana Trasera"',
|
12
|
+
:tinker_logo => "Insignia de Tinker",
|
13
|
+
:selection_panel => '"Selecci�n Panel"',
|
14
|
+
|
data/lang/templangfile.rb
CHANGED
data/lang/xlocallangfile.rb
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
#
|
1
|
+
# temp Language files for RwdTinker core
|
2
2
|
|
3
|
-
|
4
|
-
:applet_installed => "applet installed!.",
|
5
|
-
:clickfor_version => '"click for version"',
|
6
|
-
:rwdtinker_window_2 => "RwdTinker Window 2",
|
7
|
-
:rwdtinker => "RwdTinker",
|
3
|
+
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.3
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rwdtinker
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: "1.
|
7
|
-
date: 2005-01-
|
6
|
+
version: "1.4"
|
7
|
+
date: 2005-01-02
|
8
8
|
summary: rwdtinker application is a framework to program for RubyWebDialogs.
|
9
9
|
require_paths:
|
10
10
|
- "."
|
@@ -57,9 +57,9 @@ files:
|
|
57
57
|
- lang/zlocallangend.rb
|
58
58
|
- lang/xlocallangfile.rb
|
59
59
|
- lang/wlocallangstart.rb
|
60
|
-
- lang/es/rwdcore/languagefile.rb
|
60
|
+
- lang/es/rwdcore/languagefile-es.rb
|
61
61
|
- lang/en/rwdcore/languagefile.rb
|
62
|
-
- lang/nl/rwdcore/languagefile.rb
|
62
|
+
- lang/nl/rwdcore/languagefile-nl.rb
|
63
63
|
- gui/aa2core/aa0rwdtop.rwd
|
64
64
|
- gui/cc0viewphoto/cc0openphoto.rwd
|
65
65
|
- gui/ll1selectiontabbegin/selectiontabbegin.rwd
|
@@ -99,11 +99,9 @@ files:
|
|
99
99
|
- rwd_files/rdoc-style.css
|
100
100
|
- rwd_files/HowTo_TinkerWin2.txt
|
101
101
|
- zips/rwdhelloworld-0.3.zip
|
102
|
-
-
|
103
|
-
-
|
102
|
+
- zips/rwdwshell-0.91.zip
|
103
|
+
- zips/wrubyslippers-0.93.zip
|
104
104
|
- tests/totranslate.lang
|
105
|
-
- tests/rubyslippers-0.92.gemspec
|
106
|
-
- tests/rwdtinker-1.2.gemspec
|
107
105
|
- Readme.txt
|
108
106
|
- init.rb
|
109
107
|
test_files: []
|
@@ -1,17 +0,0 @@
|
|
1
|
-
Gem::Specification.new do |s|
|
2
|
-
s.name = %q{rubyslippers}
|
3
|
-
s.version = "0.92"
|
4
|
-
s.date = %q{2004-12-21}
|
5
|
-
s.summary = %q{rwdtinker application.}
|
6
|
-
s.require_paths = ["."]
|
7
|
-
s.email = %q{whitton@atlantic.net}
|
8
|
-
s.homepage = %q{http://grub.ath.cx/formvalidator/}
|
9
|
-
s.autorequire = %q{formvalidator}
|
10
|
-
s.has_rdoc = true
|
11
|
-
s.files = [ "README.rdoc", "code", "code/ag1core", "code/ag1core/aa0begin.rb", "code/ii6rubyslippers", "code/ii6rubyslippers/gemserve.rb", "code/ii6rubyslippers/ii3viewgemdata.rb", "code/ii6rubyslippers/ii4listgemrecord.rb", "code/ii6rubyslippers/ii6installgem.rb", "code/ii6rubyslippers/ii7listgemsremote.rb", "code/ii6rubyslippers/ii9gemcommands.rb", "code/ii6rubyslippers/ii9gemenvironment.rb", "code/ii6rubyslippers/ii9gemfilesinstalled.rb", "code/ii6rubyslippers/ii9listgemdirs.rb", "code/ii6rubyslippers/ij9execgemserve.rb", "code/ll0listapplets", "code/ll0listapplets/05listinstalledfiles.rb", "code/ll0listapplets/ll1openname.rb", "code/ll0listapplets/mm1removeapplet.rb", "code/lm1installapplets", "code/lm1installapplets/ll5listzips.rb", "code/lm1installapplets/lm1installapplet.rb", "code/zz0applicationend", "code/zz0applicationend/zz0end.rb", "configuration", "configuration/aa0rwdframework.cnf", "configuration/ii3rubyslippers.cnf", "ev", "ev/browser.rb", "ev/ftools.rb", "ev/net.rb", "ev/ruby.rb", "ev/rwd.rb", "ev/sgml.rb", "ev/thread.rb", "ev/tree.rb", "ev/xml.rb", "gui", "gui/en", "gui/en/aa2core", "gui/en/aa2core/aa0rwdtop.rwd", "gui/en/ii6rubyslippers", "gui/en/ii6rubyslippers/ii3viewgemdata.rwd", "gui/en/ii6rubyslippers/ii4listgemrecordfiles.rwd", "gui/en/ii6rubyslippers/ii6installgem.rwd", "gui/en/ii6rubyslippers/ii7listgemsremote.rwd", "gui/en/ii6rubyslippers/ii9gemcommands.rwd", "gui/en/ii6rubyslippers/ij1gemfilesinstalled.rwd", "gui/en/ii6rubyslippers/ij4gemserverscan.rwd", "gui/en/ll5listapplets", "gui/en/ll5listapplets/ll0rwdlistapplets.rwd", "gui/en/ll9rwdlistzips", "gui/en/ll9rwdlistzips/ll5rwdlistzips.rwd", "gui/en/tt0documentsbegin", "gui/en/tt0documentsbegin/tt0documentbegin.rwd", "gui/en/ui3rubyslippers", "gui/en/ui3rubyslippers/ui3rubyslippers.rwd", "gui/en/ui3rubyslippers/ui4rubyslippers.rwd", "gui/en/uu5rwddocuments", "gui/en/uu5rwddocuments/uu5documents.rwd", "gui/en/ww0documentsend", "gui/en/ww0documentsend/ww0documentend.rwd", "gui/en/wz6finaltabs", "gui/en/wz6finaltabs/xx0rwdfirsttab.rwd", "gui/en/ya1helpbegin", "gui/en/ya1helpbegin/ya0helpscreenstart.rwd", "gui/en/yg5rwdhelp", "gui/en/yg5rwdhelp/yf0helpscreen.rwd", "gui/en/yg5rwdhelp/yf6rwdtinker.rwd", "gui/en/yg5rwdhelp/yg0helpscreen.rwd", "gui/en/yi2rubyslippers", "gui/en/yi2rubyslippers/yi2rubyslippers.rwd", "gui/en/yi2rubyslippers/yi6rubyslippers.rwd", "gui/en/yi2rubyslippers/yi8rubyslippers.rwd", "gui/en/yy5helpend", "gui/en/yy5helpend/yy5helpscreenend,rwd", "gui/en/za1applicationend", "gui/en/za1applicationend/yy9rwdend.rwd", "gui/nl", "gui/nl/aa2core", "gui/nl/aa2core/aa0rwdtop.rwd", "gui/nl/ii6rubyslippers", "gui/nl/ii6rubyslippers/ii3viewgemdata.rwd", "gui/nl/ii6rubyslippers/ii4listgemrecordfiles.rwd", "gui/nl/ii6rubyslippers/ii6installgem.rwd", "gui/nl/ii6rubyslippers/ii7listgemsremote.rwd", "gui/nl/ii6rubyslippers/ii9gemcommands.rwd", "gui/nl/ii6rubyslippers/ij1gemfilesinstalled.rwd", "gui/nl/ii6rubyslippers/ij4gemserverscan.rwd", "gui/nl/ll5listapplets", "gui/nl/ll5listapplets/ll0rwdlistapplets.rwd", "gui/nl/ll9rwdlistzips", "gui/nl/ll9rwdlistzips/ll5rwdlistzips.rwd", "gui/nl/tt0documentsbegin", "gui/nl/tt0documentsbegin/tt0documentbegin.rwd", "gui/nl/ui3rubyslippers", "gui/nl/ui3rubyslippers/ui3rubyslippers.rwd", "gui/nl/ui3rubyslippers/ui4rubyslippers.rwd", "gui/nl/uu5rwddocuments", "gui/nl/uu5rwddocuments/uu5documents.rwd", "gui/nl/ww0documentsend", "gui/nl/ww0documentsend/ww0documentend.rwd", "gui/nl/wz6finaltabs", "gui/nl/wz6finaltabs/xx0rwdfirsttab.rwd", "gui/nl/ya1helpbegin", "gui/nl/ya1helpbegin/ya0helpscreenstart.rwd", "gui/nl/yg5rwdhelp", "gui/nl/yg5rwdhelp/yf0helpscreen.rwd", "gui/nl/yg5rwdhelp/yf6rwdtinker.rwd", "gui/nl/yg5rwdhelp/yg0helpscreen.rwd", "gui/nl/yi2rubyslippers", "gui/nl/yi2rubyslippers/yi2rubyslippers.rwd", "gui/nl/yi2rubyslippers/yi6rubyslippers.rwd", "gui/nl/yi2rubyslippers/yi8rubyslippers.rwd", "gui/nl/yy5helpend", "gui/nl/yy5helpend/yy5helpscreenend,rwd", "gui/nl/za1applicationend", "gui/nl/za1applicationend/yy9rwdend.rwd", "init.rb", "installed", "installed/fullrubyslippers-0.91.inf", "installed/rwdlistapplets-0.4.inf", "installed/rwdlistzips-0.4.inf", "Readme.txt", "rwd_files", "rwd_files/COPYING", "rwd_files/favicon.ico", "rwd_files/GemDocuments.html", "rwd_files/HowTo_RubySlippers.html", "rwd_files/HowTo_Tinker.html", "rwd_files/HowTo_Tinker.txt", "rwd_files/Readme.txt", "rwd_files/rwdapplications.html", "rwd_files/rwdindex.html", "rwd_files/tinker.png", "zips"]
|
12
|
-
s.rdoc_options = ["--main", "README.rdoc", "rwd_files/HowTo_RubySlippers.html"]
|
13
|
-
s.extra_rdoc_files = ["README.rdoc"]
|
14
|
-
end.description = %q{rwdtinker.}
|
15
|
-
|
16
|
-
|
17
|
-
|
data/tests/rwdtinker-1.2.gemspec
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
Gem::Specification.new do |s|
|
2
|
-
s.name = %q{rwdtinker}
|
3
|
-
s.version = "1.1"
|
4
|
-
s.date = %q{2004-12-24}
|
5
|
-
s.summary = %q{rwdtinker application.}
|
6
|
-
s.require_paths = ["."]
|
7
|
-
s.email = %q{steven@superant.com}
|
8
|
-
s.homepage = %q{http://rubyforge.net/projects/rwdapplications/}
|
9
|
-
s.autorequire = %q{rwdtinker}
|
10
|
-
s.has_rdoc = true
|
11
|
-
s.files = [ "code", "code/ag1core", "code/ag1core/aa0begin.rb", "code/ll0listapplets", "code/ll0listapplets/05listinstalledfiles.rb", "code/ll0listapplets/ll1openname.rb", "code/ll0listapplets/mm1removeapplet.rb", "code/lm1installapplets", "code/lm1installapplets/ll5listzips.rb", "code/lm1installapplets/lm1installapplet.rb", "code/zz0applicationend", "code/zz0applicationend/zz0end.rb", "configuration", "configuration/aa0rwdframework.cnf", "ev", "ev/browser.rb", "ev/ftools.rb", "ev/net.rb", "ev/ruby.rb", "ev/rwd.rb", "ev/sgml.rb", "ev/thread.rb", "ev/tree.rb", "ev/xml.rb", "gui", "gui/en", "gui/en/aa2core", "gui/en/aa2core/aa0rwdtop.rwd", "gui/en/ll5listapplets", "gui/en/ll5listapplets/ll0rwdlistapplets.rwd", "gui/en/ll9rwdlistzips", "gui/en/ll9rwdlistzips/ll5rwdlistzips.rwd", "gui/en/tt0documentsbegin", "gui/en/tt0documentsbegin/tt0documentbegin.rwd", "gui/en/uu5rwddocuments", "gui/en/uu5rwddocuments/uu5documents.rwd", "gui/en/ww0documentsend", "gui/en/ww0documentsend/ww0documentend.rwd", "gui/en/wz6finaltabs", "gui/en/wz6finaltabs/xx0rwdfirsttab.rwd", "gui/en/ya1helpbegin", "gui/en/ya1helpbegin/ya0helpscreenstart.rwd", "gui/en/yg5rwdhelp", "gui/en/yg5rwdhelp/yf0helpscreen.rwd", "gui/en/yg5rwdhelp/yf6rwdtinker.rwd", "gui/en/yg5rwdhelp/yg0helpscreen.rwd", "gui/en/yy5helpend", "gui/en/yy5helpend/yy5helpscreenend,rwd", "gui/en/za1applicationend", "gui/en/za1applicationend/yy9rwdend.rwd", "gui/nl", "gui/nl/aa2core", "gui/nl/aa2core/aa0rwdtop.rwd", "gui/nl/ll5listapplets", "gui/nl/ll5listapplets/ll0rwdlistapplets.rwd", "gui/nl/ll9rwdlistzips", "gui/nl/ll9rwdlistzips/ll5rwdlistzips.rwd", "gui/nl/tt0documentsbegin", "gui/nl/tt0documentsbegin/tt0documentbegin.rwd", "gui/nl/uu5rwddocuments", "gui/nl/uu5rwddocuments/uu5documents.rwd", "gui/nl/ww0documentsend", "gui/nl/ww0documentsend/ww0documentend.rwd", "gui/nl/wz6finaltabs", "gui/nl/wz6finaltabs/xx0rwdfirsttab.rwd", "gui/nl/ya1helpbegin", "gui/nl/ya1helpbegin/ya0helpscreenstart.rwd", "gui/nl/yg5rwdhelp", "gui/nl/yg5rwdhelp/yf0helpscreen.rwd", "gui/nl/yg5rwdhelp/yf6rwdtinker.rwd", "gui/nl/yg5rwdhelp/yg0helpscreen.rwd", "gui/nl/yy5helpend", "gui/nl/yy5helpend/yy5helpscreenend,rwd", "gui/nl/za1applicationend", "gui/nl/za1applicationend/yy9rwdend.rwd", "init.rb", "installed", "installed/rwdlistapplets-0.4.inf", "installed/rwdlistzips-0.4.inf", "Readme.txt", "rwd_files", "rwd_files/COPYING", "rwd_files/favicon.ico", "rwd_files/HowTo_Tinker.html", "rwd_files/HowTo_Tinker.txt", "rwd_files/Readme.txt", "rwd_files/rwdapplications.html", "rwd_files/rwdindex.html", "rwd_files/tinker.png", "zips"]
|
12
|
-
s.rdoc_options = ["--main", "rwd_files/HowTo_Tinker.txt"]
|
13
|
-
s.extra_rdoc_files = ["README.txt"]
|
14
|
-
end.description = %q{rwdtinker.}
|
15
|
-
|
16
|
-
|
17
|
-
|
data/tests/rwdtinkertestEN.rb
DELETED
@@ -1,87 +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
|
-
$ie.goto(testSite)
|
41
|
-
puts ' Action: entered ' + testSite + 'in the address bar.'
|
42
|
-
sleep 1
|
43
|
-
|
44
|
-
$ie.button(:caption, "View Photo").click
|
45
|
-
puts ' Action: clicked the View Photo link'
|
46
|
-
|
47
|
-
sleep 1
|
48
|
-
$ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_main";document.bodyform.submit();').click
|
49
|
-
puts ' Action: clicked the main top link'
|
50
|
-
end
|
51
|
-
|
52
|
-
def test_b_Buttons1
|
53
|
-
sleep 1
|
54
|
-
$ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_filelister";document.bodyform.submit();').click
|
55
|
-
puts ' Action: clicked the file lister tab'
|
56
|
-
|
57
|
-
sleep 1
|
58
|
-
|
59
|
-
$ie.button(:caption, "List Files").click
|
60
|
-
puts ' Action: clicked the List Files button.'
|
61
|
-
|
62
|
-
sleep 1
|
63
|
-
|
64
|
-
assert($ie.pageContainsText("File Name") )
|
65
|
-
sleep 1
|
66
|
-
|
67
|
-
$ie.button(:caption, "View Install Text").click
|
68
|
-
puts ' Action: clicked the View Install Text button.'
|
69
|
-
|
70
|
-
sleep 1
|
71
|
-
$ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_zipslister";document.bodyform.submit();').click
|
72
|
-
|
73
|
-
puts ' '
|
74
|
-
puts '## End of 2st test: '
|
75
|
-
|
76
|
-
end # end of test_b_buttons1
|
77
|
-
|
78
|
-
def test_c_tabs
|
79
|
-
|
80
|
-
$ie.button(:caption, "List applets available for installing").click
|
81
|
-
puts ' Action: clicked the List applets available for installing button.'
|
82
|
-
|
83
|
-
end
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
end #end of class TC_google_suite
|
data/tests/temptest.out
DELETED
@@ -1,18 +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 View Photo link
|
7
|
-
Action: clicked the main top link
|
8
|
-
Action: clicked the file lister tab
|
9
|
-
Action: clicked the List Files button.
|
10
|
-
pageContainsText: Looking for: File Name (string) - found it ok
|
11
|
-
Action: clicked the View Install Text button.
|
12
|
-
|
13
|
-
## End of 2st test:
|
14
|
-
Action: clicked the List applets available for installing button.
|
15
|
-
|
16
|
-
Finished in 18.676 seconds.
|
17
|
-
|
18
|
-
3 tests, 1 assertions, 0 failures, 0 errors
|
File without changes
|