[wtr-general] Re: Why this autoit code is not working? its doing send keys in the browser URL address area instead of in the text_field area.

2009-05-13 Thread Anu Gangavaram
command. ie.text_field(:id, ctl00_contentChildWindow_secUserDetails_subsecUserInfo_txtPhoneNumber_txtM­ askTextBox_I).focus I guess that should do right? Thanks Satish. On May 13, 4:06 pm, Anu Gangavaram anuwri...@gmail.com wrote: It is because the focus is currently set on the browser

[wtr-general] Re: How to determine last used row in Excel sheet

2009-05-07 Thread Anu Gangavaram
If I understood your question correctly, you are getting data from the excel spreadsheet in a for loop and you can print the last row used using the iteration value. On Thu, May 7, 2009 at 3:27 AM, sHiVa krapa.ph...@gmail.com wrote: Hi all, I need to find out the last used row number in my

[wtr-general] Re: Watir on VISTA

2009-05-07 Thread Anu Gangavaram
I am running Watir on Vista: Ruby Version: ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] Watir Version: 1.6.2 Rgds, Anu On Thu, May 7, 2009 at 11:41 AM, Super Kevy kpe...@scholarshipamerica.orgwrote: I did a search and the group threads says Watir runs on Vista. Just need a minor

[wtr-general] Re: How to click a cell in a dynamically changing Table?

2009-05-04 Thread Anu Gangavaram
Are using /#{value}/ syntax for regular expression? On Thu, Apr 30, 2009 at 1:29 AM, Prince3105 prince3...@gmail.com wrote: Hi All, I am a newbie to Watir and Ruby. I use below function for login process. As per user's Role Rights the user can navigate to the permitted pages. Initially

[wtr-general] Re: Popup for File downlaods

2009-04-09 Thread ANu Gangavaram
I was running into similar problem. I seperated the scripts - main script and save script. I call the save script from the main script using a system call and send the filename as an argument and it works. You can also have it in the same file, but seperate the code and instantiate each

[wtr-general] Re: Handling popups

2009-04-09 Thread ANu Gangavaram
Can you please give more details on what you were trying to do? On Wed, Apr 8, 2009 at 1:58 AM, spike vinaykumarl...@gmail.com wrote: Hi I'm tried to run Popups_test.rb script but its not working im getting the following error

[wtr-general] Re: Error in handling popup

2009-04-09 Thread Anu Gangavaram
Since you are able to run the script, after clicking on the button manually, it could be a timing issue. you might want to check that as well. On Thu, Apr 9, 2009 at 2:26 PM, Chuck van der Linden sqa...@gmail.comwrote: I many cases, the most important thing to understand when dealing with

[wtr-general] Re: Regex question

2009-04-08 Thread ANu Gangavaram
When using regular expression with a variable, the syntax is /#{str}/ On Wed, Apr 8, 2009 at 9:30 PM, vladimir...@hotmail.com vladimir...@hotmail.com wrote: I have a string obj_url = http://crisp.adoc.xerox.com:8080/docushare/dsweb/Get/ Document-77/ and need to extract 77. This code

[wtr-general] Re: wait_until ...

2009-03-19 Thread ANu Gangavaram
You would first want to add the below statement in your script: require 'Watir' Also, your error mentions safariwatir - Are you working on IE or Safari... you might want to check that as well. On Thu, Mar 19, 2009 at 2:12 PM, Mark Lehky mark.le...@aclaro.com wrote: Hi all. I am still very

[wtr-general] Re: wait_until ...

2009-03-19 Thread ANu Gangavaram
You might also want to add something like : Watir::Waiter.wait_until{$browser.div(:class, 'home_top').exists?} Hope this works for you. On Thu, Mar 19, 2009 at 2:19 PM, ANu Gangavaram anuwri...@gmail.com wrote: You would first want to add the below statement in your script: require 'Watir

[wtr-general] Re: wait_until ...

2009-03-19 Thread ANu Gangavaram
into all this? I am running this against IE. But even after your suggestion, I get the same error. Just out of curiosity is Ruby case-sensitive in the require statement: require watir require Watir Thanx. 2009/3/19 ANu Gangavaram anuwri...@gmail.com: You would first want to add the below