Hi,
I have written a quick little program to see how to use
screen_capture and am having an error condition that I am not able to
resolve. I suspect it is an easy fix.I will share the code from the
program and command line error generated.
Thanks in advance.
Hi
In case when there is drop down arrow, the elements are set using
text_field sometimes.
Please try this option also.
e.g. $ie.text_field(:name,'').set('')
tester86 wrote:
Hi
I did fire a javascript event that will set the focus in the drop down
list:
$b.table(:index,
Hi,
when I tried to install
|gem ||install| |selenium-webdriver
I got following error
||selenium-webdriver requires ffi=0
Then i gave command, ||gem ||install| |ffi-0.6.3
||I got following error.
|||Building native extensions. This could take a while...
ERROR: While executing gem ...
Hi
(
I did try text_field before but it does not work, after I set focus
and execute text_field(:index, 2).set(Test) error stating index 2
has been disabled. What I am doing: I set the focus in the drop down,
then set onblur(if i do $b.select_list(:value, Test).click this
clicks on the default
This is due to a change between ruby 1.8 and 1.9 in how the syntax ?x is
interpreted, where x is any character.
You can change the screen_capture.rb file. Every instance of ?x needs to be
replaced with 'x'.getbyte(0)
so the line:
keybd_event.Call(vkKeyScan.Call(?F), 1, 0, 0)
should become:
Thanks much that worked like a charm...though I do question the
advisability of having to change underlying code if I ever have to
reinstall.
Thanks again...on to the next task.
On Mar 17, 11:01 am, Ethan notet...@gmail.com wrote:
This is due to a change between ruby 1.8 and 1.9 in how the
Well, I'm not sure that watir officially supports ruby 1.9 yet. I think it
does mostly. But, yes, that code should be changed in the source.
On Wed, Mar 17, 2010 at 14:46, barb bfwork2h...@yahoo.com wrote:
Thanks much that worked like a charm...though I do question the
advisability of having
Mrunal,
You are welcome to read my trials-and-errors (Chapters 51+)
on my blog (http://my-ruby-journey.blogspot.com/)
dealing with me trying to get watir-webdriver and
selenium-webdriver to install cleanly.
I would check first that you have done a
gem update to get all updates for all gems.