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,

[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

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?

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

[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

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

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