awetestlib 0.1.5-x86-mingw32 → 0.1.6-x86-mingw32

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.
@@ -43,6 +43,13 @@ module Awetestlib
43
43
  @y_tolerance = 4
44
44
  end
45
45
 
46
+ def build_message(strg1, desc = '', strg2 = '', strg3 = '')
47
+ msg = "#{strg1}"
48
+ msg << " #{desc}" if desc.length > 0
49
+ msg << " #{strg2}" if strg2.length > 0
50
+ msg << " #{strg3}" if strg3.length > 0
51
+ end
52
+
46
53
  def get_trace(lnbr)
47
54
  callertrace = "\nCaller trace: (#{lnbr})\n"
48
55
  Kernel.caller.each_index do |x|
data/lib/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Awetestlib
2
- VERSION = "0.1.5"
3
- VERSION_DATE = "2012-08-23"
2
+ VERSION = "0.1.6"
3
+ VERSION_DATE = "2012-08-27"
4
4
  end
@@ -0,0 +1,71 @@
1
+ <html>
2
+ <head>
3
+ <meta content=text/html; charset=ISO-8859-1 http-equiv=content-type>
4
+ <title>Awetestlib Test Run</title>
5
+ <style type=text/css>
6
+ .title { font-family: verdana; font-size: 30px; font-weight: bold; align: left; color: #000000;}
7
+ .bold_text { font-family: verdana; font-size: 12px; font-weight: bold;}
8
+ .bold_large_text { font-family: verdana; font-size: 13px; font-weight: bold;}
9
+ .normal_text { font-family: verdana; font-size: 12px; font-weight: normal;}
10
+ .small_text { font-family: verdana; font-size: 10px; font-weight: normal; }
11
+ .border { border: 1px solid #000000;}
12
+ .mark_testlevel_left { border-top: 1px solid #858585; border-left: 1px solid #858585;background-color:#E2F4FE;}
13
+ .mark_testlevel_right { border-top: 1px solid #858585; border-right: 1px solid #858585;background-color:#E2F4FE;}
14
+ .border_left { border-top: 1px solid #858585; border-left: 1px solid #858585; border-right: 1px solid #858585;}
15
+ .border_right { border-top: 1px solid #858585; border-right: 1px solid #858585;}
16
+ .result_ok { font-family: verdana; font-size: 12px; font-weight: bold; text-align: center; color: green;}
17
+ .result_nok { font-family: verdana; font-size: 12px; font-weight: bold; text-align: center; color: red;}
18
+ .overall_ok { font-family: verdana; font-size: 12px; font-weight: bold; text-align: left; color: green;}
19
+ .overall_nok { font-family: verdana; font-size: 12px; font-weight: bold; text-align: left; color: red;}
20
+ .bborder_left { border-top: 1px solid #858585; border-left: 1px solid #858585; border-bottom: 1px solid #858585; background-color:#858585;font-family: verdana; font-size: 12px; font-weight: bold; text-align: center; color: white;}
21
+ .bborder_right { border-right: 1px solid #858585; background-color:#858585;font-family: verdana; font-size: 12px; font-weight: bold; text-align: center; color: white;}
22
+ </style>
23
+ </head>
24
+ <body>
25
+ <br>
26
+ <center>
27
+ <table width=800 border=0 cellpadding=2 cellspacing=2>
28
+ <tbody>
29
+ <tr>
30
+ <td>
31
+ <table width=100% border=0 cellpadding=2 cellspacing=2>
32
+ <tbody>
33
+ <tr>
34
+ <td style=width: 150px;>&nbsp;</td>
35
+ <td align=left><img src="../images/logo.png"></img></td>
36
+ <td align=right><p class=title>Test Report</p></td>
37
+ </tr>
38
+ </tbody>
39
+ </table>
40
+ <br>
41
+ <hr width=100% class=border size=1px>
42
+ <center>
43
+ <table border=0 width=95% cellpadding=2 cellspacing=2>
44
+ <tbody>
45
+ <tr>
46
+ <td width=20%><p class=bold_text>Script</p></td>
47
+ <td width=5%><p class=bold_text>:</p></td>
48
+ <td width=75%><p class=normal_text>Demo</p></td>
49
+ </tr>
50
+ <tr>
51
+ <td width=20%><p class=bold_text>Test Execution</p></td>
52
+ <td width=5%><p class=bold_text>:</p></td>
53
+ <td width=75%><p class=normal_text>27-08-2012 @ 10:20:44</p></td>
54
+ </tr>
55
+ <tr>
56
+ </tr>
57
+ </tbody>
58
+ </table>
59
+ </center>
60
+ <br>
61
+ <center>
62
+ <table width=95% cellpadding=2 cellspacing=0>
63
+ <tbody>
64
+ <tr>
65
+ <td class=bborder_left width=80%><p>Test Step</p></td>
66
+ <td class=bborder_left width=20%><p>Result</p></td>
67
+ </tr><tr><td class=border_left width=80%><p class=normal_text> [unknown]</p></td><td class=border_right width=20%><p class=result_nok>FAILED</p></td><tr><td class=mark_testlevel_left width=80%><p class=bold_large_text>>> Duration: 00:00:00</p></td><td class=mark_testlevel_right width=20%><p class=result_nok>&nbsp</p></td><tr><td class=mark_testlevel_left width=80%><p class=bold_large_text>>> Validations: 1 | Fails: 1</p></td><td class=mark_testlevel_right width=20%><p class=result_nok>&nbsp</p></td><tr>
68
+ <td class=bborder_left width=80%><p>&nbsp;</p></td>
69
+ <td class=bborder_left width=20%><p>&nbsp;</p></td>
70
+ </tr>
71
+ </table>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awetestlib
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
11
11
  platform: x86-mingw32
12
12
  authors:
13
13
  - Anthony Woo
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-08-23 00:00:00 Z
19
+ date: 2012-08-27 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: watir-webdriver
@@ -259,6 +259,20 @@ dependencies:
259
259
  version: "3.11"
260
260
  type: :runtime
261
261
  version_requirements: *id016
262
+ - !ruby/object:Gem::Dependency
263
+ name: yard
264
+ prerelease: false
265
+ requirement: &id017 !ruby/object:Gem::Requirement
266
+ none: false
267
+ requirements:
268
+ - - ">="
269
+ - !ruby/object:Gem::Version
270
+ hash: 3
271
+ segments:
272
+ - 0
273
+ version: "0"
274
+ type: :runtime
275
+ version_requirements: *id017
262
276
  description: Awetest DSL for automated testing of browser-based applications.
263
277
  email: patrick@3qilabs.com
264
278
  executables:
@@ -276,6 +290,7 @@ files:
276
290
  - .gitattributes
277
291
  - .gitignore
278
292
  - AwetestLib Instructions.rtf
293
+ - README.md
279
294
  - awetestlib.gemspec
280
295
  - awetestlib.windows.gemspec
281
296
  - awetestlib_notes.txt
@@ -333,6 +348,7 @@ files:
333
348
  - test/google_search2.rb
334
349
  - test/zoho_util.rb
335
350
  - test/zoho_variables.xls
351
+ - tmp/placeholder.html
336
352
  homepage: http://3qilabs.com
337
353
  licenses: []
338
354