Today morning, when I was going through the 'built-in' scripts, like watir.rb,
watir_simple.rb etc. just to have a look at the source code, I happened to note
that we can modify the source code of various functions to suit our need and
also how to use the functions present in the 'Simple' class.
Hi Bach,
The method for finding the element initially worked for Absolute path but
while implementing it for forms i got into trouble. So its like this:
Whatever HTML you see in Firefox browser will be used for identifying the
element. In case you want it to work both with WATiR and FireWatir yo
Naga Harish Kanegolla wrote:
> ie.text_field(:name, "contract_my_document[title]").set("harish")
>
> where add to my contracts is the link, in which if we click on that link i'll
> be getting an ajax form. In that "Title" is the text_field. the name of that
> title is contract_my_document[title
HI,
I used this code ::
ie.link(:text,"add to my contracts").click
ie.text_field(:name, "contract_my_document[title]").set("harish")
where add to my contracts is the link, in which if we click on that link i'll
be getting an ajax form. In that "Title" is the text_field. the name of that
title
Jason He wrote:
> Yes, they are the subclass of Test::Unit::Testcase, each one will be a
> standalone script, and combined by a list script who will start the test.
>
OK.
Test-unit does not execute test cases when they are loaded (e.g. with
require). Rather, after all the test cases are loaded
Yes, they are the subclass of Test::Unit::Testcase, each one will be a
standalone script, and combined by a list script who will start the test.
Regards,
Jason
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: 2007年1月19日 10:51
To: wtr-
Yes, they are the subclass of Test::Unit::Testcase, each one will be a
standalone script, and combined by a list script who will start the test.
Regards,
Jason
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: 2007年1月19日 10:51
To: wtr-
Maloy kanti debnath wrote:
> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1136/./watir/windowhelper.rb:42:in
> `check_autoit_installed': The AutoIt dll must be correctly registered for
> this feature to work properly (Watir::Exception::WatirException)
>
This problem is fixed in commit 1142 and w
Jason He wrote:
>
> I followed the test suite under directory
> “c:\ruby\lib\ruby\gems\1.8\gems\watir-1.5.1.1136\unittests” to write
> test cases.
>
> Each case is a separate ruby file, and they are included in a list file.
>
> Now I meet a problem about how to control the test cases run in a
>
I typically use a syntax similar to this:
@ie.image(:src , /ps_header_module_solution_builder_iconUp.gif/).click
Good luck,
Carl
Carl L. Shaulis
Convergys - Senior Analyst
512-634-0607
___
Wtr-general mailing list
Wtr-general@rubyforge.org
htt
I mean those later test cases in the list will run immediately, without waiting
the former ones to finish.
And the interval between them is so shorter that it looks like those cases run
at the same time
Regards,
Jason
From: [EMAIL PROTECTED] [mailto:[EMAIL
Hi,
I am new to ruby/watir. Please see HTML code snippet below. I want to click on
image with title "Delete survey, responses, emails" of table cell with id =
10TD37. How do I do that.
Thanks
Code snippet:
SPS
Template
2544
08/
Hi Angrez,
Thanks for clarifying that. Although it does work on watir, do you have any
idea why it doesn't work on FireWatir? Seems to be that would be nice to have
both the relative path and the absolute path for the element src. If you'd
like, i'd be happy to take a look at the code and per
Hello people,
I do not know how to use the commands like click_link_with_url,
click_link_with_text etc., which are listed under the class 'Simple' in the
'rdoc' documentation of Watir (http://wtr.rubyforge.org/rdoc/index.html). When
I tried to use the command 'click_link_with_text' , Watir tel
It may help if you include a snip of your code and html. I haven't had any
problems using any 'ajax' items.
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6170&messageID=17315#17315
not sure on your exact question but would
ie.link(:text,'Images').click
work?
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6165&messageID=17314#17314
___
Wtr-g
Hi all,
I am using watir for my application. Its very interesting..
I am using lot of ajax for my application. When i click a link an ajax form
opens, till here i am able to work with watir, but i can't enter value in the
ajax form. Its giving me the error Unable to locate the object. But ia
Let's simplify a bit.
I will put a list of files in array.
irb(main):017:0> list = ["first.rb", "second.rb", "third.rb"]
=> ["first.rb", "second.rb", "third.rb"]
I want them printed in the order they are in array (first.rb, second.rb,
third.rb)
irb(main):018:0> list.each { |x| puts x }
first.r
On 1/18/07, Jason He <[EMAIL PROTECTED]> wrote:
I tried to use the following method, but it seems does work, these cases
will run almost concurrently.
What do you mean by "almost concurrently"?
--
Zeljko Filipin
zeljkofilipin.com
___
Wtr-general mai
Dear all,
I followed the test suite under directory
"c:\ruby\lib\ruby\gems\1.8\gems\watir-1.5.1.1136\unittests" to write
test cases.
Each case is a separate ruby file, and they are included in a list file.
Now I meet a problem about how to control the test cases run in a
predefined sequence,
On 1/18/07, Maloy kanti debnath <[EMAIL PROTECTED]> wrote:
The AutoIt dll must be correctly registered for this feature to work
properly
AutoIt is not correctly registered at your machine. It happens to me every
time I install watir.
Open a command line, go to folder where AutoItX3.dll is lo
Hi,
I hope the answer to your problem is here :
http://forums.openqa.org/thread.jspa?messageID=16572䂼;
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6155&messageID=17283#17283
___
hi,
i tried this but this is the perticular error i got
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1136/./watir/windowhelper.rb:42:in
`check_autoit_installed': The AutoIt dll must be correctly registered for this
feature to work properly (Watir::Exception::WatirException)
is there any extra re
23 matches
Mail list logo