Re: [wtr-general] Re: Issue with accessing an Object in FireWatir

2010-05-17 Thread Angrez Singh
Hi, You have to send us the relevant HTML to figure out the issue. Because as per the example I provided there is no issues with accessing elements inside div. Thanks, Angrez On Tue, May 18, 2010 at 9:35 AM, Betsy wrote: > Hi Angrez, > > The code provided works fine for me. > > But my issue st

[wtr-general] Re: Issue with accessing an Object in FireWatir

2010-05-17 Thread Betsy
Hi Angrez, The code provided works fine for me. But my issue still persists.. :( -Betsy Joy On May 17, 7:24 pm, Angrez Singh wrote: > Does the attached code works for you? > > - Angrez > > > > > > On Mon, May 17, 2010 at 7:50 PM, Wesley Chen wrote: > > You have so much page source code. Is it

[wtr-general] Unable to locate element, using :jssh_name (Watir::Exception::UnknownObjectException)

2010-05-17 Thread Yoda
I'm trying to retrieve the text from within the tags from the html shown below. i'm running firewatir on a mac osx and have the jssh plugin installed. You searched for: 7 nights from Saturday 4th September 2010 Sharm El Sheikh 2 Adults

Re: [wtr-general] JsshSocket::JSTypeError: this.docShell is null

2010-05-17 Thread Bill Agee
I've seen this quite a bit in Firefox 3.5 on WinXP. It's intermittent, but definitely shows up several times a week (at least in my environment). The workaround I'm using is to rescue the error and retry - there's also an orphaned Firefox window left behind after the exception is raised, so that

[wtr-general] Re: Extracting from a google search

2010-05-17 Thread George
Hello, If I understand correctly, you're looking for the search term to be in the result link's URL, correct? If so, you can use this: browser = Watir::IE.start('http://www.google.com') browser.text_field(:name, 'q').set 'watir' browser.button(:name, 'btnG').click browser.links.each do |link|

Re: [wtr-general] Issue with accessing an Object in FireWatir

2010-05-17 Thread Angrez Singh
Does the attached code works for you? - Angrez On Mon, May 17, 2010 at 7:50 PM, Wesley Chen wrote: > You have so much page source code. Is it better for other people to read > your emails if you attach an attachment? > > Wesley. > For life, the easier, the better. > > > > On Mon, May 17, 2010 a

Re: [wtr-general] Issue with accessing an Object in FireWatir

2010-05-17 Thread Wesley Chen
You have so much page source code. Is it better for other people to read your emails if you attach an attachment? Wesley. For life, the easier, the better. On Mon, May 17, 2010 at 8:55 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Monday, May 17, 2010, Betsy wrote: > > Can it

[wtr-general] Just Wondering: Does any college, university, tech-school teach automated testing

2010-05-17 Thread Super Kevy
Just Wondering: Does any college, university, tech-school teach automated testing? Wouldn't WATIR provide a nice easy foundation for schools to pick up on. If I recall only 2 universities actually provided degree concentrations in software quality and test. -- Before posting, please read http:

Re: [wtr-general] Issue with accessing an Object in FireWatir

2010-05-17 Thread Željko Filipin
On Monday, May 17, 2010, Betsy wrote: > Can it be an issue with the code? Yes. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To po

Re: [wtr-general] Issue with accessing an Object in FireWatir

2010-05-17 Thread Željko Filipin
On Monday, May 17, 2010, Betsy wrote: > Can it be an issue with the code? Yes. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To po

[wtr-general] Re: Issue with accessing an Object in FireWatir

2010-05-17 Thread Betsy
Hi, Was unable to reproduce it on a small code.. :( Can it be an issue with the code? -Betsy Joy. On May 17, 4:58 pm, Betsy wrote: > equiv="Content-Type" content="text/html; charset=windows-1252"> > cellPadding="0" width="760" align="center" border="0"> vAlign="top" width="165"> id="testTd"

[wtr-general] Re: Issue with accessing an Object in FireWatir

2010-05-17 Thread Betsy
Recommended Hotel Pai ViceroyStar Rating:Modify Searchhttp://images1.makemytrip.com/mmtimgs/images/upload/ Pai%20Viceroy_JC%20Road-Bangalore_Listing.jpg" width="116" />Area:J.C. Roadhttp://172.16.8.249/makemytrip/searchHotels.do? residentOfIndia=Y&method=searchHotels&searchKey=58b1140e37|e75b|b0d

[wtr-general] Extracting from a google search

2010-05-17 Thread ambarw
I am new to Watir and Ruby and have ben trying to esablish a reliable way of extracting the search result from a google search. I can't seem to distinguish between Google's sponsored links and other search results I want to be be able to search for pat of a url to see if it appears in he googles se

Re: [wtr-general] Re: Issue with accessing an Object in FireWatir

2010-05-17 Thread Željko Filipin
On Mon, May 17, 2010 at 1:16 PM, Betsy wrote: > The source code is too big. Can you reproduce it on a small portion of HTML? That would help us reproduce it too. Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them v

[wtr-general] Re: Issue with accessing an Object in FireWatir

2010-05-17 Thread Betsy
The source code is too big. pasting it here:- var began_loading = (new Date()).getTime(); var takeToNextPage=0; function Set_Cookie( name, value, expiredays){ var today = new Date(); today.setTime( today.getTime() ); if ( expiredays

Re: [wtr-general] Re: Issue with accessing an Object in FireWatir

2010-05-17 Thread Angrez Singh
Hi Betsy, Its always easier for someone to help you if you post the relevant HTML code. That ways someone can use the HTML code on their machine to reproduce the issue and provide you with solution. Also, if there is a bug with Watir/Firewatir the same HTML code can be used for adding unit test ca

[wtr-general] blacklist test requests from google analytics using watir

2010-05-17 Thread Željko Filipin
I plan to post links to questions posted to stackoverflow.com that are tagged "watir". It will probably be just a few posts a week. If it bothers you, let me know. I am doing it to let people know that I prefer that site for Watir support. The first one: http://stackoverflow.com/questions/284714

[wtr-general] Re: Issue with accessing an Object in FireWatir

2010-05-17 Thread Betsy
Thanks Rajiv for the suggestion.. It did not work. I checked for the div and found that there was only one link in it. -Betsy Joy. On May 17, 1:32 pm, Rajiv Nanduani wrote: > Hi, > > did u try this? > > ff.div(:class,'roomInfo').link(:text => 'Book',:index => 1).click > > may be under div there

Re: [wtr-general] Issue with accessing an Object in FireWatir

2010-05-17 Thread Rajiv Nanduani
Hi, did u try this? ff.div(:class,'roomInfo').link(:text => 'Book',:index => 1).click may be under div there are more than one link with same text On Mon, May 17, 2010 at 1:12 AM, Betsy wrote: > Hi all, > > We have a strange issue with an object which is a div. > > ff.div(:class,'roomInfo').