ok I got this to work in creating how I want the file to looks, but the
html file was empty
how do I get the data to out put into the file.
This is what I added to the file
t= Time.now
File.open("c:\\filename"+t.strftime("%m%d%Y_%H%M%")+".xls","w")
This was my command line
cucumber --form
Thanks Champ!
I am newer to logging.
I understand that what you've given me will go in the upper part of the
file.
my command line currently has been 'cucumber --format
'Timestamped::HtmlFormatter' --out cucumber.html'
would you be able to provide me an example to using your suggestion?
T
filename = filename + Time.now
On Tuesday, October 9, 2012 11:35:27 AM UTC-4, Ry wrote:
>
> Is anyone familiar with time stamping the file name or
>
> having something append to file name on output each time a cucumber/ruby
> script is ran?
>
> Currently it overwrites what is there and I want to
Is anyone familiar with time stamping the file name or
having something append to file name on output each time a cucumber/ruby
script is ran?
Currently it overwrites what is there and I want to save all my output
reports.
I use Cucumber and Ruby
Thanks!
--
Before posting, please read htt
On Mon, Oct 8, 2012 at 2:48 PM, Ste wrote:
> which is the most stable version of Ruby + Watir-classic?
My guess would be the latest released versions of both.
Željko
--
filipin.eu
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general
On Tue, Oct 9, 2012 at 4:02 AM, Joshua Moore
wrote:
> require 'watir'
> ie = Watir::IE.new
> NameError: uninitialized constant Watir::IE
Versions of Ruby and Watir would help.
I would try a couple of things:
ie = Watir::Browser.new
instead of
ie = Watir::IE.new
Also, adding this to the top o
I'm a very new Watir User and have encountered a problem when trying to
launch IE.
The code:
require 'watir'
ie = Watir::IE.new
Returns:
NameError: uninitialized constant Watir::IE
I am sure that there is a very basic solution to this issue, but I would
appreciate any helpful hints for a n
I recently upgraded to ruby 1.9.3 and watir 4.0. Using watir-classic 3.2. I
see the same behavior too. click_no_wait is being called because I see that
the element to click gets highlighted. But then nothing happens. The window
does not open. However, if I use click, he window opens.
I am runni
I am facing the exact same problem mentioned by Paul above with the same
ruby and watir versions. When I run the command, I get the following
message - *"<< was unexpected at this time."*
*
*
Please help.
On Monday, October 8, 2012 11:17:12 AM UTC-4, Jarmo Pertman wrote:
>
> What is the exact cr
For some reason the monkey patch specified did not work. However, instead
of options, use options.map(&:text) and this works correctly.
Eg: $ie.select_list(:name, "group").options.map(&:text). Same applies to
selected_options too.
-Champ
--
Before posting, please read http://watir.com/support
10 matches
Mail list logo