selenium-framework 1.0.12 → 1.0.13
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/LICENSE +1 -1
- data/README.md +21 -0
- metadata +1 -1
data/LICENSE
CHANGED
|
@@ -5,7 +5,7 @@ a copy of this software and associated documentation files (the
|
|
|
5
5
|
"Software"), to deal in the Software without restriction, including
|
|
6
6
|
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
7
|
distribute, sublicense, and/or sell cot pies of the Software, and to
|
|
8
|
-
permit
|
|
8
|
+
permit whom the Software is furnished to do so, subject to
|
|
9
9
|
the following conditions:
|
|
10
10
|
|
|
11
11
|
The above copyright notice and this permission notice shall be
|
data/README.md
CHANGED
|
@@ -9,6 +9,17 @@ Selenium Framework is an Functional Testing Service that transparently distribut
|
|
|
9
9
|
|
|
10
10
|
refer installation in pages
|
|
11
11
|
|
|
12
|
+
== Using Framework
|
|
13
|
+
|
|
14
|
+
=== Generate frame
|
|
15
|
+
|
|
16
|
+
* install selenium framework gem
|
|
17
|
+
gem i selenium-framework
|
|
18
|
+
|
|
19
|
+
* go to command/terminal prompt
|
|
20
|
+
|
|
21
|
+
* execute following command
|
|
22
|
+
testframe new <project name>
|
|
12
23
|
|
|
13
24
|
== Configure
|
|
14
25
|
|
|
@@ -57,6 +68,16 @@ In configure/selenium_framework.yml you will need to define the application
|
|
|
57
68
|
UserExtension.write_logs_to_text_file($log_file, e.message)
|
|
58
69
|
$driver.save_screenshot($screenshot_directory_path+'/'+test_id.to_s+'-log.png')
|
|
59
70
|
end
|
|
71
|
+
|
|
72
|
+
=== Using library methods
|
|
73
|
+
|
|
74
|
+
* go to irb
|
|
75
|
+
* require 'selenium-framework'
|
|
76
|
+
* UserExtension.methods
|
|
77
|
+
* Utility.methods
|
|
78
|
+
* for example using timeout error
|
|
79
|
+
Utility.load_link(time) { link }
|
|
80
|
+
|
|
60
81
|
|
|
61
82
|
== Selenium Setup
|
|
62
83
|
Download the latest version of selenium grid from http://seleniumhq.org/download/
|