testnow 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2192857e7f1f56c7e190e32b7f853fda9baa62bd
4
- data.tar.gz: 3e5dc6cf8ce9510bb75100148381225cf4aa3730
3
+ metadata.gz: d45b2d1b919ac6c4e97e74ef0492a4a9930c728c
4
+ data.tar.gz: a184892f0bec6f63b088080e744bc7eaccd4561c
5
5
  SHA512:
6
- metadata.gz: 717fdb1ce5432a827efd8e9598dafbeead074d6b5c2edb2928eedb781e0920912522aa26f88e90f707c0f881d43d3ec9fc2486a3e9a16d9edd79fbbda09aa551
7
- data.tar.gz: 86b7ec6b8e3fa4360f4d6b7bf164db42b429addf01ab9a42348c63e7163bc2ac7af175d27fc414225a1f92700217a7ad7f81a93c371ce3454277b550c44fe63f
6
+ metadata.gz: ec503973ef3005797e6906136f40f1068acbfeb80dc637981d0e75ecfe569d1fd41b470034a23dcba186f01dd244b29af83ae6acc85a98ee7a1d84b823b4a663
7
+ data.tar.gz: b742ebfaca88a16752e19f3bfd36972d8074dcb6f85da6e5df2cb0e117d9c562bc48e58598477b72d3e235eed1acf96e7438e596bfb7ba44920efcda05fef24d
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # testnow
2
2
 
3
- An instant WebDriver-Ruby-Cucumber or WebDriver-Ruby-RSpec framework which has ability to do cross browser testing on any of the popular browsers, Firefox, Chrome, Opera, Internet Explorer, Safari, Android Browser. It uses the selenium-webdriver to driver the browsers already installed on your box. This gem also makes your existing automation code compatible to the TestNow platform by adding 1 command in your existing setup method.
3
+ An instant WebDriver-Ruby-Cucumber or WebDriver-Ruby-RSpec framework which has ability to do cross browser testing on any of the popular browsers, Firefox, Chrome, Opera, Internet Explorer, Safari, Android Browser. It uses the selenium-webdriver to driver the browsers already installed on your box. This gem also makes your existing automation code compatible to the [TestNow platform](https://testnow.opexsoftware.com) by [Opex Software](https://opexsoftware.com) by adding just 1 line of code your existing setup(Before) method.
4
4
 
5
5
  ## Installation
6
6
  You must have Ruby installed before you can install this gem.
@@ -19,7 +19,7 @@ gem 'testnow'
19
19
  ## Usage
20
20
 
21
21
  ### 1. Instant Cross Browser Configuration -- TestNow Platform Compatibility
22
- When creating a Selenium-WebDriver automation suite, if one requires cross browser testing, the biggest headache is configuring all browsers mainly because configurations for every browser is done differently. It is . This is where TestNow gem jumps in as an Asprin.
22
+ When creating a Selenium-WebDriver automation suite, if one requires cross browser testing, the biggest headache is configuring all browsers mainly because configurations for every browser is done differently. This is where TestNow gem jumps in as an Asprin to cure your headache by taking care of all browser configurations.
23
23
 
24
24
  Unlike some very famous Ruby-WebDriver tools which wraps up the WebDriver object and provides its own set of commands, TestNow gem returns you the ```driver``` object as is but initialized with any browser of your choice.
25
25
 
@@ -59,10 +59,13 @@ testnow rspec_now
59
59
  This will run a series of commands and create a WebDriver-Ruby-RSpec framework for you in a directory called __rspec_now__. It will towards the end also ask you for gem dependency installation and it is highly recommended to say Yes. It will also create a sample scenario with a spec and spec_helper file with all configuration. This scenario can be executed by simple command to see a live demo of the execution.
60
60
 
61
61
  ```
62
- cd cucumber_now # Navigate into the created directory
62
+ cd rspec_now # Navigate into the created directory
63
63
 
64
64
  rake rspec_now # Executes using cucumber rake task
65
65
  ```
66
66
 
67
67
  Use any of the command to execute the sample spec. A beautiful report will be created by this execution to in the reports directory. It will be in html format, please double click or open in a browser to view it.
68
68
 
69
+
70
+ ## Contributing
71
+ Ideas and suggestions are always always most welcome. Please fork this gem code and feel free to add any updates, suggestions etc and create a pull request.
@@ -5,9 +5,12 @@ module TestNow
5
5
  ENV['IS_UPA'] = "false" if ENV['IS_UPA'].nil?
6
6
  if ENV['IS_UPA']=="true"
7
7
  ENV['HAR_DIR'] = get_tmp_dir if ENV['HAR_DIR'].nil?
8
+ puts "=>=>=> Your HAR (UPA) files will be created here : #{ENV['HAR_DIR']}"
9
+ firebug = File.absolute_path(File.dirname(__FILE__)+"/../../data/firebug-2.0.13.xpi")
10
+ net_export = File.absolute_path(File.dirname(__FILE__)+"/../../data/netExport-0.8.xpi")
8
11
  profile = Selenium::WebDriver::Firefox::Profile.new
9
- profile.add_extension("./data/firebug-2.0.13.xpi")
10
- profile.add_extension("./data/netExport-0.8.xpi")
12
+ profile.add_extension(firebug)
13
+ profile.add_extension(net_export)
11
14
  profile['extensions.firebug.currentVersion'] = "2.0.13"
12
15
  profile['extensions.firebug.allPagesActivation'] = "on"
13
16
  profile['extensions.firebug.defaultPanelName'] = "net"
data/lib/testnow/version CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.7
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testnow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaushal Rupani
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-18 00:00:00.000000000 Z
11
+ date: 2016-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler