Hello Ogre,
Thank you for your correct answer. If you also tell us whether there is a
default 'log' in Watir and if so, how to write to it and where to view it?, I
would be thankful.
Thanks,
Maloy.
-
Posted via Jive Forums
hello,
I don't know if there is a default log (text file) in Watir.
My default log is the standard output on the console :D .
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6068messageID=17387#17387
Take a look at the watir examples directory. You'll find a logging directory
with test_logger1.rb and example_logger1.rb.
-Charley
On 1/19/07, Maloy kanti debnath [EMAIL PROTECTED] wrote:
Hello Ogre,
Thank you for your correct answer. If you also tell us whether there is a
default 'log' in
hi,
1)
require 'watir' # the watir controller
include Watir
test_site = 'http://www.rediff.com/'
ie1 = IE.new
ie1.goto(test_site)
ie1.text_field(:name, login).set(toto)
ie1.text_field(:name, passwd).set(tata)
ie1.image(:src,'http://im.rediff.com/uim/news/SignUp-btn.gif').click
hi, sorry for my english
2)
if you use puts text or method who write directly in console, you can show
log directly in the console where you have run your program or in your editor
if you use Scite or an other...
You can write in a text file like this :
f = c:\\file.log
fl = File.new(f,a+)
-general@rubyforge.org
Subject: [Wtr-general] Two queries in Watir
Hello people,
I have got two queries in Watir. If they get cleared through this
forum, I would be thankful. The queries are:
1. How to access a control, whose '.html' is displayed as ' Active
Element: [INPUT], Index: [956] INPUT
\logging
Hope this helps
Thanks Regards,
Anupama
From: Devesh Verma, HCL-Industry Solutions [EMAIL PROTECTED]
Reply-To: wtr-general@rubyforge.org
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Two queries in Watir
Date: Wed, 10 Jan 2007 13:41:46 +0530
Hi Maloy,
Try this for accessing
: Wednesday, January 10, 2007 12:53 PM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Two queries in Watir
Hello people,
I have got two queries in Watir. If they get cleared through this
forum, I would be thankful. The queries are:
1. How to access a control, whose '.html' is displayed
hi,
thank you very much ,using your answer we were able to work with that Go
button.
maloy
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6069messageID=16994#16994
Hello people,
I have got two queries in Watir. If they get cleared through this forum, I
would be thankful. The queries are:
1. How to access a control, whose '.html' is displayed as ' Active Element:
[INPUT], Index: [956] INPUT title=Sign in type=image height=22 hspace=0
width=37
10 matches
Mail list logo