In my application i want to write a watir code for browsing an image
Working:
1:Click on browse button
2:Pop window opens.I click on image and click on ok
3:Image path is displayed under the browse field
4:Click on upload
Now i want to write a watir code for the above.
Html code is:
div
On Thu, Oct 15, 2009 at 10:07 AM, Amit amitkkulkarni...@gmail.com wrote:
input id=product_photo class=file type=file size=20
name=product[photo]/
http://wiki.openqa.org/display/WTR/File+Uploads
Željko
--
http://watirpodcast.com/
--~--~-~--~~~---~--~~
You
Hello.
I've created something like this. Commented it also to make it more
obvious. You should create method for saving screenshots also. Hope it
helps.
def save_javascript_error
if $browser.is_a?(Watir::IE) $browser.getIE.StatusText =~ /Error
on page/
Using the mozilla component classes you could set javascript.enabled
to equal true
Aidy
2009/10/15 arihan sinha arihan.si...@googlemail.com:
Hi All,
Is there any way to disable java script of IE/Firefox through ruby+watir?
Thanks
Arihan
I meant false
## From Matt Ellis
## Not tested
def set_bool_preference(key, value)
jssh_command = var prefs =
Components.classes[\@mozilla.org/preferences-service;1\].getService(Components.interfaces.nsIPrefBranch);
jssh_command += prefs.setBoolPref(\#{key}\, #{value});
I've found the answer here:
http://wiki.openqa.org/pages/viewpage.action?pageId=1119
On Oct 7, 3:51 pm, kat katfor...@gmail.com wrote:
Given this:
span class=someclass style=somestylesometext/span
how is it possible to get the span style somestyle in Watir?
Hello all,
I am trying to install firewatir on mac with snowleopard os
i am getting error of jssh
i tired installing jssh but the error message i am getting is -jssh
0.94 is not compatiable with firefox 3.5 i even tried with firefox 3.0
still the same message
can you please help me regarding
you'll have to use autoit. This page has the key combinations
http://www.autoitscript.com/autoit3/docs/functions/Send.htm
Paul
On Thu, Oct 15, 2009 at 10:36 AM, Andrew andrew.d...@lthree.com wrote:
I know this is probably easy. How do you send the key combination ALT-
Shift-T to the
If you are trying to change IE options would it not be better to alter
the registry settings?
Aidy
2009/10/15 Paul Rogers paul.rog...@shaw.ca:
you'll have to use autoit. This page has the key combinations
http://www.autoitscript.com/autoit3/docs/functions/Send.htm
Paul
On Thu, Oct 15,
Bret -
I'm looking into this. I see all of the plugins for Selenium and I'm expecting
to see something like, Plugin for Ruby Test::Unit or Rspec.
Ultimately, Hudson has to be able to understand my test results. Is it a
plugin that accomplishes that or do my tests need to emit XML? If
This should do it:
browser.send_keys({SHIFT}{ALT}{T})
On Oct 15, 9:57 am, Paul Rogers paul.rog...@shaw.ca wrote:
you'll have to use autoit. This page has the key
combinationshttp://www.autoitscript.com/autoit3/docs/functions/Send.htm
Paul
On Thu, Oct 15, 2009 at 10:36 AM, Andrew
Alan Baird wrote:
Bret -
I'm looking into this. I see all of the plugins for Selenium and I'm
expecting to see something like, Plugin for Ruby Test::Unit or Rspec.
Ultimately, Hudson has to be able to understand my test results. Is it a
plugin that accomplishes that or do my tests
One ting I didnt mention is that the new machine is a VMFusion Windows on
MAC.
I sometimes success in finding the popup when I am not moving the mouse at
all.
How do you use wait_until?
On Wed, Oct 14, 2009 at 9:18 PM, Bret Pettichord b...@pettichord.comwrote:
My guess is that this is Ajax
This thread appears to cover your scenario:
http://groups.google.com/group/watir-general/browse_thread/thread/f87efefd3b4a8d7/50ff17894536549b?lnk=gstq=%28hwnd%2C+%22Cancel%22%29#50ff17894536549b
Hope that helps.
On Oct 13, 1:50 am, Pallavi Sharma write2pall...@gmail.com wrote:
Hi
I have a
Awesome.
I'll check it out and report my findings back to the list.
Alan
-Original Message-
From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On
Behalf Of Bret Pettichord
Sent: Thursday, October 15, 2009 12:59 PM
To: watir-general@googlegroups.com
Subject:
On Thu, Oct 15, 2009 at 6:34 PM, ravi ravi8...@gmail.com wrote:
I am trying to install firewatir on mac with snowleopard os
i am getting error of jssh
I think we do not have jssh for new Mac OS. There are instructions how to
build it here on the list somewhere or on the wiki. If you can not
http://wiki.openqa.org/display/WTR/FAQ#FAQ-HowdoIdealwithtimingissuesandnotusesleep%3F
Hope that helps...
On Oct 15, 10:55 am, Shlomit Gazit shlomitpatr...@gmail.com wrote:
One ting I didnt mention is that the new machine is a VMFusion Windows on
MAC.
I sometimes success in finding the popup
17 matches
Mail list logo