tg4rb 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -1
- data/README.txt +15 -5
- data/lib/tg4rb.rb +1 -1
- data/lib/tg4w_to_firewatir.rb +1 -1
- metadata +3 -3
data/History.txt
CHANGED
data/README.txt
CHANGED
@@ -7,15 +7,22 @@ tg4rb
|
|
7
7
|
This is a translator from TestGen4Web to FireWatir. TestGen4Web is a Firefox
|
8
8
|
extension that records user actions on websites and outputs them as XML.
|
9
9
|
FireWatir is a library that allows one to programatically control a Firefox
|
10
|
-
instance.
|
10
|
+
instance. *tg4rb* reads XML and outputs Ruby code that uses FireWatir to
|
11
11
|
reproduce the actions recorded with TestGen4Web.
|
12
12
|
|
13
|
-
== FEATURES
|
13
|
+
== FEATURES:
|
14
14
|
|
15
|
-
* takes an XML with actions from tg4w and outputs stand-alone Ruby code that can be run directly or embedded into existing code (e.g. for test automation)
|
16
|
-
* can be used as a library or as an executable script
|
15
|
+
* takes an XML with actions from tg4w and outputs stand-alone Ruby code that can be run directly or embedded into existing code (e.g. for test automation).
|
16
|
+
* can be used as a library or as an executable script.
|
17
17
|
* takes the xpath from tg4w and uses only enough info to guarantee the uniqueness of the referenced element, allowing the generated script to keep working even with some change on page structure.
|
18
18
|
|
19
|
+
== PROBLEMS:
|
20
|
+
|
21
|
+
* the generated code is damn ugly.
|
22
|
+
* a few action types from the XML input still aren't recognized.
|
23
|
+
* some dependencies aren't very clearly sorted out yet. you might find you need something that is not specified. if yes, please report this as an issue in our issue tracker.
|
24
|
+
* i don't know, find more and let me know =)
|
25
|
+
|
19
26
|
== SYNOPSIS:
|
20
27
|
|
21
28
|
doc = Document.new(File.read(xml_file))
|
@@ -27,6 +34,9 @@ reproduce the actions recorded with TestGen4Web.
|
|
27
34
|
== REQUIREMENTS:
|
28
35
|
|
29
36
|
* rexml
|
37
|
+
* hoe
|
38
|
+
* rubyforge
|
39
|
+
* rake
|
30
40
|
|
31
41
|
== INSTALL:
|
32
42
|
|
@@ -36,7 +46,7 @@ reproduce the actions recorded with TestGen4Web.
|
|
36
46
|
|
37
47
|
== LICENSE:
|
38
48
|
|
39
|
-
(
|
49
|
+
(GNU General Public License)
|
40
50
|
|
41
51
|
Copyright (C) 2007 Helder dos Santos Ribeiro
|
42
52
|
|
data/lib/tg4rb.rb
CHANGED
data/lib/tg4w_to_firewatir.rb
CHANGED
metadata
CHANGED
@@ -3,15 +3,15 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: tg4rb
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
7
|
-
date: 2007-07-
|
6
|
+
version: 0.0.2
|
7
|
+
date: 2007-07-11 00:00:00 -03:00
|
8
8
|
summary: A recorder for FireWatir
|
9
9
|
require_paths:
|
10
10
|
- lib
|
11
11
|
email: helder@gmail.com
|
12
12
|
homepage: " by Helder Ribeiro"
|
13
13
|
rubyforge_project: firewatir-gen
|
14
|
-
description: "== FEATURES
|
14
|
+
description: "== FEATURES: * takes an XML with actions from tg4w and outputs stand-alone Ruby code that can be run directly or embedded into existing code (e.g. for test automation). * can be used as a library or as an executable script. * takes the xpath from tg4w and uses only enough info to guarantee the uniqueness of the referenced element, allowing the generated script to keep working even with some change on page structure. == PROBLEMS: * the generated code is damn ugly. * a few action types from the XML input still aren't recognized. * some dependencies aren't very clearly sorted out yet. you might find you need something that is not specified. if yes, please report this as an issue in our issue tracker. * i don't know, find more and let me know =) == SYNOPSIS:"
|
15
15
|
autorequire:
|
16
16
|
default_executable:
|
17
17
|
bindir: bin
|