[wtr-general] Re: how can i execute only one worksheet in a spresdsheet in Rasta

2009-03-16 Thread rrash586
Thanks Hugh its working now !! :-) On Mar 13, 9:05 pm, Hugh McGowan colinsda...@gmail.com wrote: You can use the commandline options --continue rasta_math --pagecount 1. There are also ways to run a given number of records or starting from a specific

[wtr-general] Re: Watir users: What is your role at work?

2009-03-16 Thread Natasha Ranney
Hi All, I have been into testing for about 6 years. My testing experience has mostly been into testing on unix platforms and C-Api testing. My current job is around testing of a website. Hence this is the first time I started looking out for automated test tools for website automation. This

[wtr-general] Re: Error while runnig watir script using Xpath

2009-03-16 Thread Angrez Singh
Can you try with latest REXML from their site? http://www.germane-software.com/software/XML/rexml/ - Angrez On Mon, Mar 16, 2009 at 12:22 PM, kushnit kush...@gmail.com wrote: I am using the inbuilt REXML version that come with ruby 1.8 --~--~-~--~~~---~--~~

[wtr-general] Watir problem with IE

2009-03-16 Thread Pi
Hi, When i execute the following code ie = Watir::IE.new() ie.goto(http://www.yahoo.com;) it opens a new IE window first and then goes to a second window, where yahoo.com is opened. When i give a command like ie.refresh() or access ie.html it is the first window ( which is blank ) that is

[wtr-general] Re: when I do ie.image().exists, it returns true but flash and click doesn't work

2009-03-16 Thread shivanand desai
Thanks chuck its working. On Sat, Mar 14, 2009 at 2:08 AM, Chuck van der Linden sqa...@gmail.comwrote: try treating it like a button input tags containing images often work as buttons.. (you can see this on the google search page in fact) try browserobject.button(:id, supplmg').flash

[wtr-general] Re: Watir users: What is your role at work?

2009-03-16 Thread wesley chen
Hi, All, This is Wesley, from ShanXi Xi'an China, I work for Active Network. I became a black-box tester about two years ago when I was graduated. Now I am still a black-box tester, sometimes the test is really repeated. Watir automation is interesting, it can kind of improve my work efficiency. I

[wtr-general] Re: when I do ie.image().exists, it returns true but flash and click doesn't work

2009-03-16 Thread shivanand desai
Hi chuck, Forgot to mention it, the code works in new version(1.6) the same code doesn't work in the older version(1.5.6) gives the following error Watir::Exception::UnknownObjectException: Unable to locate element, using :id, suppImg On Mon, Mar 16, 2009 at 4:35 PM, shivanand desai

[wtr-general] accessing tableCell through XPath

2009-03-16 Thread Shylaja
Hi Iam trying to access the table cell through XPath wiht the following expression cell = ie.td(:xpath, //td[contains(., 'Sales')]/) and get the following error undefined method `td' for #Watir::IE:0x3b94b84 (NoMethodError) Alternately if i change the expression as cell =

[wtr-general] Re: accessing tableCell through XPath

2009-03-16 Thread Angrez Singh
try cell = ie.cell(:xpath, //td[contains(., 'Sales')]/) - Angrez On Mon, Mar 16, 2009 at 6:04 PM, Shylaja shylaja.ra...@gmail.com wrote: Hi Iam trying to access the table cell through XPath wiht the following expression cell = ie.td(:xpath, //td[contains(., 'Sales')]/) and get the

[wtr-general] Re: get attribute through xpath

2009-03-16 Thread aidy lewis
Chuck. This was a non-standard HTML attribute so I had to use element_by_xpath to connect directly to the object through win32ole and then I was able to invoke raw DOM methods upon it. Aidy 2009/3/16 Chuck van der Linden sqa...@gmail.com:  I am unable to retrieve an attribute of the below

[wtr-general] Re: accessing tableCell through XPath

2009-03-16 Thread Shylaja
Angrez When i try to use this expression i get the following error ie.cell(:xpath, //td[contains(., 'Sales')]/).click() `assert_exists': Unable to locate element, using :xpath, //td [contains(., 'Sales')]/ (Watir::Exception::UnknownObjectException) On Mar 16, 5:50 pm, Angrez Singh

[wtr-general] Re: Recording a podcast with Sai Venkatakrishnan

2009-03-16 Thread Željko Filipin
Thanks everybody for the questions. I have asked them all and got the answers. :) The podcast should be published in the next few days. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To

[wtr-general] Re: accessing tableCell through XPath

2009-03-16 Thread wesley chen
Try: ie.cell(:xpath, //td[contains(text(), 'Sales')]/).click Thanks. Wesley Chen. On Mon, Mar 16, 2009 at 8:56 PM, Shylaja shylaja.ra...@gmail.com wrote: ie.cell(:xpath, //td[contains(., 'Sales')]/).click() --~--~-~--~~~---~--~~ You received this message

[wtr-general] Re: Watir problem with IE

2009-03-16 Thread wesley chen
You may know all the ie windows attributes by: Watir::IE.each { |ie| puts ie.title puts ie.url } You can locate the special ie window by: ie=Watir::IE.find(:title,/ie_title_name/) # ie=Watir::IE.find(:url, /ie_url/) ie.goto(...) Thanks. Wesley Chen. On Mon, Mar 16, 2009 at 9:54 PM, Al Snow

[wtr-general] Opportunity

2009-03-16 Thread lgeo...@everesttech.com
Hello All, I have multiple WATiR opportunities with one of my clients in Columbus OH for a 6 months plus project that just opened up last friday. This is a 100% onsite project and they are willing to pay upto $65 an hour. Please contact me at lgeo...@everesttech.com thanks Leah

[wtr-general] Re: get attribute through xpath

2009-03-16 Thread marekj
how about? browser.link(:id, 'dtrSeriesRightsWindowAncho').attribute_value(title) marekj Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ On Mon, Mar 16, 2009 at 7:55 AM, aidy lewis aidy.le...@googlemail.comwrote: Chuck. This was a non-standard HTML

[wtr-general] Re: Opportunity

2009-03-16 Thread Željko Filipin
Leah, The next time please use more specific subject. I almost deleted your post because just Opportunity made me think it was spam. Watir opportunities would be a great subject. :) Željko --~--~-~--~~~---~--~~ You received this message because you are

[wtr-general] Re: Opportunity

2009-03-16 Thread leah
Will do that, I took it for granted beacuse this is a Watir website and thought that it would be understood , Sorry about that :) . Appreciate your input! So, did you have any one of mind you could think of who might need a job? On Mar 16, 11:13 am, Željko Filipin zeljko.fili...@wa-research.ch

[wtr-general] Re: Opportunity

2009-03-16 Thread Željko Filipin
On Mon, Mar 16, 2009 at 16:23, leah leahan...@gmail.com wrote: did you have any one of mind you could think of who might need a job? No. But this list has 1313 members at the moment, so you have a good chance of finding somebody. Željko --~--~-~--~~~---~--~~

[wtr-general] Re: Opportunity

2009-03-16 Thread Constantine Karnacevych
heh, my thunderbird considered this email a SPAM :) cute one lgeo...@everesttech.com wrote: Hello All, I have multiple WATiR opportunities with one of my clients in Columbus OH for a 6 months plus project that just opened up last friday. This is a 100% onsite project and they are willing to

[wtr-general] Watir Training Offered

2009-03-16 Thread Bret Pettichord
I've recently started teaching Watir classes again. Last week I taught a 1/2 day intro to Watir class in Denver (at the SQuAD conference) that got good reviews. It is a hands-on lab-based class that people install on their laptop and take with them, so they can continue learning even after

[wtr-general] Field type changes

2009-03-16 Thread andrew . dahl
I have a table cell that sometimes holds a span and sometimes holds a select list. I was trying a begin/rescue like this; begin puts looking for select list @row.cell(:index, 2).select_list(:index, 1) rescue Exception = e puts looking for span

[wtr-general] Re: Field type changes

2009-03-16 Thread Charley Baker
I guess I would question why you'd do that; and those seem like different tests. But unless you give me a reason, I'd treat them separately. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Mon, Mar 16, 2009 at

[wtr-general] Re: Field type changes

2009-03-16 Thread andrew . dahl
1) The column def is part of a larger table def. I would have to either repeat the column def or the entire table to handle the two types. 2) Defining multiple columns would make it impossible for me to scan down that column and choose a row based on a value in that column. 3) Defining multiple

[wtr-general] Re: Field type changes

2009-03-16 Thread Charley Baker
I still don't understand the business reason, but thanks for the technical explanation. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Mon, Mar 16, 2009 at 5:43 PM, andrew.d...@lthree.com wrote: 1) The column

[wtr-general] Re: rasta is a keyword driven but getting error when i kept first row of worksheet as blank

2009-03-16 Thread heymarii
rasta requires you to format your worksheet. you can see how to do this at rasta.rubyforge.org/documentation/spreadsheet.html On Mar 16, 4:05 am, rrash586 rrash...@gmail.com wrote: Hello all Rasta is a keyword driven framework  but i m  getting error when i kept first row of worksheet as

[wtr-general] Re: when I do ie.image().exists, it returns true but flash and click doesn't work

2009-03-16 Thread Chuck van der Linden
Well one of the dev types would have to tell us for sure, but as I believe they have been enhancing the number of different attributes supported by different page elements, it's possible that the older version of Watir doesn't support the ID attribute for buttons.. Generally speaking unless you