[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: 'matches' method for regexp gives error

2008-12-16 Thread Ravi
I guess this will work: @mytestvalue = $ie.span(:id, 'db_data').text.match(/db_[0-9]*/).to_s On Dec 16, 12:07 pm, Paul Rogers paul.rog...@shaw.ca wrote: what does $ie.span(:id, 'db_data').text return - it might be a problem with your regular expression. What are you expecting

[wtr-general] Re: persistant 'about:blank' window on Vista.

2008-12-29 Thread Ravi
This may help: http://wiki.openqa.org/display/WTR/FAQ#FAQ-WhatshouldIdoiftwobrowserwindowsappearwhenrunningatestunderWindowsVista%3F On Dec 29, 4:08 am, juuser jarm...@gmail.com wrote: Sorry, can't remember exactly, but try to turn off Protected Mode. On Dec 29, 11:43 am, aidy lewis

[wtr-general] Re: Ruby Variable

2009-02-17 Thread Ravi
Try using: puts instance_eval(var#{x}) in place of puts var[x] -Ravi On Feb 17, 3:24 pm, Jason Shelton jas.shel...@hotmail.com wrote: All, I have a set of variables, with similar names, except for the last character. So for instance, lets say that I have three variables var1, var2

[wtr-general] Re: Select Lists

2009-02-20 Thread Ravi
ie.select_list(:name,'name').clearSelection On Feb 20, 11:53 am, Jason Shelton jas.shel...@hotmail.com wrote: All, I have a control in my application, that looks a list box, but in the code it is treated as a select list. When I use the Watir select list commands, everything works fine.

[wtr-general] Re: Array Elements

2009-02-23 Thread Ravi
second_array=[] ; first_array.each{|a| second_array a if a =~ / expected_text/} On Feb 23, 3:53 pm, Jason Shelton jas.shel...@hotmail.com wrote: All, I am reading an xml file into an array of lines(arr[]). I want to look at each individual line (element) of the array, and determine if

[wtr-general] Re: slice question

2009-02-25 Thread Ravi
.slice(/\*.*\*/) On Feb 25, 9:30 am, Moochie dduph...@redbrickhealth.com wrote: I want to slice around tow * *, but the following doesn't work. .slice(/*.**/) I belive it because of the two * next to each other. Is thier a way I can make this work? Thanks, Darin

[wtr-general] Re: Unable to attach to a page on makemytrip

2009-05-11 Thread Ravi
Insert the following line after clicking search-for-flights.gif: Watir::Waiter.wait_until{ie.image(:src,http:// cheapfaresindia.makemytrip.com/international/img/us/ booknow.gif).exist?} On May 11, 1:56 am, Pallavi Sharma write2pall...@gmail.com wrote: You are right Santosh, this is exactly

[wtr-general] Re: How to click on a text in side the SPAN tag. [puts ie.div(:id,'divSiteMapControl').innerText = Sitemap: Homepage|Administration|Manage Folders|New Folder]

2009-05-11 Thread Ravi
Did you try: ie.span(:text, Manage Folders).link(:text,Manage Folders).click On May 11, 4:03 pm, satish spanchumar...@gmail.com wrote: Hi marekj, This would work but I have Manage Folders in two places in my web page. I want to make sure I am clicking on this particular link in this SPAN

[wtr-general] need a command to check for a feild is visible or not

2009-09-21 Thread ravi
think it is in the dom can you suggest me any options Thanx in advance regards ravi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general

[wtr-general] reg firewatir on mac

2009-10-15 Thread ravi
this thanx in advance ravi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines

[wtr-general] Speed/Delay

2010-08-20 Thread ravi
called speed! I would like to know if there is any other option currently available that I can use to speed up my tests. Thanks, Ravi -- 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

[wtr-general] Re: Speed/Delay

2010-08-21 Thread ravi
Hi, I am using 1.6.5 which I believe is the latest version. -Ravi On Aug 20, 9:18 pm, Pallavi Sharma write2pall...@gmail.com wrote: Hi Which version are you using? It works fine with 1.6.2. Regards Pallavi. On Sat, Aug 21, 2010 at 2:10 AM, ravi rav...@gmail.com wrote: The cheat

[wtr-general] Re: `assert_exists': Unable to locate element

2009-02-05 Thread Ravi Kumar
Hi We should run Ruby as a Windows Administrator, GoTo your ruby/bin/ Give and On Thu, Feb 5, 2009 at 3:15 PM, Al Snow jasn...@gmail.com wrote: RK, If your OS is Vista, then the answer is in the FAQ -

[wtr-general] Re: `assert_exists': Unable to locate element

2009-02-05 Thread Ravi Kumar
Hi Run RUBY with Administrator privileges , Go to your ruby/bin folder and select Run this program as an administrator in ruby properties window. Sure it should resolve both the issues mentioned. Thanks On Thu, Feb 5, 2009 at 4:22 PM, Ravi Kumar mvraviku...@gmail.com wrote: Hi We should

[wtr-general] Re: Getting 'assert_exists': Unable to locate element, using :name, q (Watir::Exception::UnknownObject...

2009-03-18 Thread Ravi Kumar
Hey , Make sure C:\ruby\bin\ruby.exe invoked as Administrator (if you are running the script in Vista) Thanks Ravi On Wed, Mar 18, 2009 at 9:56 PM, vladimir...@hotmail.com vladimir...@hotmail.com wrote: It opens Google web site, but does not type anything in the search field. All

[wtr-general] Re: need a command to check for a feild is visible or not

2009-09-21 Thread ravi pulipaka
, ravi ravi8...@gmail.com wrote: I have a situation I have a text box which pops up when I select a option from a selectlist above it, otherwise is is not visible on the screen if I use the command available in watir eval(browser.field).should_not exist - it fails

[wtr-general] Re: need a command to check for a feild is visible ornot

2009-09-22 Thread ravi pulipaka
its giving me an error undefiend meathod visible i tried updating the gems but stil the error is there can you help regarding thanx in advance ravi On Mon, Sep 21, 2009 at 11:12 PM, Rohan Ojha rohan.o...@bsil.com wrote: If you want to check whether a given object is visible in the UI

[wtr-general] Re: need a command to check for a feild is visible ornot

2009-09-22 Thread ravi pulipaka
designed. FROM Karim Rayani http://karimnumerouno.wordpress.com On Tue, Sep 22, 2009 at 7:42 AM, ravi pulipaka ravi8...@gmail.com wrote: its giving me an error undefiend meathod visible i tried updating the gems but stil the error is there can you help regarding thanx in advance ravi

[wtr-general] Re: reg firewatir on mac

2009-10-16 Thread ravi pulipaka
Thanx for the reply I found some documentaion in wiki but i tried to do the same but still the problem exists i have firefox 3.5 version and jssh 0.9 plugin , still the problem unable to connect 127.0.0.1 ...any suggestions to solve the problem thanx in advance ravi On Thu, Oct 15, 2009 at 4

[wtr-general] Re: Watir gem tries to build against the win32 API on a mac

2009-11-03 Thread ravi pulipaka
try uninstalling watir,safariwatir and firewatir install only firewatir and safari watir and check if you had a gem named activerecord install it it worked for me so give it a shot On Fri, Oct 9, 2009 at 4:37 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Oct 9, 2009 at 11:23

[wtr-general] Re: install for 1.6.2 doesn't work after 1.6.5 release

2009-11-12 Thread ravi pulipaka
Hello, I too had the same problem the I just installed commonwatir 1.6.5 and the installed watir -v 1.6.2 it let me do the installation but when i ran the previously running script it faild stating no such file to laod watir/ie Any suggestions thanx in advance regards ravi On Thu, Nov 12

[wtr-general] Re: Watir Help

2009-11-12 Thread ravi pulipaka
can i too have the detective number as I am also facing the problem of missing 'a' I have latest versions of watir and cucumber Any suggestions thanx in advance ravi On Thu, Nov 12, 2009 at 9:15 AM, tester86 sagar.am...@gmail.com wrote: hahahahahhaha very funny, hire a private dectivtive

[wtr-general] Re: Watir Help

2009-11-13 Thread ravi pulipaka
Hi Al snow, it worked, you are awesome thanx a lot ravi On Thu, Nov 12, 2009 at 7:53 PM, Al Snow jas...@hotmail.com wrote: Try this:http://sameshirteveryday.com/2009/04/18/missing-a-character-on-windows-with-rspec-and-cucumber/ Thanks, Al Snow === Date: Thu

[wtr-general] Re: Issue trying to click on a span element using safariwatir

2009-11-24 Thread ravi pulipaka
generally i feel span doesnot support text refer to supported methods by element in watir wiki but confirm with others anyways try this browser.span(:text, /.*butterfly/).click ravi On Thu, Nov 19, 2009 at 2:57 PM, Tiffany Fodor tcfo...@comcast.net wrote: Hi! Since you're already using

Re: [wtr-general] Re: Stop Firefox?

2010-04-07 Thread ravi pulipaka
the above method works fine but the problem is sometimes the page needs more time than you mention in such cases it will fail you can use a function called wait until if you know the next element you are going to test On Wed, Apr 7, 2010 at 4:05 PM, Nate nate.s.bar...@gmail.com wrote: very