Hi,
There was an article on Watir in
'Better Software' magazine. Im interested in going through the document.
Can anyone mail me that document?
Cheers,
Amit Dighe
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Hi,I am using ie.text_field(..).set('a string').But still the textfield accepts a string that exceeds the max length. WhenI retrieve the contents of the text field it gives the entire string (i.e all the characters including the ones that exceed the max length)How do I deal with
Hi Everyone
OK so this is probably a little
rudimentary but in order to keep my scripts separately for separate pages (Which
will make maintaining them much easier) Is there a way to create a control file
that basically says
Go and Run /myDir/Script1.rb
When it ends
Go and run
The problem with this is the need to run .NET
Framework and install another tool for it to work. Do you or
someone else know how to do it only with Watir and an open
source CI Tool ?
Oh, yes, if I knew a simplier way (the one without intermediate xUnit
framework) I would like to
Hi all,
Im trying to run
if (i == 4) then
$branch_column2[count] = table[i][2].text_field(:index,
1).name.to_s
count += 1
$branch_column2[count] = table[i][2].text_field(:index,
1).name.to_s
elsif (i == 9) then
$branch_column2[count] =
Hi all,
Im trying to run
if (i == 4) then
$branch_column2[count] = table[i][2].text_field(:index,
1).name.to_s
count += 1
$branch_column2[count] = table[i][2].text_field(:index,
1).name.to_s
elsif (i == 9) then
$branch_column2[count] =
Hi Polleu,
Not sure if I got your query right, I guess u r trying to execute the loop thru irb. If thats the case use following statement to start IRB:
irb --noreadline
I found that your loop is properly defined. To test I have assigned some value to i. Here is the code:
i=9if (i == 4) thenputs
I tried installing and running damagecontrol, but it crashes. I am no
Ruby expert and could not figure out whats exactly wrong?
Anywasy,
Is project alive?
The project does n't have active mailing list. No messages since April.
Has anybody working installation, I wanted to try out to see how
I
I tried installing and running damagecontrol, but it crashes. I am no
Ruby expert and could not figure out whats exactly wrong?
Anywasy,
Is project alive?
The project does n't have active mailing list. No messages since April.
Has anybody working installation, I wanted to try out to see how
I
Hi want to click a link in a popup,
If I catch the popup in cache and open it
, it show a .css file
How do I click a link contained in css
file??
hrishij
-Original Message-
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vishal Chavan
Sent: Friday,
Assuming that each of these scripts are executable... how about:
--SCRIPT--
#!/usr/bin/env ruby
run_dir = /mydir
pages = [ /Script1.rb, /Script2.rb, /Script3.rb ]
pages.each do |curr_page|
`#{ run_dir }#{ curr_page } #{ curr_page }.log`
end
#run complete
--SCRIPT--
Should provide you with
... heh, course I used *nix style command paths ...
so, lets try that again in a windows way
--SCRIPT--
#!/usr/bin/env ruby
run_dir = C:\\mydir
pages = [ \\Script1.rb, \\Script2.rb, \\Script3.rb ]
pages.each do |curr_page|
`#{ run_dir }#{ curr_page } #{ curr_page }.log`
end
#run
At 03:27 AM 11/24/2005, Amitha Shetty wrote:
I am trying to login into an application which has an applet in the
login page(i.e first screen after logging in).Watir and the application
hangs after logging in.
Is this due to the applet?
Could be.
I am not trying to do anything in the first
This is very much dependant on what you consider an error...
Do you mean an error from the HTTP side of things ??? a browser failure ??? a com failure ??? what ?
j.
On 11/23/05, jim che [EMAIL PROTECTED] wrote:
Hi all I want to
know how to check the errors when opening the html pages.For
Hi list
I launched my web application with an instance of IE
through irb.
Browse to where I needed to delete an asset, the javascript
confirmation popup shows up on the screen, I then enter
w = WinClicker.new
handle = w.getWindowHandle(Microsoft Internet Explorer)
w.makeWindowActive(handle)
At 06:12 AM 11/24/2005, chaya shetty wrote:
I want to write a test case to check maxlength validation for a text
field.
use ie.text_field(:name, 'foo').maxLength
_
Bret Pettichord
www.pettichord.com
___
Wtr-general
I guess we didn't add the cell method to tables until after 1.4.2. You
might want to take a look at the code in HEAD.
Using 1.4.2, i think this should work:
ie.table(:index, ?).row(:index, 3).cell(:index, 1).click
Index is what you have to have to use when objects don't have any usable
Hi Bret,
Thanks for the reply. I got it to work now with
table=$ie.frame('cpmain').table(:index, 2)
table[3][1].click
I have to use index 2 because the side nav menu was in a
table within a bigger table. Works great.
thanks
Roy.
--- Bret Pettichord [EMAIL PROTECTED] wrote:
I guess we
18 matches
Mail list logo