[wtr-general] Re: How to Select the data in Multiselect list box

2010-07-19 Thread joedio
Oops, One minor correction. Select list use the select method, not the set method. # Select the value browser.select_list(:how, what).select(sSelection) Sorry On Jul 18, 7:46 am, joedio joe...@comcast.net wrote:    # Set the current value    browser.select_list(:how,

[wtr-general] How to get the original html source code via FireWatir

2010-07-19 Thread Will C
I have a question about getting the original html source code. The html method in firefox.rb, only return the innerHTML of the body. But I need to get the original source code. just like, when I input view-source: wiki.openqa.org, the firefox will show the html source code. Anyone knows how to

[wtr-general] Re: How to Select the data in Multiselect list box

2010-07-19 Thread Chuck van der Linden
You may have another challenge here. I don't think HTML's simple Selection List element is capable of multi-select. If you are working with a control that allows things like Multi-select then there's good odds that it is implemented via some kind of Javascript control. That means you are going

[wtr-general] Re: selenium-webdriver snow leopard issur

2010-07-19 Thread Chuck van der Linden
well I'd say the first thing you are doing wrong, is asking a Selenium question in a group full of people that mostly use a different tool (Watir) and for the most part have little knowledge of Selenium. Your odds of getting a good answer to why you can't compile that gem would be a lot higher if

[wtr-general] Re: cant get an element

2010-07-19 Thread Chuck van der Linden
When viewing this web page manually, is this value solo, or one of many similar values? How do you know when manually executing the test, which value you are trying to get? Is the ID value for the wpFieldValue span predictable? In theory browser.p(:class, wpFieldValue).text would return what

Re: [wtr-general] Re: selenium-webdriver snow leopard issur

2010-07-19 Thread Jari Bakken
On Mon, Jul 19, 2010 at 5:11 PM, Chuck van der Linden sqa...@gmail.com wrote: Your odds of getting a good answer to why you can't compile that gem would be a lot higher if you asked them in a Selenium oriented group And even higher if you ask the creators of the gem:

Re: [wtr-general] How to get the original html source code via FireWatir

2010-07-19 Thread Ethan
FireWatir has no outer_html method. I recommend Vapir-Firefox, a much-improved fork of FireWatir; it supports outer html. See the site at http://vapir.org/ and the wiki at http://wiki.github.com/vapir/vapir/ -Ethan On Mon, Jul 19, 2010 at 03:27, Will C changwei...@gmail.com wrote: I have a