Hi,
I write a little procedure to test if a frame exists before access a
object and have an error by locate method if the frames doesn't exist.
before having an exists? methode in the next watir version ?
def existsFrame(myIe,frameName=)
begin
if frameName !=
myFrame =
When in doubt you can put some fingerprinting into your code stream to
assure your self things are as they seem.
You can always use .exists? (hopefully spelled right) to ensure you're
seeing what you think your seeing.
for example
if browser.frame(:id, Main_Body ).exists? then puts ' -
Hi Kevy,
Thanks for your reply. I think frame Main_Body does exists, in fact,
it worked for 2 pages but not all. I guessed the other page elements
must be hidden or something else, so the frame does not recognize it.
When I view the HTML source, it's obvious that 100% of the main body
elements
Hi Kevy again,
Initially, I tried text string, but it did not work so I switch to use
value. The problem I think is that frame does not have set or
select_list method. Anyway, great thanks for your reply.
On Aug 20, 6:52 am, Super Kevy kpe...@scholarshipamerica.org wrote:
Why are you using the
html code is very large to post div are having id to them
Thanks,
Kartheek
On Fri, Aug 20, 2010 at 4:18 PM, chunchu kartheek chunchukarth...@gmail.com
wrote:
hai All,
I am new to watir i have code like this
div idname1
iframe onload=-
html
body
form name= form1
table
tbody
tr
td
Hi groups,
When I try to connect to oracle db by oci8,it hints below error:
c:/ruby186-26/lib/ruby/gems/1.8/gems/ruby-oci8-1.0.2-i386-mswin32/lib/oc
i8.rb:52:in `init': OCI Library Initialization Error (OCIError)
from
Hi All,
I have code like this
div
iframe onload=-
html
body
form id=name
table
tbody
tr
td
div
table
tbody
tr
td
here i am checkboxes
can anyone help me on how to access those elements html code too
large so i couldnot post it here
thanks,
Kartheek
--
Before posting, please read
VTD-XML 2.9, the next generation XML Processing API for SOA and Cloud
computing, has been released. Please visit
https://sourceforge.net/projects/vtd-xml/files/
to download the latest version.
a.. Strict Conformance
a.. VTD-XML now fully conforms to XML namespace 1.0 spec
b.. Performance
On Thu, Aug 19, 2010 at 10:24 AM, Wang, Conglin cwa...@statestreet.comwrote:
Hi groups,
When I try to connect to oracle db by oci8,it hints below error:
c:/ruby186-26/lib/ruby/gems/1.8/gems/ruby-oci8-1.0.2-i386-mswin32/lib/oci8
.rb:52:in `init': OCI Library Initialization Error (OCIError)
I just tried my suggestion with success with the following page
http://overlay-retail-test-files.overlay.tv/watir/watir-group-frame.html
Chan, you'll need to provide either the minimum html that causes the ruby
exception or a link to the page
On Thu, Aug 19, 2010 at 6:04 PM, Chan Nguyen
how is this any different than
ie.frame(:name, mainFrame).exists?
On Fri, Aug 20, 2010 at 04:43, pierrelebai...@gmail.com
pierrelebai...@gmail.com wrote:
Hi,
I write a little procedure to test if a frame exists before access a
object and have an error by locate method if the frames
it sounds almost like the frame has come disconnected and you need to
re-attach. Remember that the objects in your code are pointing at
objects in the DOM of the browser. when you create an object in your
code like 'main_frame' it's pointing to a specific instance of the
object in the DOM that
Or if there is a specific means given for support of the oci8 gem,
post your message there.
A majority of the folks here will have zero experience using that gem
to connect to an oracle db.
On Aug 20, 7:54 am, Basim Baassiri ba...@baassiri.ca wrote:
On Thu, Aug 19, 2010 at 10:24 AM, Wang,
With such generic code the best I can do is give you a similarly
generic answer.
use the form
browser.frame(:how, what).element(:how, what).method
1) to get a useful response, provide more details as to the html that
defines the iframe at the very least. and also tell us the specific
element
IOr what about just doing something of the form
browser.link(:text, Main)
since that appears to be the text associated with the link tag
Either one (by URL as Ethan gave, or text as above) is clearer and
more direct (and likely faster) than xpath
Xpath is good for somethings, but it is not
The cheat sheet here(http://wiki.openqa.org/display/WTR/Cheat+Sheet)
specifies a parameter called speed for the browser object which can
be used to set the browser's speed. However this option seems to be
deprecated in the latest version, my browser objects do not have any
attributes/methods
Hi
Which version are you using? It works fine with 1.6.2.
Regards
Pallavi.
On Sat, Aug 21, 2010 at 2:10 AM, ravi rav...@gmail.com wrote:
The cheat sheet here(http://wiki.openqa.org/display/WTR/Cheat+Sheet)
specifies a parameter called speed for the browser object which can
be used to set
17 matches
Mail list logo