[wtr-general] Re: Screenshot on remote machine

2008-11-20 Thread LFIdnl
Thanks it's work On 19 нояб, 16:07, juuser [EMAIL PROTECTED] wrote: It works for me fine if Remote Desktop window is not minimized. It might not be maximized or under any other window, but as soon as it gets minimized, then AutoIt and screenshots won't work. Also, it should not have

[wtr-general] Re: Efficient code writing

2008-11-20 Thread Natasha Ranney
Hi Aidy, Thanks for your inputs. I am not very clear what can we use Rspec for? How is it better that Test::Unit? I am thinking of trying to integrate watir with TestLink, as it has dual advantage. It allows me to maintain test cases and gives me an interface to execute my tests. Besides that

[wtr-general] Handling assert failures effectively

2008-11-20 Thread Natasha
Hello All, I have tried using assertion in my code. Basically, I want to know if we could handle assertion failure effectively. Currently it gives an error and exits. Can I get redirect the failure and error notifications, towards the end of my output, to a log file, so that my console looks

[wtr-general] Re: Handling assert failures effectively

2008-11-20 Thread Tiffany Fodor
Hi Natasha! Here's a discussion this topic that may help. http://groups.google.com/group/watir-general/browse_thread/thread/a76fa88eaa260855/1af316cfbfc63fd3?lnk=gstq=test%2Funit+assertions#1af316cfbfc63fd3 -Tiffany On Nov 20, 11:02 am, Natasha [EMAIL PROTECTED] wrote: Hello All, I have

[wtr-general] Re: Handling assert failures effectively

2008-11-20 Thread Natasha Ranney
Hi Tifanny, Thanks for sharing this link. One way to to get rid of the dirty console output is to completely redirect it to a log file. But I just simply want to get rid of the following that gets printed on console, not the whole of the output: I would like to redirect the following to a

[wtr-general] Re: Efficient code writing

2008-11-20 Thread aidy lewis
Natasha, On 20/11/2008, Natasha Ranney [EMAIL PROTECTED] wrote: Hi Aidy, Thanks for your inputs. I am not very clear what can we use Rspec for? How is it better that Test::Unit? Unit tests can be a way to describe your software system. Traditional Rspec is a layer above xUnit to make your

[wtr-general] Re: Handling assert failures effectively

2008-11-20 Thread aidy lewis
Hi, On 20/11/2008, Natasha Ranney [EMAIL PROTECTED] wrote: Hi Tifanny, Thanks for sharing this link. One way to to get rid of the dirty console output is to completely redirect it to a log file. These methods will prevent console output: def puts_off Kernel.module_eval %q{ def

[wtr-general] Re: Executing watir 1.6.2 scripts on MAC

2008-11-20 Thread sbourdea
Natasha, I had this problem on Mac and if you add: Watir::Browser.default = 'firefox' up on top of your script it should work. For good measure, I have browser set to 'firefox' in my watir options file, as well. Scott On Nov 19, 1:20 pm, Natasha [EMAIL PROTECTED] wrote: Hi All, I having

[wtr-general] Unable to enter message in Hotmail!

2008-11-20 Thread [EMAIL PROTECTED]
HI, I am new to Watir. Have been learning/using only for the past few days. I am trying to send an email from my Hotmail account. I am able to login, enter an address in the To: text field, and a Subject in the subject text field successfully. But am not able to enter any text in the message

[wtr-general] Re: Unable to enter message in Hotmail!

2008-11-20 Thread wesley chen
Hi, Margam, Please try code below: ie.div(:id, RichTextEditor_surface).focus ie.send_keys(hello) Thanks. Wesley Chen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send