Hi all,
we have found out a solution for the query i posted and it is working fine.
The solution is
browser2.text_field(:class,dojoComboBox).focus()
browser2.text_field(:class,dojoComboBox).set T
browser2.text_field(:class,dojoComboBox).fire_event('onkeyup')
Hi all,
I need to open IE and FF browsers from one ruby file. I open IE
browser using the following code:
Watir::Browser.default = 'ie'
$ie = Watir::Browser.new
When I try to open new FF3 browser using similar code
Watir::Browser.default = 'firefox'
$ff = Watir::Browser.new
it opens the one
On Fri, May 15, 2009 at 8:25 PM, Chuck van der Linden sqa...@gmail.com
wrote:
reference the FAQ setion on popups
http://wiki.openqa.org/display/WTR/FAQ#FAQ-HowdoIattachtoapopupwindow%3F
Actually, a long time ago I have moved everything from this link to
Thank you Siva.
On May 17, 10:58 pm, sHiVa krapa.ph...@gmail.com wrote:
Send your composed mail to watir-gene...@googlegroups.com with
attachment. Automatically you can see your post with attachment.
Regards
Siva
--~--~-~--~~~---~--~~
You received this
Hi,
I'm using watir to get the html of a page in order to verify every
single page on w3c.org but what I get with watir is something like:
HTML lang=is xml:lang=is xmlns=http://www.w3.org/1999/
xhtmlHEADTITLECertus Games/TITLE
META http-equiv=Cache-Control content=no-cache
META http-equiv=Pragma
Hi all,
I was able to have some success using the following code:
# popup_closer.rb
require 'win32ole'
begin
autoit = WIN32OLE.new('AutoItX3.Control')
loop do
autoit.ControlClick(Windows Internet Explorer,'', 'OK')
autoit.ControlClick(Security Information,'', 'Yes')
Hello All,
Apologies for an unambiguous subject line.
Following is a scenario in my test:
1. On a particular page, we have a hyperlink.
2. When you click on that hyperlink, it opens up an XML document in
the same window
3. I wanted to copy the contents and save that XML file on disk. I can
do
Natasha,
This is where you need to use a little natural Ruby. For example:
filename = 'output.xml'
File.open(filename, 'w').write browser.html
Another useful style is:
File.open(filename, 'w') do |output|
output.puts Whatever I want to put in the file.
end
Hope this helps.
Alex
On
Hi George,
I tried this but did not work.
I did use 'click' method on image and I got popup as needed. Once I
have popup I am trying to click on Yes button. But there is no
responce.
I have tried another schenario where I have to use 'click_no_wait',
problem here is popup does not appear.
Can
Hello guys,
Our guys are using DevEx controls.
I have a image icon, if I click on that icon I will get a popup
message with Yes, No buttons.
Problem here is, I am not able to see popup when I use
click_no_wait. I do not see any error messages either.
When I use click method I am able to see
I am on Mac OSx and am having trouble getting firewatir to run. On
Ubuntu it works fine. I added require 'rubygems' to the top of my
script but that didn't solve the problem (I shouldn't have to do that
anyways because it has been working for 5 months). Any ideas?
Thanks,
Josh
11 matches
Mail list logo