Re: [Wtr-general] Solution for accessing showModal Dialogs yet?

2006-08-16 Thread Charley Baker
James, Watir 1.5 development branch does support modal dialogs. I've been using it for a while with one of the applications I'm testing. If you want to install the latest development version the instructions are on the FAQ page: 
http://wiki.openqa.org/display/WTR/FAQ#FAQ-devgem-CharleyOn 8/15/06, James 
[EMAIL PROTECTED] wrote:
Hey guys,I am testing an application that ,unfortunately, extensively uses Modal js dialogs.Do we have a way to access these yet, with latest 1.5 codeThanks!-James-
Posted via Jive Forumshttp://forums.openqa.org/thread.jspa?threadID=3606messageID=1#1___
Wtr-general mailing listWtr-general@rubyforge.orghttp://rubyforge.org/mailman/listinfo/wtr-general

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] verify html list and that that list is in sequential order

2006-08-16 Thread Adrian Lewis

Hi,

I have a list

UL

  LIHINCKLEY/LI

  LIHINDHEAD/LI

  LIHINTON ST GEORGE/LI
/UL

Is it possible to verify the contents of the list elements in sequential
order and that nothing else is in this list. Bit of a tricky one I think!

Cheers

Aidy



---
This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. 
If you are not the intended recipient, please telephone or email the sender and 
delete this message and any attachment from your system.  
If you are not the intended recipient you must not copy this message or 
attachment or disclose the contents to any other person.
---
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] Solution for accessing showModal Dialogs yet?

2006-08-16 Thread James
I found the ie.modal_dialog function.
And it works, but I have found problems.

I am working on running multiple threads, each driving their own IE.

When a modal dialog is opened in one IE instance
an attempt to open the dialog in another instance, hangs my script  =[

Has anyone else seen this?

Thanks!
-James
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=3606messageID=10042#10042
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] Solution for accessing showModal Dialogs yet?

2006-08-16 Thread Bret Pettichord
James wrote:
 I found the ie.modal_dialog function.
 And it works, but I have found problems.

 I am working on running multiple threads, each driving their own IE.

 When a modal dialog is opened in one IE instance
 an attempt to open the dialog in another instance, hangs my script  =[

 Has anyone else seen this?

 Thanks!
 -James
   
You need to make sure you use click_no_wait when opening modal dialogs 
or else your script will hang. This is true even if you only have one 
thread.

Bret

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


[Wtr-general] get the meta tag out of a page

2006-08-16 Thread Alien Ruby
Hi guys,

does anyone know how to get the meta tags (meta name and content) from a page 
in WATIR?

for e.g., ie.title will nicely spit out the title tag of a page. how about 
meta tag? what if we have two meta tags (names) in a page?

do I need to include some other libraries?

thank you in advance.
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=3625messageID=10047#10047
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] get the meta tag out of a page

2006-08-16 Thread Alien Ruby
Let me make clearer...

for example,

ie.title of this page will out put OpenQA Forums: Watir General

but, I want something that can spits out the meta tag. like

meta http-equiv=content-type content=text/html; charset=ISO-8859-1

or just the name and content? and what if they have multiple meta tags?

I've been doing this a hard way. I assume this can be done in a very easy way, 
will it? maybe something like ie.meta.. it.html.meta

please any suggestion will be accepted.

thank you soo much.
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=3625messageID=10048#10048
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] verify html list and that that list is in sequentialorder

2006-08-16 Thread Michael Bolton
I don't understand the hard part.

From what you're describing, and the way you're describing it, a regular
expression could do it:

r = /UL\s*LIHINCKLEY\/LI\s*LIHINDHEAD\/LI\s*LIHINTON ST
GEORGE\/LI\s*\/UL/

Is there something that I'm not understanding?

---Michael B. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lewis
Sent: August 16, 2006 10:46 AM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] verify html list and that that list is in
sequentialorder


Hi,

I have a list

UL

  LIHINCKLEY/LI

  LIHINDHEAD/LI

  LIHINTON ST GEORGE/LI
/UL

Is it possible to verify the contents of the list elements in sequential
order and that nothing else is in this list. Bit of a tricky one I think!

Cheers

Aidy




---
This message and any attachment are confidential and may be privileged or
otherwise protected from disclosure. 
If you are not the intended recipient, please telephone or email the sender
and delete this message and any attachment from your system.  
If you are not the intended recipient you must not copy this message or
attachment or disclose the contents to any other person.

---
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general