Hi Mojares,
Recorders will help at the early stages of learning. Those are not
meant for complex tasks. It can record events performed on web
objects. But coming to a alert popup, It is a window based component.
We must call the win32api to handle such components. Better not to
relay on
Can you check event logs or error console of Firefox?
On Tue, Aug 4, 2009 at 10:51 AM, pallavi shashidhar
pals.sha...@gmail.comwrote:
Hi,
I have logged in as Administrator and then clicked the link for for windows
and firefox 3.0 on this page:
How To “remote Control” Your IPod With Your Cell / Mobile Phone
http://bit.ly/pRfHk
http://bit.ly/pRfHk
http://bit.ly/pRfHk
How To “remote Control” Your IPod With Your Cell / Mobile Phone
--~--~-~--~~~---~--~~
You received this message because you are
On 8/3/09, Dylan mej...@gmail.com wrote:
Date.today() returns a Date object, while .set requires a string.
Somewhere in the set function it is trying to get the length of the
string it was passed, which is why you're getting that error. You
might try something like:
Darryl - when I use $regno = oo.cell(row,6).to_i, I get the same
error.
The irony is this works fine in IRB, but executed as a script it
returns zero.
Dylan - to_i.to_s did the magic ! Thanks a bunch
- Balbao
require watir
require rubygems
require roo
ie = Watir::IE.new
oo =
Tried $regno = oo.cell(row,6).to_i in the script and got the same
error. However, this works fine with irb.
Do i need to include some more library files to get this one
working...
On Aug 4, 5:44 am, Darryl (gem dandy) Brown d-l-
br...@roadrunner.com wrote:
Hello Balbao,
$regno =
Thank You
That makes sense. This worked for me also. -
ie.text_field(:name, q).set today.to_s
On Aug 3, 7:50 pm, Dylan mej...@gmail.com wrote:
Date.today() returns a Date object, while .set requires a string.
Somewhere in the set function it is trying to get the length of the
string it
I found the answer. With the new version I need to use
ie=Watir::IE.new not include Watir.
On Aug 3, 7:04 pm, Dylan mej...@gmail.com wrote:
I would try uninstall/reinstalling and running gem update --system
beforehand so you have the latest version of rubygems before you try
installing
Dylan,
This returns 0 regardless of the value in the spreadsheet. Tried
this with the following snippet.
require rubygems
require Watir
require roo
require win32ole
require Win32API
def getkeyword(filename, sheetname)
oo = Openoffice.new(filename)
oo.default_sheet = sheetname
header_row =
thats the standard error .. can you try removing the extension? then remove
the extension folder from your profile folder:
C:/Documents%20and%20Settings/Administrator/Application%20Data/Mozilla/Firefox/Profiles/b9gcfasq.default/
Restart the machine, install XPI again.
Thanks,
Angrez
On Tue, Aug
Hi Angrez,
Yes, I deleted the extension folder, uninstalled jssh
Restarted the machine and reinstalled jssh and XPI as administrator. It is
working fine now.
Thanx for all your replies.
Regards,
Pallavi
On Tue, Aug 4, 2009 at 3:21 PM, Angrez Singh ang...@gmail.com wrote:
thats the standard
I am new to Watir
1. I have an HTML page with fields,
2. When I click Proceed button
3. I get 2 consecutive alert popups with OK button
4. after clicking 'OK' on both of them another IE browser window pops
up
5. with another alert popup, which I click OK
6. Click Save button on the newly opened
Hello everyone Im new at ruby/watir and im trying to do a performance
test.
To do this I have to run a lot of script concurrently.
My problem is:
when I do
ie.link(:url,the url).click
this opens a pop up, but how do I now which pop up has open this
instance?
if I do
iePopUp =
If I'm getting you, is this the requirement ?
- You click 'Proceed', Popup A appears
- Click 'OK', Popup B appears
- Click 'OK', New browser opens with a popup
- Click 'OK'
- Click 'Save'
- Click 'OK' on the confirmation
And what are the type of pop-ups at different steps ? i.e: modal, JS, new
Either use
require 'watir/contrib/enabled_popup'
and
hwnd1 = browser.enabled_popup(5)
Or use AutoITand WinGetHandle method
On Tue, Aug 4, 2009 at 7:55 PM, Vale vsant...@gmail.com wrote:
Hello everyone Im new at ruby/watir and im trying to do a performance
test.
To do this I have to run a
Thanks a lot Smruti but I try use:
require 'watir/contrib/enabled_popup'
hwnd1 = $ie.enabled_popup(10)
$ie.link(:url, the url).click
and I get this error message:
Timed out after 10.5 seconds
what can i do?
thks
valeria
pd.: same error if I put:
$ie.link(:url, the
May be its important to say that the windows are not modal
2009/8/4 Valeria vsant...@gmail.com
Thanks a lot Smruti but I try use:
require 'watir/contrib/enabled_popup'
hwnd1 = $ie.enabled_popup(10)
$ie.link(:url, the url).click
and I get this error message:
That dialog box is effectively a 'popup' you can find a bunch of
stuff via the watir FAQ on dealing with popups
This message from about 6 months ago might help also
http://groups.google.com/group/watir-general/browse_thread/thread/0f87efefd3b4a8d7?hl=en#
On Aug 2, 9:43 am, CHANDRA SHEKAR
Try click_no_wait instead of click.
On Tue, Aug 4, 2009 at 9:17 PM, Valeria vsant...@gmail.com wrote:
May be its important to say that the windows are not modal
2009/8/4 Valeria vsant...@gmail.com
Thanks a lot Smruti but I try use:
require 'watir/contrib/enabled_popup'
I tried it, but I got same result :(
I dont know what else can i do...
2009/8/4 Smruti Ranjan Kar smrutiranjan@gmail.com
Try click_no_wait instead of click.
On Tue, Aug 4, 2009 at 9:17 PM, Valeria vsant...@gmail.com wrote:
May be its important to say that the windows are not modal
Glad to help you.
Thanks,
Angrez
On Tue, Aug 4, 2009 at 4:29 PM, pallavi shashidhar pals.sha...@gmail.comwrote:
Hi Angrez,
Yes, I deleted the extension folder, uninstalled jssh
Restarted the machine and reinstalled jssh and XPI as administrator. It is
working fine now.
Thanx for all your
Can you elaborate the problem a little more, may be some screenshots, so
that I can have an idea about what you are trying to do.
On Tue, Aug 4, 2009 at 11:05 PM, Valeria vsant...@gmail.com wrote:
I tried it, but I got same result :(
I dont know what else can i do...
2009/8/4 Smruti Ranjan
Thanks for your interest !
The problem is:
I run 3 or more rubys concurrently from an archive .bat that run the rubys
in the ruby code I have:
$ie.table(:id, 'W0003TABLE2').link(:text,Ver el reclamo completo).click;
this opens a pop up but all the ruby process that are running opens windows
with
Hi there,
Can you recommend me any tool/ruby library that allows me convert data
(metrics) to graph/charts ect?
Thanks in advance.
Anna
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to
I would ask generic ruby questions here:
http://groups.google.com/group/comp.lang.ruby/topics
-Dylan
On Aug 4, 12:38 pm, anna barbara ostrowska ab.ostrow...@gmail.com
wrote:
Hi there,
Can you recommend me any tool/ruby library that allows me convert data
(metrics) to graph/charts ect?
Thanks for your solution. now it works well.
unless defined?(Ocra)
.code
end
if not defined?(Ocra)
code
end
On Aug 4, 5:35 pm, Jarmo Pertman jarm...@gmail.com wrote:
You can do it like this. Just make sure that all require statements
are outside of that unless block:
require
26 matches
Mail list logo