I am encountering exception while iterating table. Below are the
details. Let me know if anymore information is required
Code:
table3.each do |row|
if table3[x][1].text ==Booking ID
while (input = f.gets)
$ie.text_field(:index,2).set(input)
On Wed, Nov 4, 2009 at 5:07 AM, shradha_Dalvi kshradh...@gmail.com wrote:
The system cannot find the file specified.: CreateProcee() failed:
(Processerror)
Uninstall chrome_watir 1.5.0, install chromewatir 1.5.1 and let us know if
you still get the error.
gem install chromewatir
Željko
--
Hi,
after installing chromewatir 1.5.1,it is working fine. But another
problem raises. For the following test script:-
require chrome_watir
include ChromeWatir::Exceptions
include ChromeWatir
browser = ChromeWatir::Browser.new
browser.goto 'http://www.gmail.com'
sleep 10
p
On Wed, Nov 4, 2009 at 10:51 AM, shradha_Dalvi kshradh...@gmail.com wrote:
include ChromeWatir::Exceptions
include ChromeWatir
Why are you using this? You should probably delete it.
It is not recognizing the text_field object
Please post some relevant HTML.
Željko
I have read some information given on http://wiki.openqa.org/display/
WTR/ChromeWatir.
According to it the I am not able to execute the test script given on
the said link.It is as follows:-
require chrome_watir
browser = ChromeWatir::Browser.new
browser.goto 'http://www.google.com'
Iam calling following functions to click on menus in my applicaiton.
first time when I call this functon workign fine, but second tiem it
is not working
when I call second time the fucntio is not calling Line5:
(ie.send_keys)
I pass Menu name , Short key, short key(if any) as parameters.
i.e
On Wed, Nov 4, 2009 at 11:32 AM, shradha_Dalvi kshradh...@gmail.com wrote:
According to it the I am not able to execute the test script given on
the said link.
What is the problem?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Followinf test script open the google browser but not clicking on the
link Advance Search.
require chrome_watir
browser = ChromeWatir::Browser.new
browser.goto 'http://www.google.com'
browser.link(:text, Advanced Search).click
browser.text_field(:id, as_oq0).set watir
browser.text_field(:id,
Hi,
p browser.text_field(:name,q).set Shraddha
why is the letter p in your script?
On Wed, Nov 4, 2009 at 3:21 PM, shradha_Dalvi kshradh...@gmail.com wrote:
Hi,
after installing chromewatir 1.5.1,it is working fine. But another
problem raises. For the following test script:-
require
for printing purpose.We are using Scite editor to run ruby scripts.
On Nov 4, 4:02 pm, SMF SMF shaikm.fi...@gmail.com wrote:
Hi,
p browser.text_field(:name,q).set Shraddha
why is the letter p in your script?
On Wed, Nov 4, 2009 at 3:21 PM, shradha_Dalvi kshradh...@gmail.com wrote:
Hi,
I was wondering whether it was a good idea to have an ie attribute in
an IE class?
Aidy
2009/11/3 Ethan notet...@gmail.com:
you are not using two Watir::IE objects there. I assume you are referring to
the ie.ie - the first ie is the local variable 'ie' which is an instance
of Watir::IE. the
Vishal -
Normally, I get this error when the table I'm accessing changes during
iteration. For example, if you are iterating through a table and some
interaction with it adds a row.
I can't tell if that's what you are doing here. It seems like you left some
things out in the code below
It's not the name I'd have chosen, but it does no harm, you just have to
keep straight which you're referencing.
On Wed, Nov 4, 2009 at 08:41, aidy lewis aidy.le...@googlemail.com wrote:
I was wondering whether it was a good idea to have an ie attribute in
an IE class?
Aidy
2009/11/3
I cannot click the button with the id of PostButton with the code:
ie.button(:id,PostButton).click
Any help is highly appreciated.
div style=margin-bottom:4px;
input type=hidden name=draftid id=draftid value=0 /
input type=hidden name=articleid id=articleid value=0 /
I have safariwatir (0.3.7, 0.3.3)
checked with gem list
This: browser.link(:text, /Sign/).text gives me no errors when I run
it in my test.
When I try this: @browser.link(:text, /Sign Out/).click I get: unable
to locate Link element with text of (?-mix:Sign Out)
When I try this:
this uses an onmousedown event to execute the javascript.
try
ie.button(:id,PostButton).fire_event('onMouseDown') # case of this
probably matters
Paul
On Wed, Nov 4, 2009 at 11:57 AM, jnxgn s...@jnxgn.cn wrote:
I cannot click the button with the id of PostButton with the code:
On Wed, Nov 4, 2009 at 7:42 PM, QAguy qablogm...@gmail.com wrote:
This: browser.link(:text, /Sign/).text gives me no errors when I run
it in my test.
I did not make it explicit that you should run that code in IRB. :)
If you are running that code from a file, then try this and let me know what
puts browser.link(:text, /Sign/).text gives me a result of Sign Out
when i run my .rb file (see below)
host73:watir_site_regression employee$ spec specs/connect_spec.rb
...Sign Out
.
QAguy
On Nov 4, 5:45 pm, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Wed, Nov 4, 2009 at 7:42 PM,
On Wed, Nov 4, 2009 at 11:53 PM, QAguy qablogm...@gmail.com wrote:
puts browser.link(:text, /Sign/).text gives me a result of Sign Out
It is late here, my brain is sleeping. What do you get when you run this?
puts browser.link(:text, /Sign/).text.inspect
Željko
That gives me the same result:
host73:watir_site_regression employee$ spec specs/connect_spec.rb
...Sign Out
.
We can pick this up tomorrow and I am also pretty tired. Thanks for
the help on this.
QAguy
On Nov 4, 5:57 pm, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Wed, Nov 4,
Hello,
I have MultipleSelectPopup.clear(/ID_OPEN/, nil) method which I want
to call it as many as buttons I have in the page that has id /
ID_OPEN/.
The method is clicking on the button I am sending it the id (/
ID_OPEN/) and clearing the content from the popup.
What so far is happening is
Yes, I tried this but failed, and I cannot see the button by ie.button
(:id,PostButton).flash
I have 3 years experience to use watir for testing, this is quite
stange to me.
On Nov 5, 5:04 am, Paul Rogers paul.rog...@shaw.ca wrote:
this uses an onmousedown event to execute the javascript.
try
and I can click this button by firewatir on another computer.
I use watir 1.6.2 with ruby 186-27
On Nov 5, 5:04 am, Paul Rogers paul.rog...@shaw.ca wrote:
this uses an onmousedown event to execute the javascript.
try
ie.button(:id,PostButton).fire_event('onMouseDown') # case of this
23 matches
Mail list logo