[wtr-general] Re: How to check the load time of an page?

2009-07-10 Thread Rinku Garg
Hi Soori, Try the followig code... after $ie.goto('http://localhost/') loadtime =$ie.down_load_time.to_s puts loadtime Regards Rinku Garg On Jul 6, 11:54 am, Soori sure...@gmail.com wrote: Hi All, I would like to monitor the load time of an web page once in a 15 mins for 2hrs, i should

[wtr-general] How to get firefox window handle

2009-07-10 Thread Kinnu
Hi Friends, I am using ie.hwnd in watir to get the browser handle. I have observed that there is no such property available in FireWatir. Is there any work around for this? basically what i want to do is to get the center point of the browser. Regards, Kinnu

[wtr-general] Time to learn Watir

2009-07-10 Thread Swap
Hello, I am new to learn Watir. And my company ask me the estimation to learn the Watir. Can you please tell me how much time the learner will need to understand and learn Watir? Please reply. Thanks in advance Swapnal. --~--~-~--~~~---~--~~ You received this

[wtr-general] Re: Time to learn Watir

2009-07-10 Thread kiran yajamanyam
If you have automation knowledge, it shouldn't take much time to learn. First start it and you will know about it. Regards, Kiran Y On Fri, Jul 10, 2009 at 12:02 PM, Swap swapnal.sa...@gmail.com wrote: Hello, I am new to learn Watir. And my company ask me the estimation to learn the Watir.

[wtr-general] Re: getting error while running watir script on firefox 3.0.11

2009-07-10 Thread Angrez Singh
Can you please tell what you did this time that it started working so that it benefits other people also? On Thu, Jul 9, 2009 at 7:00 PM, aparna aparna.m...@gmail.com wrote: Hi Angrez, finally its working fine for me... Thanks Regards, Aparna On Jul 9, 2:48 pm, Angrez Singh

[wtr-general] Re: Firefox 3.5 compatible with FireWatir?

2009-07-10 Thread Angrez Singh
Can you check event viewer/firefox error console to check if XPI has been installed correctly? On Thu, Jul 9, 2009 at 7:46 PM, Al B. a...@comcast.net wrote: Hi Angrez, I tried the steps in your July 8 post, using the XPI for Windows that you posted on July 3, and got the following results

[wtr-general] Re: Time to learn Watir

2009-07-10 Thread Swapnal
I do not have automation knowledge then how much time I will need to learn everything of Watir? Swapnal On Fri, Jul 10, 2009 at 12:04 PM, kiran yajamanyam kiranyajaman...@gmail.com wrote: If you have automation knowledge, it shouldn't take much time to learn. First start it and you will know

[wtr-general] Re: Time to learn Watir

2009-07-10 Thread Angrez Singh
I am working with watir for more than 3 years now and still learning. The thing is this: You do and learn , not you learn and then do. Basically, what I would suggest is start using Watir, start automating some pages in your web application, then you will be right person to give the answer to

[wtr-general] Re: Time to learn Watir

2009-07-10 Thread Brautigam Gergely
If you don't have ANY kind of automation or programing knowledge in ruby then it will take a hell of a lot time. :) If not, then it should be intuitive enough. I learned the BASICS in a few days only. But then again, i have 5 years automation knowledge booth web and gui. Skarlso. --- On

[wtr-general] Re: Time to learn Watir

2009-07-10 Thread Prasad Vidala
It is very easy to learn and will definitely not take much time if you keep interest on learning :-) On Fri, Jul 10, 2009 at 12:41 PM, Swapnal swapnal.sa...@gmail.com wrote: I do not have automation knowledge then how much time I will need to learn everything of Watir? Swapnal On Fri, Jul

[wtr-general] Re: Time to learn Watir

2009-07-10 Thread kiran yajamanyam
Personally I feel it wouldn't take much time to learn On Fri, Jul 10, 2009 at 12:43 PM, Prasad Vidala prasadvida...@gmail.comwrote: It is very easy to learn and will definitely not take much time if you keep interest on learning :-) On Fri, Jul 10, 2009 at 12:41 PM, Swapnal

[wtr-general] Re: How to get firefox window handle

2009-07-10 Thread kiran yajamanyam
Any info on this friends? On Fri, Jul 10, 2009 at 11:44 AM, Kinnu kiranyajaman...@gmail.com wrote: Hi Friends, I am using ie.hwnd in watir to get the browser handle. I have observed that there is no such property available in FireWatir. Is there any work around for this? basically what i

[wtr-general] Re: Watir + Cruise Control

2009-07-10 Thread Željko Filipin
Marek, I started playing with Hudson recently. I was able to set it up and call my build script. I am still reading the documentation on how to make it all work nicely. If you have the time to share with us how you set it up to build the app and run tests, that would be very nice. Željko --

[wtr-general] Re: How to get firefox window handle

2009-07-10 Thread Angrez Singh
can you explain what you are trying to do by getting the handle of window? may be we can suggest some workaround to do the same in Firewatir? - Angrez On Fri, Jul 10, 2009 at 1:03 PM, kiran yajamanyam kiranyajaman...@gmail.com wrote: Any info on this friends? On Fri, Jul 10, 2009 at 11:44

[wtr-general] Re: Time to learn Watir

2009-07-10 Thread Željko Filipin
On Fri, Jul 10, 2009 at 8:32 AM, Swap swapnal.sa...@gmail.com wrote: Can you please tell me how much time the learner will need to understand and learn Watir? If you have any programming experience, I think you will be surprised by how much you can do in just a day. I remember that I was able

[wtr-general] Re: How to get firefox window handle

2009-07-10 Thread kiran yajamanyam
Hi Angrez, Thanks for your reply. Following is the step which I want to perform. Want to click on the center point of the firefox window and want to do some copy paste operation. This is required as I can't set text in the frame as body of compose window in my project had used frame. In IE

[wtr-general] Re: How to get firefox window handle

2009-07-10 Thread Angrez Singh
Right now there is no support for hwnd in Firewatir. Can you use Win32API to get the handle of the window using the title? If yes, then you can use firefox title to get the handle. - Angrez On Fri, Jul 10, 2009 at 2:35 PM, kiran yajamanyam kiranyajaman...@gmail.com wrote: Hi Angrez, Thanks

[wtr-general] Re: Time to learn Watir

2009-07-10 Thread Smruti Ranjan Kar
I also started using it since last couple of months. I did have automation knowledge in QTP for 6 months, but then this thing fascinated me more. I am still learning, but I can suggest a start - Install Ruby and learn basics. Practice in irb (brush up your OOP concepts) - Then focus on learning

[wtr-general] Re: Time to learn Watir

2009-07-10 Thread Željko Filipin
On Fri, Jul 10, 2009 at 1:08 PM, Smruti Ranjan Kar smrutiranjan@gmail.com wrote: After a quick start with Ruby basics and Watir, keep learning Ruby side by side. +1 Exactly the way I did it a few years ago. Željko --~--~-~--~~~---~--~~ You received this

[wtr-general] Getting error as - gem_original_require': no such file to load -- Xls (LoadError)

2009-07-10 Thread Durgesh Nadkarni
Hi, I have installed the ruby 1.8.6 and WATIR 1.6.2. I have created a script which fetches the data from excel sheet perform the operations. Then I have kept the following code in a common file inside 'Library' directory which gets data from excel sheet. require

[wtr-general] Re: getting error while running watir script on firefox 3.0.11

2009-07-10 Thread aparna
Hi, After enabling telnet, i have uninstalled the firefox version 3.5 and installed version 3.0. The remaining steps are same like installing JSSH extension(0.9) and changing the firefox settings. Then it started working fine. Regards, Aparna On Jul 10, 11:48 am, Angrez Singh ang...@gmail.com

[wtr-general] Re: getting error while running watir script on firefox 3.0.11

2009-07-10 Thread Angrez Singh
But at no point you said you were using Firefox 3.5, there is separate XPI for that? Its good that it started working. On Fri, Jul 10, 2009 at 6:27 PM, aparna aparna.m...@gmail.com wrote: Hi, After enabling telnet, i have uninstalled the firefox version 3.5 and installed version 3.0. The

[wtr-general] Re: Firefox 3.5 compatible with FireWatir?

2009-07-10 Thread Al B.
Hi Angrez. Thanks for getting back to me. The error console says: Error: Components.classes['@mozilla.org/jssh-server;1'] is undefined Source File:

[wtr-general] Re: Time to learn Watir

2009-07-10 Thread George
I have relatively no programming experience. I started intensely learning Watir/Ruby 7 months ago. While I've come a long way, I know there is so much I don't know about. I would agree that you will need to learn Watir AND Ruby side by side. As a result, I managed to write a lot of automation

[wtr-general] Re: Time to learn Watir

2009-07-10 Thread karim rayani
if one has knowledge of automation then learning watir should only take around 1 month. However if automation/programming background then it can take a fair bit of time On Fri, Jul 10, 2009 at 9:30 PM, Georgegeorge.sand...@gmail.com wrote: I have relatively no programming experience.  I

[wtr-general] Re: Watir + Cruise Control

2009-07-10 Thread Dylan
Thank you for the response. Unfortunately, we are already pretty well entrenched with Cruise Control here and aren't really looking to change to a new system. -Dylan On Jul 9, 5:03 pm, marekj marekj@gmail.com wrote: I use Hudson. has a ruby and rake plugin. I use custom workspace for all

[wtr-general] Re: Time to learn Watir

2009-07-10 Thread Chuck van der Linden
On Jul 10, 9:06 am, karim rayani karim@gmail.com wrote: if one has knowledge of automation then learning watir should only take around 1 month. However if automation/programming background then it can take a fair bit of time I could not agree more. A lot also has to do with aptitude.

[wtr-general] Re: Watir + Cruise Control

2009-07-10 Thread Chuck van der Linden
On Jul 9, 10:58 am, Dylan mej...@gmail.com wrote: Does anyone know of a good tutorial/step-by-step instructions for how to integrate watir/ruby into a cruise control build cycle. I have 1 xml output file (from ci_reporter) and I want my script to run after the build and then integrate the xml

[wtr-general] Re: run all watircraft specs

2009-07-10 Thread karim rayani
i guess using the rake command we can run alll the spec and then the result is stored in and index.html file something like rake specs/spec On Sat, Jul 11, 2009 at 2:03 AM, Steveshaml...@twia.org wrote: The following seems to work: spec xxx.rb yyy.rb zzz.rb -fs -- Regards, Alkarim

[wtr-general] Re: Time to learn Watir

2009-07-10 Thread Darryl (gem dandy) Brown
Hello Swapnal, If you have a curiosity for computers in general and like to learn if you enjoy 'chasing the 'rabbit', you will do well. Prior experience with automation and programming will make the journey shorter - approx. 3 months. No experience - 6 -9 months to be productive. I'm not

[wtr-general] Re: Issue with Select List

2009-07-10 Thread Ravinder Singroha
I agree with you, If this helps, whenever i do a select event on that list using watir, it kinda like hangs the UI and then the select list doesn't performs it normal operation, which was whatever is selected on the list should be displayed in the text box. The text box is a read only so i

[wtr-general] How Watir Works

2009-07-10 Thread Ravinder Singroha
Hi All Is there any document or website which explains how watir works? How watir finds an element using the physical attributes? how watir waits for browser to reach a sync state? is that information available freely somewhere? Thanks regards Ravinder Singroha +91-9717196269