Initially you should to add new tag (if watir doesn't support 'object'
tag):
module Watir
class Object NonControlElement
TAG = 'OBJECT'
end
end
And after use:
ie.frame(:id, 'url').object(:id, 'flexApp')
I didn't test it but i think it must work :)
On 23 окт, 19:44, LanOK [EMAIL
Try to use ie.modal_dialog(:title, 'Title of your modal window')
On 12 нояб, 12:55, meaculpa [EMAIL PROTECTED] wrote:
The text is
An allotmentrequest with id IND50 has been created
I want to take IND50please helpurgent
--~--~-~--~~~---~--~~
You
screensaver, nor locked (on remote machine). You can
have screensaver and lock your workstation from the pc where you're
running remote desktop without any negative effects though.
On Nov 19, 10:50 am, LFIdnl [EMAIL PROTECTED] wrote:
Hi all!
I run watir scripts on remote computer (logged
Or you can execute puts real.length; puts list.length . That shows you
what the length of stings
On 2 дек, 11:07, LFIdnl [EMAIL PROTECTED] wrote:
May be your variable 'real' and 'list' have another not visible
character like as whitespace. Try exucuite puts '#{real}'; puts '#
{list}' . Result
In these cases I execute command in another thread. If anybody suggest
another usefull method I will be happy :) . Try this:
...
thr = Thread.new {
ie.goto javascript:OpenPage();
}
sleep(3) #time to wait of javascript popup
thr.kill
puts ie.modal_dialog.html # now must gets here
On 10 дек,
More useful
File.join($drive,env,Test_Results,#{$file_name}_Results.xls )
On 17 дек, 00:20, Darin Duphorn dduph...@redbrickhealth.com wrote:
Try \\
$drive+\\+env+\\Test_Results\\+$file_name+_Results.xls
-Original Message-
From: watir-general@googlegroups.com
I had the same problem. It reproduce if url of main application and
url of frame are not equal. For example, if main url (in address field
of browser) is http://localhost/index.html and frame url(src)
http://127.0.0.1/frame.html and you wants to get some data from
elements which locate in frame
I think your PATH variable was broken. You should add info about ruby
path into PATH variable. Or insert 'require 'rubygems' ' at the begin
of your tests
On 3 мар, 16:56, Jmitchum juliamitc...@gmail.com wrote:
I had to reinstall Watir/ Ruby after several attempts, I found I had
to delete the
If I understand you need to get list of files in directory. You should
use FileUtils module to get clear result
http://ruby-doc.org/core/classes/FileUtils.html
On 3 мар, 17:01, venky venkatesh...@gmail.com wrote:
Hi All,
I am using system(dir) to execute commands in Command Prompt.
I get
May be this help you
IO.popen(dir) { |f| f.each_line { |line|
puts line
}
}
So each 'line' you can save into array. Read more about
http://www.ruby-doc.org/core/classes/IO.html#M002267
On 3 мар, 17:01, venky venkatesh...@gmail.com wrote:
Hi All,
I am using system(dir) to execute
For testing SOAP I use SoapUI tool. http://www.soapui.org/ . You can
write unit-tests in it
On 12 мар, 15:14, bright brightrobin1...@gmail.com wrote:
Just to confirm, does Watir supportSOAtesting.
--~--~-~--~~~---~--~~
You received this message because you are
doc.elements.each('//TestObject/Identifier') { |el|
puts el.text
}
doc.elements.each('//TestObject/Locator') { |el|
puts el.text
}
On 30 мар, 10:44, Vikas Tulashyam vtulash...@gmail.com wrote:
Hi,
I want to read a xml file. Here is the my XML file--
ObjectMap
- TestObject
for this?
Thanks
Vikas
On Mar 30, 12:10 pm, LFIdnl ikabluch...@gmail.com wrote:
doc.elements.each('//TestObject/Identifier') { |el|
puts el.text
}
doc.elements.each('//TestObject/Locator') { |el|
puts el.text
}
On 30 мар, 10:44, Vikas Tulashyam vtulash...@gmail.com wrote:
Hi
Multiple attributes don't supported for FRAME element. It a bug or a
feature?
ie.frame({:name = 'content', :class='frame-class'}) #This doesn't
work
ie.frame(:name, 'content') #This works
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Yes
On 13 июл, 18:49, Louis Schatzberg louis.schatzb...@expedata.net
wrote:
What version of the 'libxml-ruby' gem do we need.
I have 1.1.3 is that correct?
-Original Message-
From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com]
On Behalf Of Ivan Kabluchkov
15 matches
Mail list logo