Hi all,
we are having a lot of Ajax stuffs in our application. I need help for Ajax
stuffs to be automated with watir. This is how my application looks.
I have a search criteria with a link called "search a term". If i click on that
link an Ajax select will be opened.I need to select a term usi
Hello people,
Thanks for your answers. But I am sorry to say that my issue still remains
unsolved.
$ie.modal_dialog.html does not return the '.html' of the dialog nor does
'Spysmith' reqcognize the controls in the dialog. The script just does not do
anything after executing the statement pri
Hi,
I got this working by using the index number. ie.link(:index,15).click.
Thanks a lot,
Harish
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6325&messageID=17989#17989
_
Hi guys
I run my scripts from a batch file with the -b option so that the
browsers aren't visible. One of our actions causes a new browser window
to open, but this is visible despite the -b. Is there any way to prevent
the new window from being visible ?
Walter Kruse
Senior Test Analyst
www.
hi,
i tried adding
require 'test/unit/assertions' in my code but then too its not working
and is giving the same error can you give me a simple set of code using
assertions.
It will be really helpfull too me thank you,
thanks
maloy
John Castellucci wrote:
> Any tips on getting Watir to be happy with lousy XML source?
>
By design, REXML should handle lousy XML. I suggest you raise this issue
with the REXML project. I had a problem a while ago, reported it to them
with a failing tests case, and they fixed it.
Bret
__
Howdy all,
I'm working on a short project where I am parsing a page that happens to
contain some nodes that cause REXML to die -- some specific examples are:
<[EMAIL PROTECTED] _extended="true" />
The nodes with @, : and , all throw:
c:/ruby/lib/ruby/site_ruby/1.8/rexml/parsers/treeparser.rb:
> Another option is to use this script:
>
> puts $ie.modal_dialog.html
... something about a forest and trees comes to mind ...
Thanks for such a simple solution :)
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?t
Noticed that too, but Watir does store it in the @url_list in the wait
method before it calls run_error_checks. Which would require checking the
url on the unless condition to add res errors regardless of already in the
list.
-c
On 1/31/07, Paul Rogers <[EMAIL PROTECTED]> wrote:
i looked at th
Another option is to use this script:
puts $ie.modal_dialog.html
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
i looked at the url yesterday ( just quickly mind ) and in the browser it
showed as res:..
but from watir it just gave me the url of the page that I was trying to get to
Paul
Good point, I'm looking at a good way to tell if the navigation fails in
IE7. So far the best way I can find is to check
Good point, I'm looking at a good way to tell if the navigation fails in
IE7. So far the best way I can find is to check the url for
res:///dnserror.htm There may be other pages that get used for other
errors though - 500 responses, etc.
I'm using two machines to test. There is however, some
can you set focus to a control and then use auto-it to send TAB until the
flash has focus and then send another auto-it command?
I think there is something for testing flash, but I cant find it right now
( I found this, but it wasnt what I was looking for:
http://sourceforge.net/projects/asuni
I have some code ( that someone else fixed for me - Im sorrry but I cant
remmeber your name )
that probably does the same as win32::screenshot
I was intending to check it in in place of the nasty hack that uses the paint
program
The problem was that it only saves bmp, but the default on the pai
I was about to reply that I wasnt happy with the way this works.
For example a site that has this
200 Days till Christmas
would get reported as an http error
I think we need to check for the existance of something else before raising the
exception.
Do you test on 2 pcs, or is there some magi
There are some sample programs using the com binding on Techsmith's website
and minimal COM api docs. You might also take a look at Aslak Hellesoy's
screenshot library for Ruby:
http://blog.aslakhellesoy.com/articles/2006/12/02/getting-screenshots-from-watir
-Charley
On 1/30/07, david goodine <[
Good question, heres my trick.
Download a product called spysmith (its linked in the wiki, but i'm sure google
can find it).
After you install this spysmith allows you to see HTML values of any web page
(including modal). The real trick though is that it allows you to see ALL the
HTML. So what
Paul,
I committed the change in svn after testing it on IE6 and IE7.
-Charley
On 1/30/07, Bret Pettichord <[EMAIL PROTECTED]> wrote:
Paul,
Please go ahead and commit this change.
Bret
-
Posted via Jive Forums
http://forums.
On 1/31/07, Bret Pettichord <[EMAIL PROTECTED]> wrote:
Thank you very much for the reports.
I love to report bugs. :)
--
Zeljko Filipin
zeljkofilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wt
Hello people,
In my application, when I select a particular value in a 'list box', a dialog
named 'Select -- Web Page Dialog' gets displayed as a small window (1/4th the
size of the original window). I want to select a particular value, among a
list of values displayed, in this 'Dialog' and cl
Hi Suman,
Can you try the following?
Simulate pressing {TAB} key until you get focus on the textarea i.e. send or
Press {TAB} key using code. First count the number of tabs required by doing
the same in UI and send that many tab key events, to get focus on the text
area. Once you get the focus y
I like Bret's idea :)
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6325&messageID=17925#17925
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyf
add this line:
require 'test/unit/assertions'
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6352&messageID=17922#17922
___
Wtr-general mailing list
Wtr-general@r
Good morning:
Perhaps you could try something like this:
#includes:
require 'watir' # the watir controller
require "rexml/document"
require "date"
require '/apps/ruby/lib/ruby/1.8/test/unit'
require '/apps/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner'
require 'w
On 1/30/07, Nathan Christie <[EMAIL PROTECTED]> wrote:
> Nathan,
>
> I've written thousands of Ruby unit tests that use Watir extensively for our
> web applications. If you have some more specific implementation / strategic
> questions that you want to take offline please feel free to shoot me an
Hi-
If a page uses a Flash element (in this case a debug message) is there
any way to click on this element? Even if outwith the scope of WATIR,
does anyone know a library for driving Flash at all?
Max Russell
Test Analyst.
INPS
Tel: 01382 223900
Fax: 01382 204488
Visit our Web s
26 matches
Mail list logo