[wtr-general] Help on acessing values in a table

2009-07-28 Thread ajil
2 On site Project Manager Esha Internal Normal e...@gmail.com Active Reset Password 1 Test Engineer USER1 Internal Manager us...@gmail.com Active ++

[wtr-general] Script to click the dynamically generated link.

2009-07-28 Thread Swap
Hello All, I want to write the script to click the dynamiclly generated 'Edit' and 'Delete' link. How can I do that? This is the html code for that::

[wtr-general] Re: Help on acessing values in a table

2009-07-28 Thread Chethan
Refer http://wtr.rubyforge.org/rdoc/ look for Watir:table & watir:tables Class This will give you much about table related functions. Thanks, Chethan On Jul 28, 1:51 pm, ajil wrote: > border="0" width="100%"> > > > > > > > valign="middle"> > > >    2 >    On site Project Manager >

[wtr-general] atul-query

2009-07-28 Thread atul shukla
Hi I am trying to upload and save file from this watir script but its not working. can i get some guidelines to make this workscript work. # the Watir controller require "watir" ie = Watir::IE.new require 'win32ole' ie.goto "tinypic.com" ie.file_field(:id, "the_file").set("C:\\image.png") i

[wtr-general] Re: verify table cell text.

2009-07-28 Thread srik
Hi Zhimin, Thanks a lot for giving good suggestions. I am facing another problem with IE Explorer and FireFox, some scripts working in IE & Some in FF. when i am click on link "Login" browser.link(:text, "Log In").click(work in IE) but not in FF for the same i have insert script double time brows

[wtr-general] Re: Attach failing with NoMethodError

2009-07-28 Thread Chuck van der Linden
The error would tend to indicate that whatever is trying to invoke the .attach method is no longer pointing to an instance of a browser object. Although why that would be the case if the exact same code executes fine on a different system is an interesting question. You might want to check the

[wtr-general] Re: atul-query

2009-07-28 Thread Chuck van der Linden
"its not working" doesn't give folks much to go on what happens when you try to run the script? On Jul 28, 4:12 am, atul shukla wrote: >  Hi >     I am trying to upload and save file from this watir script but its not > working. can i get some guidelines to make this workscript work. > > # the

[wtr-general] Re: Script to click the dynamically generated link.

2009-07-28 Thread Chuck van der Linden
When interacting with the page manually, how do you know which link you want to click? is it always in the same position (e.g. always the third 'edit' link) or next to a particular label in the table, or something else? without knowing how you determind which is the correct link to click, we can

[wtr-general] Re: Getting style attribute of HTML element

2009-07-28 Thread Chuck van der Linden
For some of the more 'standard' style attributes I've also been able to get at them similar to this puts ie.div(:id, 'search').style.visibility Aaron, if the style is not specified in the basic HTML for the page, then it's likely coming from a resource such as a .CSS file, or could be set/alter

[wtr-general] Re: Testing Link on list of pages

2009-07-28 Thread Chuck van der Linden
Small critique to the test you are doing. What's the inner if' statement supposed to be doing for you? why return the browser to the page you are testing after the first link you check, but not after any others? >From the looks of your code, your intent is to 'spider' each link on the pages you

[wtr-general] Open source tool for window apps

2009-07-28 Thread venky
Hi, Is there any open source tool to automate window based application? Thanks, Venkat http://prog2impress.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send em

[wtr-general] Re: Open source tool for window apps

2009-07-28 Thread Dylan
http://www.autoitscript.com/autoit3/ -Dylan On Jul 28, 11:34 am, venky wrote: > Hi, > > Is there any open source tool to automate window based application? > > Thanks, > Venkathttp://prog2impress.com/ --~--~-~--~~~---~--~~ You received this message because you ar

[wtr-general] Re: can Watir run in remote webserver with linux OS??

2009-07-28 Thread Joeyjoey
now does Xvfb have to be running ? On Jul 27, 11:41 pm, Dylan wrote: > Don't see why not. Might be dangerous, depending on what sites you end > up crawling, but a recursive loop should do the trick. You'll have to > use something like FireWatir, unless you have IE on your linux web > server :) >

[wtr-general] SafariWatir will not access the default value of a selectlist

2009-07-28 Thread Jeff Lusenhop
I am attempting to migrate working cucumber tests in Watir (IE) and have them work on the Mac driving Safari. I cannot determine how to have Safari verify the default value of a selectlist. This is the command I am using: @browser.select_list(:id, 'id_name').selected_value.should == "-- Select-

[wtr-general] Re: Script to click the dynamically generated link.

2009-07-28 Thread Swapnal
Hi, In this application when we add user every user will have the 'Edit' and 'Delete' link. a - associate > > > > > Edit| >