Hi, i have below HTML that within an iframe, how do i locate the link
for the div id = test_002?
td class=p_action colspan=1
span class=class A
div id=test_001
a onclick=gotofuction(); return false; href=javascript:
void(0)Buy/a
/div
/span
/td
td class=p_action colspan=1
span class=class A
div
the iframe that accessing is accurate because i am able to get other
elements.
See below from where the iframe called
iframe id=iframe_canvas class=canvas_iframe_util noresize
scrolling=no height=600px frameborder=0 src=javascript:
name=xxx style=height: 1457px; overflow-y: hidden;
Below are the
Thanks for the reply. At the end i have gave up this click_no_wait and
direct use the autoit = WIN32OLE.new('AutoItX3.Control') to send the
{enter} key for the js popup
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
Hi,
I am able to ssh to the server but having problem to become the root.
Pls see below scripts and advise
ssh = Net::SSH.start(host, user, :password =)
ssh.exec!('sudo su -')
ssh.exec!('password')
Above scripts does not create any error but it does not switch to root
--
Before posting,
Hi folks,
i have an error in my scripts that unable to find the solution, hope
someone can help. Please refer below for my case:
I have a JS popup that i should click on 'OK' but when i put
click_no_wait before the check_for_popups() got called, it gives me
this error
`method_missing':
I could be using the wrong structure but my purpose is actually
construct a class that passing an object to perform the assertion
check and i am using rspec for reporting in html.
objToValidate = ff.link(:text,'Login').exist?
val = SomeTest.new()
val.Validate(objToValidate)
Please advice on
Hi,
I have an error: undefined method `add_assertion' for nil:NilClass
(NoMethodError) for the following code:
require 'rubygems'
require 'test/unit'
require 'spec/test/unit'
class SomeTests Test::Unit::TestCase
def initialize(formObject)
@object = formObject
end
def Validate()
Hi guys,
some quick question here, i will need to connect to oracle database
and execute some queries to compare the results. Is there a specif
watir scripts to do that or that is ruby code to handle this?
Appreciate if there is example provided.
Thanks in advance
Ivan
--
Before posting,
Hope that helps,
FK
On Tue, May 4, 2010 at 11:17 AM, Ivan Chung chun...@gmail.com wrote:
Hi guys,
some quick question here, i will need to connect to oracle database
and execute some queries to compare the results. Is there a specif
watir scripts to do that or that is ruby code
change could be failing to work and you'd not detect it (I
think) but it's about the closest I've found.
On Jun 3, 1:38 am, Ivan Chung chun...@gmail.com wrote:
I just need a value returned, lets say the popup works then return
true and vice versa.
On Jun 3, 4:36 pm, Ivan Chung chun
10 matches
Mail list logo