I'm in need of some help getting to a checkbox element in a table (in
an iframe). My trouble is that there are two check box elements that
are almost exactly the same.
Here is the HTML:
input type=checkbox name=email value=cro...@point.com /
nbsp;rollo, c (cro...@point.com)br /
input
I should add that I know the text is on the page...
irb(main):059:0 browser.frame(:name,/
admin_frame_*/).text.include?'rollo, c j'
= true
Thanks.
On Sep 24, 11:00 pm, rollo croll...@gmail.com wrote:
I'm in need of some help getting to a checkbox element in a table (in
an iframe). My trouble
What behaviour are you seeing? As per the pop up handling in Firewatir. Pop
up will not show but whatever action you have written for OK or CANCEL
button will happen.
Thanks,
Angrez
On Thu, Sep 24, 2009 at 8:48 PM, Brad bradask...@gmail.com wrote:
I saw another thread about handling popups in
Hi Rollo,
In these kind of situations you can use xpath also bcz there can any number
of elements whose html will seems to be similar.
Thanks Regards,
Ankur Gera
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I have a calendar using which I can set the date in the given text
area. For
this I need to click on a calendar icon and choose dates(by clicking
on them) from the calendar that pops up. When I click on close on the
calendar, the selected dates get set in the text area. now the problem
is that
This clicked the second chckbox for me:
browser.frame(:name,/admin_frame_*/).checkbox(:name=email, :value=
cro...@point.com, :index= 2).set
http://wiki.openqa.org/display/WTR/Multiple+Attributes
Željko
--
http://watirpodcast.com/
--~--~-~--~~~---~--~~
You
On Fri, Sep 25, 2009 at 9:15 AM, Isabel joybe...@gmail.com wrote:
.click apparently has no effect on the date which is a table
cell and there seems to be no known JavaScript event that has been
applied on it.
Can you ask a developer which event should be fired?
Željko
--
Hi
please check the url to view the screen shot,
Thanks
Sathish
On Sep 24, 2:59 pm, kiran yajamanyam kiranyajaman...@gmail.com
wrote:
No screen shot is available. Can you resend it?
On Thu, Sep 24, 2009 at 1:12 PM, sathish_Er vpm.sath...@gmail.com wrote:
I am using ruby 1.8.5 for
Hi ,.
please check the below url for the screen shot ,
http://picasaweb.google.co.in/lh/sredir?uname=vpm.sathishtarget=PHOTOid=5385306014125370882aid=5385305979559747921locked=trueauthkey=Gv1sRgCN_8sKbg7obCAgfeat=email
Thanks
Sathish
On Sep 24, 2:59 pm, kiran yajamanyam
I have html like this:
h1 id=headerHeader/h1
This works:
browser.h1(:xpath, //h...@id='header']).flash
browser.h1(:id, header).flash
But this returns:
browser.element_by_xpath(//h...@id='header']).flash
returns:
WIN32OLERuntimeError: unknown property or method `flash'
HRESULT error
Couple of things to remember while using XPath:
1. element(:xpath, [xpath]) returns you Watir Element which contains flash
method
2. element_by_xpath(xpath) is a method which is used only for the elements
which are not supported by Watir. It returns you the underlying ole_object
which doesn't
Dear All,
I try to run the watir code in my Mac and get the error. I already
install the firewatir,update the system gem and JSSH FireFox Extension
successfully.
Here is the code:
===
require rubygems
require firewatir
$browser=Watir::Browser.new
$browser.goto
Refer this for the properties/methods for the underlying ole_element:
http://msdn.microsoft.com/en-us/library/dd347058%28VS.85%29.aspx
Each element is having different set of properties/elements you can check
the type of element and then see the corresponding element in the above
list.
- Angrez
Hi Angrez,
What I'm seeing is the pop dialog, which is a download dialog is not
clicked on i.e. it is not dismisses.
If I understand the code correctly you say what you want to happen to
the dialog first and then click on the link which popups the dialog
and then your first action happens,
On Fri, Sep 25, 2009 at 2:26 PM, Angrez Singh ang...@gmail.com wrote:
http://msdn.microsoft.com/en-us/library/dd347058%28VS.85%29.aspx
Thanks Angrez, I have found click method.
Željko
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Greetings. desiring to make the question more coherent, I left out
the fact that there are 4 accounts that only differ in the Text
attribute. In addition, the accounts are non-consecutive and the
order is arbitrary. So, while :index would work on this specific
dataset, I can't be guaranteed
__ Information from ESET NOD32 Antivirus, version of virus
signature database 4458 (20090925) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__ Information from ESET NOD32 Antivirus, version of virus signature
database 4458 (20090925) __
The message
Some Background on architecture of the app is needed:
Windows 2003/Apache-v2.2/IE7/Watir-v1.6.2/Ruby-v1.8.5
1. Apache running under 'localsystem' account.
2. Request to run a Watir script comes in.
3. Apache CGI kicks off IE7 under a particular user, e.g. 'tester',
and attaches the IE7
I can see where this is being generated in the code, but I cannot
figure out how the default timeout values are set. I am doing pretty
simple stuff:
@browser = Watir::Safari
@browser.goto url
@browser.text_field(:name, q).set query
@browser.button(:name, btnG).click
Any
Try running this on Terminal:
mv /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib
/Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib.orig
*
*
*cp /usr/lib/libsqlite3.dylib
/Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib*
*
*
***Worked for me.
*--
Rafael Fonseca
Our test team is facing an interesting challenge with a popup. The web
server that we are testing has a password
protected mode wherein when the url is accessed, there is an immediate
login popup. There is no opportunity to use a click_no_wait as there
are no buttons to click - the first thing
Hello All,
I continued digging and found the solution:
http://wiki.openqa.org/display/WTR/Basic+Authentication
require watir
require 'watir/ie'
Watir::Browser.default='ie'
browser=Watir::Browser.new
url = http://www.someplace.com;
Thread.new{
sleep(1) # put appropriate sleep
Hi, Zeljko,
So, would you please show the click method here?
How to flash or click after element_by_xpath method?
Thanks.
Wesley Chen.
The easier, the better.
On Fri, Sep 25, 2009 at 10:34 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Fri, Sep 25, 2009 at 2:26 PM, Angrez Singh
23 matches
Mail list logo