Thanks a lot for the link.
Now i can upload an image by using the following command
Browser.file_field(:name, photo).set(path name i.e. C:\\abc\\abc.jpg)
Please dont forget to enter double slash.
:-)
On Thu, Oct 15, 2009 at 1:40 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On
Hello,
I need some help regarding radio button.
In my application i created a poll named Test along with other polls
There are two radio buttons beside each poll namely Update and Delete
Now here i want to click on Delete radio button beside Test poll.
How do i access?
This is its html.
input
On Wed, Oct 21, 2009 at 6:37 AM, Bindhu udayarekha2...@gmail.com wrote:
I need to skip the pop up when ever it appear.
And the problem is?
Have you read this?
http://wiki.openqa.org/display/WTR/Pop+Ups
Željko
--
http://watirpodcast.com/
--~--~-~--~~~---~--~~
On Wed, Oct 21, 2009 at 9:06 AM, Amit Kulkarni amitkkulkarni...@gmail.com
wrote:
Browser.file_field(:name, photo).set(path name i.e. C:\\abc\\abc.jpg)
Please dont forget to enter double slash.
If you use single quotes, I think you do not need double slash:
browser.file_field(:name,
On Wed, Oct 21, 2009 at 9:26 AM, Amit amitkkulkarni...@gmail.com wrote:
Now here i want to click on Delete radio button beside Test poll.
Can you post html that includes radio button and Test text? We could help
more if we had that.
input id=act2_165_delete type=radio value=delete name=act2
On Wed, Oct 21, 2009 at 9:59 AM, Pallavi Sharma write2pall...@gmail.com
wrote:
as WinWait REGEXPTITLE:.* but it doesn't work.
When I was playing with autoit, I vaguely remember that regular expressions
worked only if I had full Autoit installed on the machine. Watir installs
only subset of
I have full installed AutoIT on my system Zeljko, still this doesn't work.
Sharing the page and the script.
I have used two methods to handle unexpected popups, winclicker and autoit
I used with winclicker windowtitle as // it didn't worked
with auto it REGEXPTITLE:.* it also didn't worked.
tr
tdTest/td
tdUnpublished/td
td class=actions
label for=Update
input id=act2_165_update type=radio value=update name=act2
[165]/
Update
/label
label for=del2
input id=act2_165_delete type=radio value=delete name=act2
[165]/
Delete
/label
/td
This is html which contains the string Test.
Yes i
On Wed, Oct 21, 2009 at 10:46 AM, Pallavi Sharma write2pall...@gmail.com
wrote:
I have full installed AutoIT on my system Zeljko, still this doesn't work.
Did you ask at Autoit forum? This sounds to me like Autoit problem, not
really Watir related.
Željko
Zeljko
Sorry i forgot to ask in the earlier mail about the steps for How to put a
post on wiki
I have never done that before.
So please do let me know.
Thanks
Pallavi.
On Wed, Oct 21, 2009 at 10:34 AM, Pallavi Sharma write2pall...@gmail.comwrote:
Sure Zeljko
I will do that :)
On Tue, Oct
On Wed, Oct 21, 2009 at 10:53 AM, Pallavi Sharma write2pall...@gmail.com
wrote:
Sorry i forgot to ask in the earlier mail about the steps for How to put
a post on wiki
- if you do not have openqa.org account, go to
http://openqa.org/sass/create!input.action and create it
- go to
On Wed, Oct 21, 2009 at 10:53 AM, Pallavi Sharma write2pall...@gmail.com
wrote:
Sorry i forgot to ask in the earlier mail about the steps for How to put
a post on wiki
I knew we have instructions somewhere. :)
http://wiki.openqa.org/display/WTR/How+Can+I+Help
Željko
I know, i am going to ask there. I know its not a watir issue, just
wondering whether someone ever tried this here in this forum.
recovery scenarios are a part of any automation framework.
I will try again and if i get a solution will post it here for further help.
On Wed, Oct 21, 2009 at 2:21
Hi Pallavi,
Try to use the code which i provided for handling pop-up's through AutoIt.
Thanks Regards,
Ankur Gera
TCS
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group,
Hi Pallavi,
Below is the respective code :-
require 'watir'
require 'win32ole'
#Supply AutoItX3 as an argument to the constructor of WIN32OLE
#for handling pop-up windows using WIN32OLE objects.WIN32OLE will act as an
interface
#for handling pop-up windows using AutoItX3 functions.
ai =
On Wed, Oct 21, 2009 at 10:35 AM, Amit amitkkulkarni...@gmail.com wrote:
tdTest/td
input type=radio /
Does this work?
browser.button(:after?, browser.cell(:text, Test)).set
Željko
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Zeljko
I updated it, but i guess my script is causing some error on the page its
coming in Pink color.
How do i rectify that?
Let me know
Pallavi.
On Wed, Oct 21, 2009 at 2:41 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Wed, Oct 21, 2009 at 10:53 AM, Pallavi Sharma
Ankur
I already know the code to handle a popup window via autoit if you know the
window tile.
Do you have an idea about handling a popup where i dont know what is the
windowtitle?
Means handling unexpected popup window, which will like handle pop up
whatever may be the window title.
If you
Hi Pallavi,
Use the AutoIt software(AutoIt Window Info) , you will get the info about
class of that pop-up window.What i have seen is that , this class remains
constant for almost all of the pop-up's , try to use this as an argument in
place of title.
Thanks Regards,
Ankur Gera
TCS
On Mon, Oct 19, 2009 at 11:48 PM, Shlomit Gazit shlomitpatr...@gmail.com
wrote:
When I am trying to locate the cell for .link,
What are you trying to do? Click all links in the table? This will flash all
links, you can work from there:
browser.table(:class, tableLeftNav).links.each {|link|
Yeah you are right about it, I know this, but was looking for something to
do with the using of regular expression in title. Would have helped my
implementation.
Anyways thanks, will try what you have suggested.
Thanks
Pallavi.
On Wed, Oct 21, 2009 at 3:36 PM, Ankur Gera ankurg...@gmail.com
Hi Pallavi,
Welcome.
Thanks Regards,
Ankur Gera
TCS
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please
On Wed, Oct 21, 2009 at 10:50 AM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
browser.button(:after?, browser.cell(:text, Test)).set
My mistake. Try this:
browser.radio(:after?, browser.cell(:text, Test)).click
If that does not work, you can always try xpath:
And this looks useful (from the next post:
http://sticklebackplastic.com/post/2009/10/20/Advanced-FireWatir-e28093-cheat-sheet.aspx
)
browser.helperApps.neverAsk.saveToDisk. I didn’t even know this one
existed, but it’s great. This is a comma separated list of mime types that
will always get
Hi Zeljko,
I tried by using the above step but still no success :-(
It pops up a small window saying Please select an operation along with OK
button.
I still cant figure out whats is the problem.
On Wed, Oct 21, 2009 at 4:04 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Wed, Oct
On Wed, Oct 21, 2009 at 12:51 PM, Amit Kulkarni amitkkulkarni...@gmail.com
wrote:
It pops up a small window saying Please select an operation along with OK
button.
Is the correct radio button flashed if you do this?
browser.radio(:after?, browser.cell(:text, Test)).flash
Maybe you have to fire
On Wed, Oct 21, 2009 at 1:01 PM, aidy lewis aidy.le...@googlemail.com
wrote:
Has anyone received 'cannot register window class' errors when running
Watir tests in IE8?
All my tests worked just fine in IE8. What version of Windows do you have?
Željko
No it does not flashed the radio button but again it is popping the window.
I dont know why it is getting popped up.
On Wed, Oct 21, 2009 at 4:25 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Wed, Oct 21, 2009 at 12:51 PM, Amit Kulkarni
amitkkulkarni...@gmail.com wrote:
It
You can use $ie.checkbox(:id, /rating\[\d+\]/)
Thanks.
Wesley Chen.
For life, the easier, the better.
On Wed, Oct 21, 2009 at 7:02 PM, Amit Kulkarni
amitkkulkarni...@gmail.comwrote:
Hello,
I have this html script.
td width=20%
input id=rating[65] type=checkbox value=1 name=rating[65]/
a
On Wed, Oct 21, 2009 at 1:02 PM, Amit Kulkarni amitkkulkarni...@gmail.com
wrote:
I tried following code but still no success.
1: Browser.checkbox(:after?, Browser.cell(:text, Ratingsanity1)).click
And what is the error message, if any?
Does this flash what you want?
Browser.cell(:text,
On Thu, Oct 8, 2009 at 7:07 AM, Bret Pettichord bpettich...@gmail.com
wrote:
Right now the core developers for the (IE)Watir/FireWatir team are
- Charley Baker
- Angrez Singh
- Jari Bakken
- Bret Pettichord
I'm not sure who the members of the other teams are.
Would you say this is correct?
Do you create separate thread for check_for_popup method?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting,
I tried using command $Browser.checkbox(:id, /rating\[\d+\]/).set but i got
error which is as follows:
You have nil object when you didn't expect it!
The error occurred while evaluating nil.checkbox (NoMethodError)
./step_definitions/update_feature_steps.rb:23:in `/^i click on the
Does this flash what you want?
Browser.span(:text, Ratingsanity1).flash
Željko
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to
-- Forwarded message --
From: Amit Kulkarni amitkkulkarni...@gmail.com
Date: Wed, Oct 21, 2009 at 4:40 PM
Subject: Re: [wtr-general] Re: Problem with radio button
To: watir-general@googlegroups.com
No it does not flashed the radio button but again it is popping the window.
I dont
No,it does not flash up anything.
It also does not display any error and goes to next step
On Wed, Oct 21, 2009 at 5:39 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
Does this flash what you want?
Browser.span(:text, Ratingsanity1).flash
Željko
Yes, i don't do it using ruby, i do it using vb.net a framework which i have
build for automation solution using watir.
On Wed, Oct 21, 2009 at 5:15 PM, al3kc aleks.kiev...@gmail.com wrote:
Do you create separate thread for check_for_popup method?
I'm having a problem too.
Even if I'm in the IRB and type
require 'watir'
I get: no such file to load -- watir
I'm using the latest release candidate of Ruby 1.8.6-27 on a PC
On Oct 20, 6:11 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Tue, Oct 20, 2009 at 12:02 PM, meenu
Hello,
Consider this scenario:
I have list of images(which are non-clickable) and below that there is an
edit link
Now i want to click that edit link so that i can edit the description.
Html code is as follows:
div style=width: 150px; height: 150px;input id=attachment[218] type=
checkbox
On Wed, Oct 21, 2009 at 3:10 PM, Brad bradask...@gmail.com wrote:
I get: no such file to load -- watir
Try adding this at the top of the file:
require rubygems
Go to command prompt and type this:
gem list watir
What does it return?
I'm using the latest release candidate of Ruby 1.8.6-27 on
Thanks using: require 'rubygems' work both in my script and in the
irb.
Why the change?
On Oct 21, 8:20 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Wed, Oct 21, 2009 at 3:10 PM, Brad bradask...@gmail.com wrote:
I get: no such file to load -- watir
Try adding this at the top
On Wed, Oct 21, 2009 at 3:15 PM, Amit Kulkarni amitkkulkarni...@gmail.com
wrote:
img title=Photogallerysanity
aEdit/a
I want to access that edit link using the title i.e. Photogallerysanity.
Try this:
browser.link(:after?, browser.image(:title, Photogallerysanity).click
Željko
--
Hi,
I have just started learning Watir.
Please let me know what is wrong
require 'test/unit'
require watir
require 'watir/testcase'
require 'watir/watir_simple'
class Login Watir::TestCase
def test_login
ie=Watir::Browser.new
s = Watir::Simple
ie.goto(google.com)
A message from Thomas DeWolfe russdewo...@gmail.com.
Dear Friend ,
I recently accepted the challenge of participating in Ticket to Ride.
This is a motorcycling ride that benefits The Autism Society who's
mission is to improve the lives of everyone affected by autism.
I am asking you to
until I read that I thought I was still an active member of watir, even
though I cant remember the last time I did a check in ;-(
On Wed, Oct 21, 2009 at 5:18 AM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Thu, Oct 8, 2009 at 7:07 AM, Bret Pettichord bpettich...@gmail.com
wrote:
Hi!
You don't need this line:
s = Watir::Simple
Your assert should read:
ie.assert_text_in_body(Please enter your Username,nil)
(the second parameter, 'nil' is optional, so you could leave it out).
I just did some searching and found that you need to include
Watir::Simple, but the
I don't know if any one is using it any more.
Bret
Tiffany Fodor wrote:
Hi!
You don't need this line:
s = Watir::Simple
Your assert should read:
ie.assert_text_in_body(Please enter your Username,nil)
(the second parameter, 'nil' is optional, so you could leave it out).
I just did
I haven't heard of this. Can your provide a stack trace and complete
error message?
Bret
aidy lewis wrote:
Hi,
Has anyone received 'cannot register window class' errors when running
Watir tests in IE8?
Aidy
--
Bret Pettichord
Lead Developer, Watir, www.watir.com
Blog,
Željko Filipin wrote:
I'm using the latest release candidate of Ruby 1.8.6-27 on a PC
I do not think that is the problem, but http://watir.com/installation/
says: We recommend using Ruby 1.8.6-26 with Watir 1.6.
Željko
Zeljko,
We say this because of a click-no-wait bug in 1.8.6-27. FYI,
49 matches
Mail list logo