[wtr-general] Re: Ruby integration with TestLink

2008-10-07 Thread Tim Koopmans
Natasha, there's an API already available which you could use as a client. As Manish has mentioned, it would be relatively simple to execute test cases. To update, you could just use the sample ruby client implementation ... Do you have specific functionality in mind that you're looking to

[wtr-general] Re: if page loading

2008-10-07 Thread Paul Rogers
you should be able to look in the wait method of Watir::IE and see what we poll for to see if the page is complete. There are 2 poperties that contain this info, one for the document and one for the window ( frames probably have one per doc) its called something likie readyStateComplete Paul

[wtr-general] Re: How to locate an INPUT element embedeed in a table

2008-10-07 Thread Tiffany Fodor
Sorry, I should have included this in my original response I don't think your problem is related to your object being embedded in a table, I think there's a protection on it that doesn't allow automated tools to access it. You can verify this by just performing a .exists? on your object to

[wtr-general] Re: How to locate an INPUT element embedeed in a table

2008-10-07 Thread Natasha Ranney
Thanks Tiffany. I will try that out. Just that this is not our code. This belongs to Fotolog. But anyways, will surely try out the options suggested and revert with my observations. Regards, Natasha Tiffany Fodor [EMAIL PROTECTED] wrote: Sorry, I should have included this in my original

[wtr-general] Identifying Tabs

2008-10-07 Thread FM
Hi, I have recently started using Watir. I think this is not a new quesiton but I have searched for different solutions and they do not seem to work. I have 6 tabs in a webpage, and I am trying to click one of them but I am unable to do this since there is no object id or name that I could use

[wtr-general] Re: Identifying Tabs

2008-10-07 Thread Nathan Lane
'Tabs' doesn't mean much to Watir I think, because there is no such thing as a tab HTML element (for example tab doesn't exist in HTML), it would help us and you more if you could tell us if the tab is contained by a td, span, or div element or some other element. On Tue, Oct 7, 2008 at 11:26 AM,

[wtr-general] Re: ERROR installing watir

2008-10-07 Thread Tim Koopmans
This happens to me a lot. Try installing from gem files downloaded manually. There's some instructions on how to do this here: http://justaddwatir.com/watir/q-how-do-i-gem-install-watir-behind-a-proxy-server/ Check out the comments section for recent example. Regards, Tim Koopmans

[wtr-general] Re: ERROR installing watir

2008-10-07 Thread Bret Pettichord
I've found that the gem installer works much better if you do a gem update --system. Unfortunately this can be hard to do also (for the same reasons). On one occassion, I did this update on a machine that did not have connection problems, then I copied the entire ruby directory to my other

[wtr-general] Re: How to locate an INPUT element embedeed in a table

2008-10-07 Thread Ravi
I found the following working! $ie.div(:id,'maincontent').text_field(:name,'u_name').set '1234' $ie.div(:id,'maincontent').text_field(:name,'p_word').set '1234' On Oct 7, 12:26 pm, Tiffany Fodor [EMAIL PROTECTED] wrote: Hi again! I didn't realize your site was public, so I gave it a shot

[wtr-general] Re: Identifying Tabs

2008-10-07 Thread Fatema Karim
Thank you very much. I will try the suggestions you have given me. On Tue, Oct 7, 2008 at 2:39 PM, Tiffany Fodor [EMAIL PROTECTED] wrote: Hi! When I've worked with tabs in the past, the text the user clicks on in the tab is usually a link. Try something like this: ie.link(:text, 'Tab

[wtr-general] Re: How to locate the element with node(child node, father node) or directory attributes?

2008-10-07 Thread wesley chen
Thanks Bret, your comment works. I mistake the parent as parentNode, so I always failed. Hi, Aidy, Would you please show your idea more detailed? I think your idea may be useful sometimes. Thanks all you guys. Wesley. --:) Man should be hard to himself, but tolerant to others.

[wtr-general] where was the send method placed in?

2008-10-07 Thread bugs apple
In the locator.rb for watir api, there is call that execute the element.send(@how) method like below, but I fail to find the send method in element.rb, anybody can tell where it is and which rb files? def locate object_index = 1 @elements.each do |object| element =