Hi,
Thanks for the code. I checked it here with the same configuration i.e. same
text it works. Can you try just clicking the ok button like this:
ff.startClicker(ok)
- Angrez
ff.startClicker(ok,1,'',The configuration on this page will resetall the
active connections, are you sure to submit?)
Now I got the problem you are facing. I think in your code u would have used
click() method just before the code to handle popup. If this is the case ,
script would not be coming out of click() method and go to next step. This
happens in a case when when used click method and if a popup appears
What about this neat little script?
ie = Watir::IE.attach(/Watir General/)
ie.text_field(:name, q).set popups
ie.button(:name, qt_g).click
Seriously, though...part of the learning process is doing the
research. You can't expect that an entirely new set of Watir users
are going to magically
Hey Angrez,
I tried, unfortunately, still failed. I wonder if we are using
different system, as titled, I am in Ubuntu, with FF3, jssh0.9. Is any
suggestion for me? or can you tell the internals between firewatir and
jssh and how to debug, since I can build jssh plugin from source code,
so I can
I'm really sorry, i've tried many things in the code but couldn get a
solution from past 3 days. I've stuck in handling this popups. so
please dont mind, i apologise for it.
On Apr 9, 11:14 am, George george.sand...@gmail.com wrote:
What about this neat little script?
ie =
opps forgot to attach file :(
On Thu, Apr 9, 2009 at 12:18 PM, spike vinaykumarl...@gmail.com wrote:
I'm really sorry, i've tried many things in the code but couldn get a
solution from past 3 days. I've stuck in handling this popups. so
please dont mind, i apologise for it.
On Apr 9, 11:14
Hi,
Could anyone pleae let me know a way to count the number of browsers
that are open on my system at run time??
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group,
how do we use process_count() work??
On Apr 9, 12:11 pm, Isabel joybe...@gmail.com wrote:
Hi,
Could anyone pleae let me know a way to count the number of browsers
that are open on my system at run time??
Thanks.
--~--~-~--~~~---~--~~
You received this message
I tested it on windows with FF3 not sure about ubuntu. You can use some puts
statements in firewatir class i mean you can go through the startclicker
method and see where it fails?
- Angrez
2009/4/9 ajee ajee@gmail.com
Hey Angrez,
I tried, unfortunately, still failed. I wonder if we are
require 'watir/process'
count_open_browser = Watir::IE.process_count
On Thu, Apr 9, 2009 at 12:53 PM, Isabel joybe...@gmail.com wrote:
how do we use process_count() work??
On Apr 9, 12:11 pm, Isabel joybe...@gmail.com wrote:
Hi,
Could anyone pleae let me know a way to count the number of
Additional HTML below:
tr
tdWhat is the name of this configuration?/td
td width=25 align=center
img src=../images/help.gif onmouseover=return overlib
('The unique name of this configuration.') onmouseout=return nd();/
/td
tdinput type=text name=name value=
sorry to tel u it isnt working,
ie.button(:id, ctl00_ContentPlaceHolder1_btnNext).click
ie.file_field(:id, ctl00_ContentPlaceHolder1_Uploadfile).set(D:\
\BCSBI.zip)
ie.file_field(:id, ctl00_ContentPlaceHolder1_btnUpload).click #this
is the button when clicked popup appears.
# For handling popups
Off topic, but I just love it when I can reply with just a link. :)
Željko
On Mon, Apr 6, 2009 at 08:17, Chuck van der Linden sqa...@gmail.com wrote:
http://wiki.openqa.org/display/WTR/Frames
--~--~-~--~~~---~--~~
You received this message because you are
Hi
Over the last few months I have been using WATiR to test a web application
we have been developing. As a noob to both Ruby and WATiR (myself and the
rest of the project team), I have to say we have found WATiR to have a very
shallow learning curve.
To aide non-developers, and to increase
Hi.
I stumbled into one interesting problem, which haven't happened
before. I tried to access text_field with id, and got link object
instead.
Here is my commands and output:
$browser.text_field(:id, info).value = test
unknown property or method: `value'
HRESULT error code:0x80020006
Wondering if anyone ran into this and solved it. Had a machine which
has been running my tests fine for months. It was updated and rebooted
and now IE crashes about 50% of the time when closing the browser at
the end of a test. Prevents other tests from starting.
Windows XP
IE 7.0.5730.13
Watir
spike,
There is a problem with the new version of Ruby that may be
contributing to your problem. I don't use autoit, I use method that
Lisa described. For more information on the problem, see:
Paul,
Did you ever update the wiki? I'm not finding you direction sto get
passed this issue, and since I'm hitting the issue, and believe others
will. It would be nice to help other so the will not get a
frustrated.
Many thanks,
Darin
On Apr 7, 12:14 am, Paul Carvalho tester.p...@gmail.com
Thanks for sharing your work. I found it to be very interesting.
Bret
Ruf, Wadud wrote:
Hi
Over the last few months I have been using WATiR to test a web
application we have been developing. As a noob to both Ruby and WATiR
(myself and the rest of the project team), I have to say we
That's actually a bug I've known about in Watir, but i think this is the
first time some one has reported it. It was introduced when we did some
performance optimizations some time ago.
Bret
Jarmo Pertman wrote:
Hi.
I stumbled into one interesting problem, which haven't happened
before. I
I think you are calling the wrong method for what it looks like you
are trying to do.
.value returns the current value in the text field..
to set the text field to a particular string you want .set
current_text = browser.text_field(:id, info).value #get the text
field contents
puts
Thanks Brett,
Looking at the video again it is quite dated, I need to get some up to date
material on there. The main principle is simplicity over power. Once I have
better material to upload I will post a link.
Wadud
From: watir-general@googlegroups.com on
I was running into similar problem. I seperated the scripts - main script
and save script. I call the save script from the main script using a system
call and send the filename as an argument and it works. You can also have
it in the same file, but seperate the code and instantiate each
Can you please give more details on what you were trying to do?
On Wed, Apr 8, 2009 at 1:58 AM, spike vinaykumarl...@gmail.com wrote:
Hi
I'm tried to run Popups_test.rb script but its not working im getting
the following error
In the future please stick with the thread you started for the issue,
it's best for everyone to have one thread per issue, which hopefully
ends with a solution to the problem. Abandoning one thread and
starting another just because you didn't like the answers makes things
more confused for
I many cases, the most important thing to understand when dealing with
popups is to know what KIND of popup you are seeing.
The tutorial for Watir covers most of the common kinds of popups, and
gives some suggestions of potential ways to deal with each of them.
Even if you've been through it
Has anyone been able to create a new yahoo email in the new UI?
Carl
--~--~-~--~~~---~--~~
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
On Apr 8, 10:35 pm, George george.sand...@gmail.com wrote:
Didn't you just make a thread about this?
Actually I count 4. maybe more I might have missed a few.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sounds like a yahoo question. what does this have to do with Watir?
On Apr 9, 11:05 am, cboudreau carlboudreau...@gmail.com wrote:
Has anyone been able to create a new yahoo email in the new UI?
Carl
--~--~-~--~~~---~--~~
You received this message because you
if this is easily reproducable, especially if it's running on a VM
(which makes it easy to share the repro case) it might be something
you need to take up with MS..
You might want to do some simple resource monitoring, make sure it's
not a memory leak or something.. Like run permon on another
I many cases, the most important thing to understand when dealing
with
popups is to know what KIND of popup you are seeing.
The tutorial for Watir covers most of the common kinds of popups, and
gives some suggestions of potential ways to deal with each of them.
Even if you've been through it
I am new to this Watir, and having some difficulty figuring this out.
I thought I would be starting something easy, by logging into Yahoo
and then creating a new email. However I can not get the Xpath line to
work.
#Include the FireWatir file.
require 'firewatir'
#include the FireWatir
Since you are able to run the script, after clicking on the button manually,
it could be a timing issue. you might want to check that as well.
On Thu, Apr 9, 2009 at 2:26 PM, Chuck van der Linden sqa...@gmail.comwrote:
I many cases, the most important thing to understand when dealing
with
There's been a few threads on this here in just the last week. I'd
start by searching them.
Briefly (and this is just my opinion)
1) I think watir has a lot of potential for use in basic performance
tests because it's very easy to get the response time for each page in
the test.
2) tools like
You now have at least FOUR threads going for the same issue, it's just
causing confusion. Please STOP spawning new threads for the same
issue.
On Apr 7, 8:39 pm, spike vinaykumarl...@gmail.com wrote:
Hi
I'm really confused working with Pop Up's i'm not able to find any
solution for it wat
Check that it could be in a frame.
- Original Message
From: cboudreau carlboudreau...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Thursday, April 9, 2009 11:32:56 AM
Subject: [wtr-general] Re: Yahoo mail, creating a new email message.
I am new to this Watir, and
Carl,
This works for me (after you put your login and password ;).
require 'firewatir'
include FireWatir
ff=Firefox.new
ff.goto(http://mail.yahoo.com;)
ff.text_field( :name,login ).set(PUT LOGIN HERE )
ff.text_field( :name,passwd ).set(PUT PASSWORD HERE )
ff.button(:value, Sign In).click
Hi Al,
your sample didn't work.
I uncommented the #ff.cell(:xpath, //td[contains( text,
'New')]/).click
I can log in with firewatir, but not get firewatir to click new to
open the email editor in Yahoo.
On Apr 9, 1:55 pm, Al Snow jas...@hotmail.com wrote:
Carl,
This works for me
Wow
On Apr 7, 10:58 pm, spike vinaykumarl...@gmail.com wrote:
Hi
I'm tried to run Popups_test.rb script but its not working im getting
the following error
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- unittests/setup
It does look really interesting, particularly the manual intervention, we
have something similar, not intervention per se, but specifying manual tests
with ruby, not Quality Center. There seems to be a proliferation of
frameworks popping up around Watir lately which is a good thing. If you're
not sure there is an easy way around this with Watir itself, since
it's designed to drive the browser like a user would.
Seems like for this kind of spoofing, where you are sending something
that the browser won't normally allow, there are a couple of options.
you already talked about using
1) have you worked through the watir tutorial? that might be a good
place to start.
2) have you looked at the object in question with something like
firebug or IE developer toolbar to see if it's still part of a table,
and not changed to perhaps just be in a div or perhaps a frame
instead?
Hi there,
Using the IE Developer Toolbar, I'm finding that there is an attribute
associated with the New link called 'unselectable' which is set to
on. This *may* mean that a script can't automatically select this
control. Just a guess, though.
-George
On Apr 9, 11:05 am, cboudreau
Take a look at http://wiki.openqa.org/display/WTR/XPath.
Based on the examples on that page, the following line:
@browser.cell(:xpath, //td[contains( text, 'New')]/).click
should be something like
@browser.cell(:xpath, //t...@id='compose_button_label']/../).click
Hope that helps.
orde
On
The next Watir Podcast will have an extra-special guest - Zeljko
Filipin himself!
I'm going to fill in as the host and I need lots of great questions
for Z*. Please add any questions you have here.
-Tiffany
--~--~-~--~~~---~--~~
You received this message because
Well, I am sorry to report it is still failing. However I sure do
appreciate the help with this. I was tring to cut my teeth on this
before I start the real project of automating a PayPay functions.
But, I am just not getting it. Maybe I will try my luck on the PayPal
project. Has anyone
I have recently started to use watircraft to organize my test cases. I
really like the benefits watircraft provides when trying to manage and scale
a large number of test. The problem I am having is I have two test each
with the same GIVEN in the feature. This was never a problem in the past
sent you a few via the irc let me know if you didn't get them for
some reason.
On Apr 9, 2:32 pm, Tiffany Fodor tcfo...@comcast.net wrote:
The next Watir Podcast will have an extra-special guest - Zeljko
Filipin himself!
I'm going to fill in as the host and I need lots of great questions
If the code inside the steps is not the same, and you can't figure out
a way to make it universal, then rename one or both of the steps (and
alter the features that call it)
e.g. if the code is page specific, then maybe Given On the xxx page
I am on the properties tab or something of that
is the login page set to remember you? or is there a recent session or
cookie hanging around? I don't think it's ACTUALLY logging you in, I
think the browser is just coming up that way.
did you try executing these steps one by one in an IRB session?
The error you are getting would indicate it
Good news - the Intro to Watir class will be taught live online for
the first time April 27-28-29-30, 2009. The class will run from 10am
to 1pm Central Daylight Time (US) those four consecutive days. Same
content as our classroom training, covering Watir and the WatirCraft
framework.
Only SIX
I am a new user of watir,When I write testcases For a CMS system.
I have read
http://groups.google.com/group/watir-general/browse_thread/thread/5852900e02fea4fa,
So I wrote code like this:
ie.frame(ifrmContent).frame(:index, 3).frame(:id,
WebEditorTextarea___Frame).frame(:id,
Thanks for your presistance on this,
Line 11 is the login line,
I have set Firefox to clear all personal data when exiting, and now I
am seeing acurate error message related to the actual error lines.
The next set of error messages is where I started with line 17
uncommented our, then I start
53 matches
Mail list logo