can you try using this method get_popup_text() after clicking the button to
check what is the pop up text?
- Angrez
2009/4/20 ajee ajee@gmail.com
startclicker goes well while I puts statements there, it has completed
its job, sending msg to jssh sucessfully :(
Can you share some
Thanks Angrez, I wonder how to print this popup text since if the
javascript popup appears, firewatir seems waiting for your action. So
although I add
puts +ff.get_popup_text()
behind clientSettings.button(:name,applyButt).click, everything
hangs unless I manual click, after clicking,
I am new to Watir and am writing a test script for CMS that uses FCK
editor. This is probably relate to a recent post
http://groups.google.com/group/watir-general/browse_thread/thread/eef68fb7f3cacd0b/1e2f9d28963877a7
The CMS has two tables inside the editor area. I am trying to add
text to
On Tue, Mar 10, 2009 at 21:53, Chuck vdL sqa...@gmail.com wrote:
Would the local 'lifeguards' preference be for me to edit the existing
wiki example, or create a new one?
If you are just editing something that already exist, edit. If you want to
do something completely different, create new
On Tue, Apr 21, 2009 at 01:58, Chuck van der Linden sqa...@gmail.com
wrote:
show us the code
A great title for a blog or something like that. :)
Željko
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General
can you connect to jssh and do the actions from there rather than from
Firewatir to check what is going wrong? So basically you go to page using
Firewatir, then connect to jssh from console, send the command that you got
from startclicker() to jssh. Then click button manually see if pop up
comes?
Hi Linden,
I will do that.Thank you for your reply.
Thanks,
kiran.
On Apr 21, 2:34 am, Chuck van der Linden sqa...@gmail.com wrote:
I think you'd be better off to take this to a forum specific to either
powerpoint or ruby.. you're pretty far away from the expertise of the
folks here once you
Hi,
I want to access a select html tag in watir. Its like a drop down menu
embedded inside a table. The select_list does not work, as the html
for it is select and I don't know how to access it. Here's the html
tag for it:
table cellpadding=0 cellspacing=0
tr
td valign='top'
On Tue, Apr 21, 2009 at 16:31, Sam sfja...@gmail.com wrote:
select id=model.taxProvinceID
browser.select_list(:id, model.taxProvinceID).set(Yukon)
http://wiki.openqa.org/display/WTR/Selection+Boxes
Željko
--~--~-~--~~~---~--~~
You received this message because
I don't know whether you guys have ever met this kind of problem in
Netbeans.
1. Create a *new project* in Netbeans;
2. Create a .rb file, named *thread.rb,* in the file, only two words:
require 'watir'
puts OK
3. Run it, you will get error message:
F:\Watir project\My Test\lib/thread.rb:1:in
try typing some text into that area, then select it with the IE
Developer toolbar (or firebug) and see what you find.
it might be that you just need to set the innertext property on the
element that's holding the text
something along these lines for example might work.but you need to
make
Hello folks,
As I've been learning Watir, I'm becoming more aware that assigning
global variable to a browser (or assigning one to anything for that
matter!) is a huge no-no.
So, I guess my question is...should I change the variable type from $
to @? And if yes, will it understood by other
Wesley,
Have you set the run environment to use your externally installed
Ruby instead of JRuby?
Watir will not run under JRuby.
Go to Tools - Ruby Platforms - and add your externally installed
Ruby platform. Then on each of your projects, you have to make sure
that your project references
Hi Kiran!
Check David Mullet's Ruby on Windows blog:
http://rubyonwindows.blogspot.com/search/label/powerpoint
Hope this helps!
-Tiffany
On Apr 21, 5:24 am, kiran gki...@gmail.com wrote:
Hi Linden,
I will do that.Thank you for your reply.
Thanks,
kiran.
On Apr 21, 2:34 am, Chuck van
Hey, it's not really an answer to your question directly but a summary of
ruby variable types, that I have found useful.
Leigh
http://www.techotopia.com/index.php/Ruby_Variable_Scope
On Tue, Apr 21, 2009 at 12:08 PM, George george.sand...@gmail.com wrote:
Hello folks,
As I've been learning
Hi George!
It all depends on your framework and how you're using global
variables. I'm currently using a simple Test::Unit framework and my
browser variable is a global variable ($ie). Since I use that one
browser for all my tests and it's easier than passing a local or
instance variable to
Of course your description is correct and I stand corrected.
I should have said :fast removes the delays and :zippy removes the
character-by-character entry (thus no checks of maxlength, nor certain
key events).
Bret
Jarmo Pertman wrote:
You're saying that :zippy only removes delays. For me
This isn't going to work. Even if you didn't get the load error, you
would see a syntax error when you tried to use the field. This is a ruby
syntax error because class is a reserved word:
view_activity_pattern_page.class = 'whatever'
As a workaround, people usually use klass instead.
Bret
I was just give a mac and I've attempted to get watir working on it,
but it said I couldn't save a file as .rb I could only save it
as .rtb.
Also, should I install ubuntu?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
I must be missing something but I spent some time yesterday trying to
get the page status code. But I could not find this anywhere.
I want to know if the page I requested failed in some way(404,500),
was from the cache(302), or was successfully fetched(200).
How do I get the page status? Or
I confess I don't use Watir much on my mac yet - it's on my list to someday
get the scripts running in Firewatir. But I just use Eclipse to edit my
Watir scripts on either box. Works well.
-- Lisa
On Tue, Apr 21, 2009 at 3:14 PM, Moochie dduph...@redbrickhealth.comwrote:
I was just give a mac
Thanks for the response, Tiffany. Maybe that's what I wondering...am
I using global variables properly? The way I have things set up now,
I have a separate file to store my application controls
($browser.text_field, etc.), and then I have my main script where I
call those controls. I'm
If you are using the watircraft framework (I think you were in the
training in portland?) then it's supposed to take care of scope, and
you can just use 'browser' (or ie or ff or
whatever_makes_sense_to_call_your_browser_instance if you like typing
On Apr 21, 3:18 pm, George
Hi Chuck,
Instead of being given a fish, I'd rather be taught to fish...while
Watircraft can make things a little more convenient, I'd rather have a
deeper understanding into what makes a framework successful. Are
there books/websites out there that can shed some light on this
subject?
BTW,
I started using a mac about 18 months ago and havent looked back. Ive been
using a modified version of firewatir ( a very old one ) and actually
prefered it to watir. Now I havent been doing any automation for about 6
months, so it may be different on the newer versions. I used text mate and
most decent books that teach how to use an object oriented programming
language will end up discussing scope at some point, unless they are
intended for an experienced audience.
I'd think for example that the 'pickaxe' book would end up discussing
it somewhat.
btw the counter to your give-fish
1) Googled uninitialized constant Windows::API::Error (NameError)
2) Found this:
http://groups.google.com/group/watir-general/msg/d885c836f1d728b4
Thanks,
Al Snow
Linkedin: http://www.linkedin.com/in/alsnow
Google Talk: jasnow1
Twitter: jasnow
Date: Tue, 21 Apr 2009 15:40:39 -0700
I have used netbeans for a long time, of course I know the environment
deployment of it, :)
Thanks.
Wesley Chen.
On Wed, Apr 22, 2009 at 12:13 AM, Jim Matthews jim_m...@swbell.net wrote:
Wesley,
Have you set the run environment to use your externally installed
Ruby instead of JRuby?
you could try adjusting security settings for the browser.If
protected mode is turned on (tools-internet options - security tab
- look for a checkbox ) you could try turning it off, (you'll have to
restart to make sure it's taken effect) and see if that helps
If that doesn't work, there's a
In watir.rb there are several class additions to add a matches
function that is similar in each type (see below).
Wouldn't it be a little more consistent if they all returned the same
data types.
Regexp.matches returns MatchData or nil
The others return true or false
class String
def
So, I just want to understand better... Chuck, you're on Vista IE and you can
do this?
Best,
Brian
On 4/21/09 4:45 PM, Chuck van der Linden sqa...@gmail.com wrote:
you could try adjusting security settings for the browser.If
protected mode is turned on (tools-internet options - security
Hi,
I have installed the ruby 1.8.6 and WATIR 1.6.2.. I am using Test::Unit
assertions.
I have tried the verify method but when I ran the script it has given me the
error as undefined method 'verify'.
Is there any specific library which I need to include for verify method?
And is the below
32 matches
Mail list logo