[wtr-general] Re: AutoItX3 failing on virtual machine when remote desktop window minimized/closed

2010-06-03 Thread Chuck van der Linden
Most virtualization platforms have an option for a connection that looks to the virtualised OS like the 'console' and is thus treated differently by the OS than a RDP session. For example Hyper-V provides a way to connect to the VM via Virtual Machine Manager (or at least one sidebar gadget) and

[wtr-general] Nil Class error

2010-06-03 Thread Chandu80
I have a piece of code as follows. Here after the Save button is clicked a pop-up appears with an OK button. The pop-up needs to be clicked(on the OK button) or closed for the script to run further. This piece of code is run in iterations.It runs fine for a few iterations(say 2 or 3) and then

[wtr-general] Re: Bad File Descriptor

2010-06-03 Thread Betsy
Still waiting for a reply!!! On Jun 2, 7:31 pm, Betsy joybe...@gmail.com wrote: Hi all, Can anyone list down the general causes of a Bad File Descriptor error? Thanks, Betsy Joy. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You

[wtr-general] How to create a file and save it.

2010-06-03 Thread meaculpa
I need to create a text file and save it using watir. How is it possible. Can anybody help ? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general

Re: [wtr-general] How to create a file and save it.

2010-06-03 Thread Jason Trebilcock
Watir is really a tool for interacting with web applications. For what you want to do, you may want to rephrase the question as being Ruby-specific and not related to Watir. Further, you may want to invest a little time researching your problem. There are plenty of resources available to help

[wtr-general] Re: Problem with a listbox that populates to many data

2010-06-03 Thread joedio
Marlon, Perhaps checking the browser's status bar to see that the status is Done may work. I've run into similar situations when testing SOAP applications where a user interaction on one element on the page triggers the population of a select list. If you're app is written well, the status text

[wtr-general] Re: How to create a file and save it.

2010-06-03 Thread Adam Reed
I agree with Jason, and I would also recommend Everyday Scripting with Ruby/Marick - great book for scripters that know more about WATIR than they do about Ruby. http://pragprog.com/titles/bmsft/everyday-scripting-with-ruby On Jun 3, 8:30 am, Jason Trebilcock jason.trebilc...@gmail.com wrote:

[wtr-general] Re: How to create a file and save it.

2010-06-03 Thread meaculpa
Its WATIR specific only. And This is not a blanket request for help. Everyone in this forum are having experience and they are not just NOOBS. So they can surely understand what i mean... Also After googling only I post here... I believe this group is mainly for helping each other than

RE: [wtr-general] Re: How to create a file and save it.

2010-06-03 Thread Rohan Premvallabh Ojha
Hi, You can have something like. f=File.new(fileName,w) # to create a new text file f.puts(variableName) # to input that in your text file (have it in a while loop for multiple values) f.close Hope this will help you.:) Cheers and Chill..

[wtr-general] Re: How to create a file and save it.

2010-06-03 Thread Adam Reed
With respect, file manipulation is a basic feature of Ruby. WATIR is a testing library/tool that makes use of the basic built-in Ruby functionality. That is the distinction that is being made. In your case, you would need to design a way to locate the Order Id, temporarily assign that value to

[wtr-general] Re: How to create a file and save it.

2010-06-03 Thread orde
The Ruby IO and File classes contain untold goodies. I'd suggest reading up on them: http://www.ruby-doc.org/core/classes/File.html http://www.ruby-doc.org/core/classes/IO.html Hope it helps. orde On Jun 3, 7:49 am, Adam Reed reed.a...@gmail.com wrote: With respect, file manipulation is a

[wtr-general] getFocusedElement

2010-06-03 Thread kashyap
Hi all, Is there a method in Watir to get the id/name of the current focused element in a webpage? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to

[wtr-general] get value from password type text-field

2010-06-03 Thread kashyap
Hi all, I am testing(using Watir) a web-form that has many text fields in it.One of the text-fields is a password type text field. The text-field's HTML is: INPUT class=stdbox type=password maxLength=64 onchange=IsAlphaNumericOrSet( this.value, g_PswdSetChars, 'Confirm Password', this.title)

Re: [wtr-general] Re: How to create a file and save it.

2010-06-03 Thread Wesley Chen
When you have installed Ruby, there is a man doc, I think for the newbie, you can study a lot from it, and it is really basic but important. Wesley. For life, the easier, the better. On Fri, Jun 4, 2010 at 2:01 AM, orde ohil...@gmail.com wrote: The Ruby IO and File classes contain untold