Hi
I've a scenario where i need to update a profile, in that update
profile page i've fields for changing name, address, phone no and
change image field. Now i've to check whether there is already a image
added to the profile and if a image is already present i need to
retrieve the image and see
Do you know how to make it support the chinese character?
When I have installed fastercsv and run the code below:
require 'watir'
require 'fastercsv'
FasterCSV.open("c:\\file.csv", "w") do |csv|
csv << ["row", "of", "CSV", "data"]
csv << ["你好吗?", "我很好"]
# ...
end
The chinese character c
The jssh xpi I have is from last year. I was wondering if anyone had a
more up to date one? It works ok, but I am getting failures sometimes
when running on my CI server and I want to make sure everything is up
to date. I also get this message a lot, which I don't like:
_cairo_win32_surface_compo
Hi~
I think my case is just not normal.
My laptop has the problem. the code runs well in other people's labtop
allen
On Fri, Apr 17, 2009 at 8:24 PM, Chuck van der Linden wrote:
>
> On Apr 16, 8:20 pm, Chai Taolun wrote:
> > Hi~
> >
> > Thank you for all the help.
> > I got the problem, it
You're right, there is a Ruby gem called FasterCSV:
gem install fastercsv
http://fastercsv.rubyforge.org/
On Apr 16, 1:28 am, JArkelen wrote:
> I just use the File.new and File.puts to create the file, but I
> believe Ruby even has a special csv gem for it.
>
> On Apr 16, 9:34 am, George wr
I thought it went really well, too. Lots of great questions and great work
by all.
Thanks, Bret :)
- Maura
On 4/17/09 5:39 PM, "George" wrote:
>
> Hello,
>
> We just wrapped up the two-day training course here. All in all it
> went very well. Bret did a great job presenting his framework
Hello,
We just wrapped up the two-day training course here. All in all it
went very well. Bret did a great job presenting his framework and how
our scripts can benefit adapting to it. I know there's an online
course that is being offered in the future. I would highly recommend
signing up for
On Apr 16, 8:20 pm, Chai Taolun wrote:
> Hi~
>
> Thank you for all the help.
> I got the problem, it is cause by the php...
>
> allen
>
That's good news. Just in case someone else finds themselves in the
same situation, what did the answer end up being?
--~--~-~--~~~---
On Apr 16, 10:14 pm, Elf_Sternberg wrote:
> On Apr 14, 11:08 am, Chuck van der Linden wrote:
>
> > Wow what a small world.. I've known Elf for years and years.. last
> > I knew he was a real python head.. interesting to see he's into
> > firewater and ruby..
>
> I'm not. I'm using FireWati
thanks for the details John.. I've a bunch more questions, but none
of them are urgent so I'll start a new thread later (or send you mail)
and end this mini threadjacking of mine.
On Apr 16, 11:55 am, JArkelen wrote:
> Yes, I do have an execution manager script which reads the xml files
> where
How you choose or in some cases need to identify an object on the page
depends a lot on how the page is composed, and what it takes to
reliably uniqely identify the element you are trying to work with.
In general, you can often identify an object by a single uniqe
characteristic such as the ID o
Please don't ask new questions in an unrelated thread.
Please start a new thread for this, and also provide a little bit more
information as to what it is you are trying to do, such as what you
expect for 'bit map verification' such as do the bitmaps exactly the
same, or only specific parts of th
You might want to look at the examples in the watir wiki
http://wiki.openqa.org/display/WTR/Examples
there's some stuff there that shows both how to do a logging class
(something I find useful for troubleshooting scripts that are
misbehaving) and also how to do a nifty HTML reporting class to re
You may want to read this thread...
http://groups.google.com/group/watir-general/browse_thread/thread/0751c85e0bf98cd5?hl=en#
You need to determine if that's really some kind of popup, (and if so
what type) or if it's just a div that looks and behaves a bit like a
popup.
On Apr 17, 2:09 am, spik
this might be simpler:
top_div = ie.div(:id , 'toplevel')
top_div.divs.each do | a_child |
next unless a_child.document.parentElement.invoke( "id") == top_div.id
puts "an immediate child is " + a_child.id
end
untested, but it seems sound, as long as you have useful identifiers of some
s
Just a note. the HTML standards dictate that to be proper HTML that
the value of an ID attribute must be unique on the page. So checking
by both ID and Index is redundant.
Unless the page is not legal HTML (in which case you have a bug to
file in my opinion) you should reliably be able to fin
On Apr 17, 3:02 pm, Yahoo wrote:
> Cool, Yes, it appears it is in a div:
>
>
>
>
>
>
> Confirm Deletion
>
> Do you really want to delete?
>
>
>
>
>
>
>
> So now the following code:
>
> $ie.button(:i
I never needed to solve this problem but if I may nudge you towards this:
1. get the base div.html
2. and pump it to Hpricot for processing
and maybe use 'children_of_type "div" call to get to divs you need.
a wild suggestion since purely theoretical.
marekj
Watirloo: Semantic Page Objects in Us
Cool, Yes, it appears it is in a div:
Confirm Deletion
Do you really want to delete?
So now the following code:
$ie.button(:id, "popup_ok").click
Worked!! Woohoo. Thanks Paul
On Apr 17, 3:12 p
until you figure out what type of element it is, you wont be able to click
it ;-)
down load firefox
goto getfirebug.com
install firefbug
restart firefoc and goto the age where your OK is
in the bottom right of the firefox window is a little bug thing
click that
you will get a split window with fir
Not quite what ours looks like, but I think you're on the right track.
I think our developers must have played with the css to make it a
little prettier. I'm not familiar with Firebug, so how could I get my
watir code to click this OK button?
On Apr 17, 2:53 pm, Paul Rogers wrote:
> you wont see
you wont see it with view source. Firebug ( in firefox) is the best way to
find it. Im guessing this link
http://mattberseth.com/blog/2008/09/dynamic_data_customizing_the_d.html
has what you are using
Paul
On Fri, Apr 17, 2009 at 2:48 PM, Yahoo wrote:
>
> The code on the page to create the pop
The code on the page to create the pop up is:
so I don't believe it would be in a div. There is no "OK" text
anywhere in the viewsource of the page or any "Confirm Deletion" text.
If it was just a div on the page, wouldn't I just be able to hit it
with regular watir code such as:
def clickOK()
are you sure the jquery pop up is really a pop up and not just a div on the
page? Poke at it with firebug or ie developer toolbar, and Im sure you'll
find its just a div
Paul
On Fri, Apr 17, 2009 at 10:28 AM, Yahoo wrote:
>
> I know, yet another issue with pop ups regarding watir. Let me start
I know, yet another issue with pop ups regarding watir. Let me start
by saying I've been using watir for the past 4 years and love it. That
is, until our developers got cute and started using Ajax jQuery
javascript to confirm if a user really wanted to delete something.
We have a regular javascri
I faced the same problem too. I had to create a function to solve this
problem
Basically recurse creates a hash of all the divs from the root div.
I had something similar to:
you can do this by setting focus to the first item, then using send_keys
"{TAB}"
and then checking with a method, the name of which I cant remember, but is
something like ie.active_element
Paul
On Fri, Apr 17, 2009 at 11:11 AM, kiran wrote:
>
>
> hi Fillipin,
>
> Thank you for your reply.
> Wh
hi Fillipin,
Thank you for your reply.
When I am hitting {TAB} key,I have to check the whether the tab is
moving from My Groups to Favorites and so on in Watir General |
Google Groups.
Thanks,
kiran.
On Apr 17, 12:49 pm, Željko Filipin
wrote:
> On Thu, Apr 16, 2009 at 21:20, kiran wrote:
please provide the screenshot
On Apr 17, 2:09 pm, spike wrote:
> Hi
>
> I've a problem handling a sub window which is created using ajax, the
> scenario i'm working in is i've a image which can be applied as theme
> to my webpage so when i'm clicking on the image the image opens in a
> new windo
To get current value you can use
Text_value = $ie.text_field(:id=>"id name",:index=>index).value
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Durgesh Nadkarni
Sent: Friday, April 17, 2009 7:57 AM
To:
Hi Friends,
I want to get the name of the calling function in our program . e.g. --
>
class A
def Calling()
B.caller()
end
end
class B
def self.Caller()
end
end
Here, I want to print the name of the calling function e.g. Calling()
in the called function e.g. Caller(). Is it pos
Hi,
I want to know how can we get the values of any text box in WATIR.
We can use textboxname.set to enter the value in the text box.
So is there any way by which we can get the dynamically generated values in
the textbox & stored it in some variable.
Thanks & Regards
Durgesh.
--~--~-~
That's good to know.
Thanks,
Guys
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Angrez Singh
Sent: Friday, April 17, 2009 1:31 AM
To: watir-general@googlegroups.com
Subject: [wtr-general] Re: firewatir a
Thanks Bret - that's just what I needed!
James
On Apr 17, 12:18 am, Bret Pettichord wrote:
> James wrote:
> > Thanks! Looking up information on "should" is so hard since it's a
> > common English word.
>
> Here is a list of all the should commands:
>
> http://rspec.rubyforge.org/rspec/1.2.4/cl
Hi all,
I am trying to run the suite on Windows 7 OS and IE8.0 brower.
But I'm getting an error "The interface is unknown"
Can anybody help me to solve this problem?
Thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
nothing to be embarassed about. just need to get it working :-)
ok so in IE, when i use click_no_wait, check out the top of your
browser. your popup is being blocked and you have to allow it access.
i use IE6, and i have to click on a bar that appears at the top and
select "Allow Blocked Content"
thank you it works.. :) Godbless!
On Fri, Apr 17, 2009 at 5:11 PM, Željko Filipin
wrote:
> On Fri, Apr 17, 2009 at 11:03, Claire Hill wrote:
> > i was wondering if there's a way to put the output of a ruby script into
> a file, like using puts("TEST PASSED" + "#{Time.now}") into a certain file
On Fri, Apr 17, 2009 at 11:03, Claire Hill wrote:
> i was wondering if there's a way to put the output of a ruby script into a
file, like using puts("TEST PASSED" + "#{Time.now}") into a certain file
located in c:\log.txt.
I did not try it, but something like this should work:
File.open('c:\log.
Hi
I've a problem handling a sub window which is created using ajax, the
scenario i'm working in is i've a image which can be applied as theme
to my webpage so when i'm clicking on the image the image opens in a
new window with a "Applytheme" button at the bottom. Now i need to
click on the "Appl
i was wondering if there's a way to put the output of a ruby script into a
file, like using puts("TEST PASSED" + "#{Time.now}") into a certain file
located in c:\log.txt. your help is greatly appreciated.
regards and Godspeed,
clai2x
--~--~-~--~~~---~--~~
You recei
On Fri, Apr 17, 2009 at 08:12, Prasad Vidala
wrote:
> tools which are good for bit map verification testing.
If you give me more information, maybe I will know the answer. So far, I
have no idea what you need to do.
Željko
--~--~-~--~~~---~--~~
You received this
On Thu, Apr 16, 2009 at 21:47, kiran wrote:
> I have doubt regarding the identification of objects using watir.
Before we start the conversation, just a short question. Did you read this?
http://wiki.openqa.org/display/WTR/Quick+Start
http://wiki.openqa.org/display/WTR/Tutorial
Željko
--~--~--
On Thu, Apr 16, 2009 at 23:39, alphanumericone
wrote:
> I'm developing a framework
There are a few Watir frameworks out there. One of them is WatirCraft:
http://github.com/bret/watircraft/tree/master
Also, this is probably question for watir-framework list:
http://tech.groups.yahoo.com/group/w
On Thu, Apr 16, 2009 at 21:20, kiran wrote:
> how to check the tab order using watir in the application.
You will have to provide more information.
Željko
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir Gene
44 matches
Mail list logo