From the original post, it looked like you were trying to attach the
new window *before* clicking on the link that would open the window.
Try clicking on the link first, then attach to the new window:
Browser.link(:href, /users/new).click# = new window opens
Browser.attach(:title, '/Users:
I believe you should be able to eval the string before you click on
it:
eval(@map[SubmitButton]).click #not tested
That said, I second Željko's sugestion. Taza gives you a very object-
oriented way of defining your html elements as methods in logical
classes.
Chandu
On Oct 21, 4:47 am,
Instead of:
wait_until {ie.frame(:src,./
app).text_field(:id,c_nameFieldId).exist?}
Try:
Watir::Waiter.wait_until {ie.frame(:src,./
app).text_field(:id,c_nameFieldId).exist?}
I guess you could include Watir::Waiter and then use the method as
Željko suggested, but I'm not sure of all the
Not sure if this will help, but if it's an .exe and you're running
Vista or Windows 7, you may have to Run as Administrator to have
certain permissions.
Chandu
On Sep 10, 8:49 am, Quang quang...@gmail.com wrote:
Maybe
Thanks for help
On 10 Tháng Chín, 05:33, Željko Filipin zeljko.fili...@wa-
Goutham,
Can you tell us which version of Watir you are using? What is the
output when you type gem which watir on the command line?
Chandu
On Aug 17, 12:57 am, goutham mandadi goutham.mand...@gmail.com
wrote:
Hai Angrez,
can u please help me on this i have seen ur post regarding this but i
How is this Watir related?
This, but also your error message seems to indicate that you typed
mainfest instead of manifest. Maybe as simple as a typo.
On May 25, 4:36 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Tue, May 25, 2010 at 7:24 AM, Prashant prashantshirbh...@gmail.com
While we are on names, how about SpectiR? :) If no one else wants it,
I'll take it.
Chandu
On Apr 7, 3:38 pm, Jarmo Pertman jarm...@gmail.com wrote:
I understand what you're getting at.
Of course i don't want to be impolite nor rude. I'm wondering, what
does Jari himself think about this
I've seen this behavior in ome proprietary web apps. Chances are there
is a javascript firing when you manually click inside the text field
to enter text. Inspect the element with Firebug before and after you
click, and see if you can replicate that behavior in Watir using
fire_event.
Chandu
On
I noticed that your Watir version is 1.5.2. I'm not sure how well
modal dialogs were supported in that version. I would upgrade and try
some of Charley's solutions.
Chandu
On Feb 10, 12:40 am, Rohan Premvallabh Ojha rohan.o...@bsil.com
wrote:
HI Charley,
I had tried the method that you have
Hi Edith,
Try putting the myFrame under the describe in a before :each or
before :all block.
Chandu
On Jan 28, 4:34 pm, Edith ebr...@serena.com wrote:
Hi Everyone,
I'm trying to understand the scoping of the browser variable that is
created in itest2 generated code. When I copy this code
Marlon,
Your original code works for me:
{Content-Type=text/html; charset=iso-8859-1, keywords=title}
Chandu
On Nov 2, 10:51 pm, Marlon marlonmoja...@gmail.com wrote:
I found the part of the solution
herehttp://groups.google.com/group/watir-general/browse_thread/thread/566...
it still did
11 matches
Mail list logo