[Wtr-general] Using watir to control JavaScript popups

2006-11-13 Thread Garry West
I am new to watir and I am currently trying to automate some tests, however I am having difficulties automating a _javascript_ popup. This popup asks the user to confirm that they would like to log off, it has two options which are OK and Cancel. After reading some information from

Re: [Wtr-general] Using watir to control JavaScript popups

2006-11-13 Thread George Hawthorne
On 13/11/06, Garry West [EMAIL PROTECTED] wrote: I am new to watir and I am currently trying to automate some tests, however I am having difficulties automating a JavaScript popup. This popup asks the user to confirm that they would like to log off, it has two options which are OK and

Re: [Wtr-general] Using watir to control JavaScript popups

2006-11-13 Thread Cain, Mark
Which version of Watir are you using? --Mark From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Garry West Sent: Monday, November 13, 2006 5:04 AM To: wtr-general@rubyforge.org Subject: [Wtr-general] Using watir to control _javascript_ popups I am new

Re: [Wtr-general] Watir tests as how-to documents

2006-11-13 Thread Ċ½eljko Filipin
At the end I decided to use Watir only. I took a closer look at application that I test and found out that there are labels for elements.input id=ctl00_subContent_userNameInput type=text label for="" id=ctl00_subContent_Label1Username/labelI added this to the end of Watir::TextField#setwhat =

Re: [Wtr-general] Grouping Test Cases

2006-11-13 Thread Lillis, Dara
I figured this out...after a colleague pointed me at Andy Sipe's blog: http://zbarzone.blogspot.com/2006/04/getting-xml-test-results-from-rails _06.html the relevant code I needed to add: require 'test/unit/collector/objectspace' #replace class def for the suite with one line suite =

[Wtr-general] Finding the size of IE

2006-11-13 Thread Rob Mayhew
Hello,I'm attempting to use watir to check for _javascript_ memory leaks. But I can't find a way to check the memory usage of IE though watir. Is there any way to do this?Thanks.Rob ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] WIN32OLERuntimeError - I get this error after two hours - see details

2006-11-13 Thread Nathan
Hi bb_tester. You have a very good point. As of right now, the test is always running on my personal development machine, though we are already working on building a spider/bot environment. This will minimize the possibility that another process is taking over or killing our process, but I

Re: [Wtr-general] Finding the size of IE

2006-11-13 Thread Phlip
Rob Mayhew wrote: I'm attempting to use watir to check for JavaScript memory leaks. But I can't find a way to check the memory usage of IE though watir. Is there any way to do this? That requires kernel-level programming. Win32 uses virtual memory. As IE runs, no matter what it does, its