Hi,
Watir-webdriver is a modern version of the Watir API based on
Seleniumhttp://en.wikipedia.org/wiki/Selenium_(software) (web
driver)
-Karim
On Mon, May 13, 2013 at 3:28 PM, Luis Espla luises...@gmail.com wrote:
Hello,
what is the difference between watir-classic and watir-webdriver. When
In the entire page, there are radio button which have the value property as
1. hence browser.radio(:value = 1).set in the last line is going set
the radio button with value 1 which comes first in the html structure.
I think you need some syntax like to fix the problem, by using multiple
== cc_output_mode0 m.value == 1
m.set
end
}
:-)
On Mar 24, 4:22 pm, karim rayani karim.ray...@gmail.com wrote:
In the entire page, there are radio button which have the value property
as
1. hence browser.radio(:value = 1).set in the last line is going set
the radio button
Seems the question is about porting the Watir library on JRuby.
https://github.com/operasoftware/operawatir
https://github.com/operasoftware/operawatirabove is an example for Opera
browser with JRuby.
On Thu, Jan 27, 2011 at 12:44 PM, Chandu80 chandu.she...@gmail.com wrote:
Hello All,
A
Great work,
On Fri, Dec 17, 2010 at 3:14 PM, Jarmo jarm...@gmail.com wrote:
I'm pretty sure that some of you already have noticed the library i've made
to automate windows and their controls. I've now written a short blog post
about it.
require statement is use to include a library similar to the include
statement in C/C++ and not to execute the code
I believe we need to replace the require 'XYZ' with
system(ruby 'Ft_001.rb')
On 11/12/10, chethan sarathy chethan2...@yahoo.co.in wrote:
here is my code
@i = 1
begin
yeh 1.8.6 is recommended,
ruby 1.9.* would work on unix but on windows environment gosh knows,
although the library has been patched to work with 1.9.*
On 7/30/10, Yuping Zhong littlezhong...@gmail.com wrote:
recommend 1.8.6
On Sat, Jul 31, 2010 at 6:26 AM, John Fitisoff jfitis...@yahoo.com
a
certain amount of reliablity as to write you script on one platform and run
it any where?
Karim Rayani
On Thu, Mar 11, 2010 at 3:37 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
Hi,
I am recording a podcast with Jake Dempsey on Watij (watij.com) this
Friday. If you have a question or six
Clearity is a headless implementation of the Watir API but it runs on the
java platform,
Karim Rayani
On Wed, Feb 24, 2010 at 8:53 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Wed, Feb 24, 2010 at 4:17 PM, Moises Siles moises.si...@gmail.com
wrote:
I'm not sure if after I
Hello,
Yeh we can read the JSON response.
if we have a JSON output from some URL. then we can
check this one for more help on going about reading a json output in RUBY
http://snippets.dzone.com/posts/show/6133
On 1/25/10, tester86 sagar.am...@gmail.com wrote:
Hi
Using Watir is it possible
use the innerText property or innerHTML propertry, some java script
knowledge will be helpful
Thanx
Karim Rayani
On Mon, Jan 11, 2010 at 4:46 PM, lokesh.agra...@gmail.com
lokesh.agra...@gmail.com wrote:
Hi Guys,
I am facing one problem.
In my webpage I have table which has many TD/TR
I know this is not the exact place to put this question, but can any
one help me in using jruby with Watij library,
I guess JRuby can invoke classes in the Java jar files. I have set the
class path and copied the jar files to the lib folder, i need help in
starting the browser invokation
if any
The Ruby 1.9.1 installation works with firewatir on Ubuntu/linux however the
windows installer is not yet completely done, this topic had been discussed
on many other forums as well
Karim Rayani
On Mon, Nov 30, 2009 at 6:37 PM, aidy lewis aidy.le...@googlemail.comwrote:
Hi,
I am trying
Hello,
If nothing works out then please use the hpricot library, excellent library
for screen scrapping.
Karim Rayani
On Sat, Nov 7, 2009 at 2:49 AM, BookGuy bookscro...@gmail.com wrote:
I'm trying to test against the class name of a span. I'm iterating
through all spans and basically want
a id=:qk class=e a7 ou target=_top href=?logouthl=enSign out/a
the above is a link and not a button, i believe ie.link(:id,:qk).click
should work
On 10/25/09, abhisheksreepal abhisheksree...@gmail.com wrote:
Hi,
I am working in Windows Xp.
Ruby - 1.3.5
Watir - 1.6.2
I am unable to
hi did u try using :text,Sign out as parameters???
On 10/25/09, abhisheksreepal abhisheksree...@gmail.com wrote:
Hi karim,
Thanks for the reply.
Yes a id=:qk class=e a7 ou target=_top href=?
logouthl=enSign out/a is a link
I have tried it before which didn't work.(Will get the same
cool thanx it helped me as well
On 10/25/09, abhisheksreepal abhisheksree...@gmail.com wrote:
Hi karim,
I found out the mistake.
Actually Sign Out is under a frame.
This will work
ie.frame(:index,4).link(:id,:qk).click ( or even with :name it
will work)
Hello All,
Use the Watircraft framework, nothing like using Rspec so as to get to know
the exact point of failures and fancy reports
Regards,
Karim Rayani
On Fri, Oct 9, 2009 at 2:03 PM, Rohan Ojha rohan.o...@bsil.com wrote:
Hey Bindhu,
Rake is ruby make file. You can say its Ruby’s
I donot know much of what you have done but for safari we need to have
safariwatir installed
require 'rubygems'
require 'safariwatir'
browser = Watir::Safari.new
browser.goto(http://google.com;)
browser.text_field(:name, q).set(obtiva)
browser.button(:name, btnI).click
puts FAILURE unless
how about Ruby 1.9.1 in the list
On Mon, Oct 5, 2009 at 6:23 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
I have created a new wiki page:
http://wiki.openqa.org/display/WTR/Platforms
Feel free to comment, edit, improve, fix bugs...
Željko
--
http://watirpodcast.com/
)
ie.close
Thanx
Karim Rayani
http://karimnumerouno.wordpress.com
On Fri, Oct 2, 2009 at 9:28 AM, Shlomit Gazit shlomitpatr...@gmail.com
wrote:
Hello,
I want to check if a link exists in the page.
I dont know what the content text of the link is, but I know
yeh definately.
On Thu, Sep 24, 2009 at 4:44 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
I have been updating these wiki pages:
http://wiki.openqa.org/display/WTR/Ways+Available+To+Identify+HTML+Tag
http://wiki.openqa.org/display/WTR/How+and+What
hey hi, i have sorted the header column, you could verify the header column
From
Karim Rayani
On Thu, Sep 24, 2009 at 4:22 AM, karim rayani karim@gmail.com wrote:
yeh definately.
On Thu, Sep 24, 2009 at 4:44 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
I have been updating
Could you share the URL of the application with us so that I could
understand how the application id designed.
FROM
Karim Rayani
http://karimnumerouno.wordpress.com
On Tue, Sep 22, 2009 at 7:42 AM, ravi pulipaka ravi8...@gmail.com wrote:
its giving me an error undefiend meathod visible
i
variable line can be inturn splitted using = sign as the separator
and then splitted string could be copied into a hashed array
by the Watir is just a browser driver (the best one :), inorder to do
all such things you need to know Ruby.
From
Karim Rayani
http://karimnumerouno.wordpress.com
the windows one click install is version 1.8.6.
1.8.6 is the most stable one and widely used. you might run into all
sorts of problems and mess up all the current set up.
It would be wise not to do that.
///
Karim Rayani
http://karimnumerouno.wordpress.com
On Fri, Sep 18, 2009 at 7:28 AM
://karimnumerouno.wordpress.com
On Fri, Sep 18, 2009 at 8:29 AM, karim rayani karim@gmail.com wrote:
the windows one click install is version 1.8.6.
1.8.6 is the most stable one and widely used. you might run into all
sorts of problems and mess up all the current set up.
It would be wise not to do
now would be to get rails with Ruby 1.9.1 in
production environment and to do that many libraries need a fix.
you can find the status of the gems on isitruby19.com and search for
the gems. the site is made to perform the cleanup activity for ruby
1.9.1.
Best
Karim Rayani
http
Why not use Javascript commands,
there is a technique to insert/execute javascript commands as well,
that would be a better direct way
http://karimnumerouno.wordpress.com
On Fri, Sep 18, 2009 at 10:45 AM, Prajakta Jadhav
jadhav.praja...@gmail.com wrote:
Can you post the html code of this
Place a while loop (i would suggest not infinite) and then use
$browser.text.include? 'llama' and code the sleep interval in the
loop along with it as well.
From
Karim Rayani
On Wed, Sep 16, 2009 at 8:18 AM, dk dkora...@gmail.com wrote:
Thanks a lot Zeljko ! worked just fine. Wonder why i
well, some javascript script even has not been triggered, you can ask
the developer for the javascript event that is being invoked and
invoke the same, as we know that in watir we can execute javascript
statements as well.
Regards,
Karim Rayani
On Tue, Sep 15, 2009 at 3:18 PM, Rajat Singhal
in the file.
From
Karim Rayani
On Mon, Sep 14, 2009 at 4:06 PM, msazeez28july sabdulkha...@gmail.com wrote:
Hi,
We have watir scripts which requires url, username, password and
path (location of the datatables).
These parameters are changing depends upon the server where
application
You need to write the regular expresssions in the correct format for this dude.
Best
Karim Rayani
On Sat, Sep 12, 2009 at 12:37 AM, orde ohil...@gmail.com wrote:
Have tried the line below but it gets confused because of the
extra //.
$links.detect { |$links| /^http://word/=~ $links
you can also use the db2 library or the active record library they are
better then the OCI8 stuff
On Tue, Jul 21, 2009 at 7:14 PM, Dheeraj
Gambhirchecktestingthi...@gmail.com wrote:
Hi,
I am getting oci.dll missing error on running the code given by you:
require 'oci8'
connection =
if one has knowledge of automation then learning watir should only
take around 1 month.
However if automation/programming background then it can take a fair bit of time
On Fri, Jul 10, 2009 at 9:30 PM, Georgegeorge.sand...@gmail.com wrote:
I have relatively no programming experience. I
i guess using the rake command we can run alll the spec and then the
result is stored in and index.html file
something like rake specs/spec
On Sat, Jul 11, 2009 at 2:03 AM, Steveshaml...@twia.org wrote:
The following seems to work:
spec xxx.rb yyy.rb zzz.rb -fs
--
Regards,
Alkarim
yeh watircraft does the same. we need to define the tasks in the spec
folder and run with the command rake rspec. i did try it for a couple
of tasks
On Fri, May 22, 2009 at 12:50 PM, al3kc aleks.kiev...@gmail.com wrote:
I think the Batch Task is all you need to run your tests. This plugin
How about using watircraft, i guess we can perform batch run's of test
cases in that rite??
On Fri, May 22, 2009 at 5:02 AM, Lisa Crispin lisa.cris...@gmail.com wrote:
Is anyone using Hudson to run their Watir suites? Is there a Hudson plugin
for Watir?
We've always run our suites from the
when doing automation, any testing tool has the concept of object
identification be it QTP, SILKTEST etc, you can try to use indexing if
possible for object identification, the developer can change the name,
id etc indexing can help, but mind you that can also change if the
devs donot understand
for QTP and SILKTEST then
guys please share.
On Thu, May 14, 2009 at 12:32 PM, Lokesh Agrawal
lokesh.agra...@gmail.com wrote:
Thanks Alkarim,
Is there any other option in Watir for Object Identification??
On May 14, 11:27 am, karim rayani karim@gmail.com wrote:
when doing
On Fri, May 8, 2009 at 3:28 PM, Matt
matthewwill...@computerpeople.co.uk wrote:
Hi,
I'm new on here and apologies if this is not the done thing!
I specialise in OSS recruitment for Computer People. I have a number
of vacancies in Watir and other OSS related testing tools.
Please reply to
You can use begin rescue ensure statement for exception handling, this
is the exception handling syntax for ruby
begin
code
rescue e
. write to file the description of failure
ensure
... close the database connection
end
On Mon, May 4, 2009 at 2:36 PM, sHiVa krapa.ph...@gmail.com
do one thing if you know ruby somewhat
url=ie.url
url_splitted=url.split(?)
puts url_splitted[0] should give you the base url
On Fri, May 1, 2009 at 5:00 PM, ash ashbr...@gmail.com wrote:
Having searched this group, plus the wiki, plus the mail archives I am
still a little confused as to
43 matches
Mail list logo