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,
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
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
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
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
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:
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