Re: [wtr-general] Re: Writing and running WATIR scripts

2010-11-17 Thread Prajakta Jadhav
Nope. As the page says: The Ruby One-Click Installer comes with a small editor called Scite. Go to Start menu -> Ruby (ur version) -> Scite Scite editor will open. Now when you write your script using this Scite editor and save it, it gets saved as a .rb (i.e. a ruby file) by default. You can righ

[wtr-general] Re: Writing and running WATIR scripts

2010-11-17 Thread Sudeep
Hi Prajakta, Thank you for the reply. The screenshot shows that SCITE edito has been used. Do I need to download SCITE editor?? On Nov 18, 12:07 pm, Prajakta Jadhav wrote: > oops.. wrong link... > this is the correct > one:http://ruby.about.com/od/beginningruby/ss/visualinstal_7.htm > > On Thu,

[wtr-general] Re: Ms Sql reports -changin zoom of page nothing happend

2010-11-17 Thread Danijel
we can hear us on skype in slovenian /croatian skype name: danijel_vukovic On 18 nov., 07:58, Danijel wrote: > This page is not public,sorry. It works as you described. > >  On normal page works fine but on page created from "MS sqL reports" > doest work. If i click on buton which is on page gene

[wtr-general] Javascript pop uo using firewatir

2010-11-17 Thread Amit Kulkarni
Hello all, I am having a application in which user can be created,updated and deleted. On delete action popup is there which onclick it shows a pop up box along with two buttons i.e. Ok and Cancel My scenario is: User should be able to click on "Destroy" link and then click on "OK" in the pop up b

Re: [wtr-general] Writing and running WATIR scripts

2010-11-17 Thread Prajakta Jadhav
oops.. wrong link... this is the correct one: http://ruby.about.com/od/beginningruby/ss/visualinstal_7.htm On Thu, Nov 18, 2010 at 12:37 PM, Prajakta Jadhav wrote: > Find the information here: http://screencast.com/t/k5LGJDT0Dap > > > On Thu, Nov 18, 2010 at 12:28 PM, Sudeep wrote: > >> Hi, >>

Re: [wtr-general] Writing and running WATIR scripts

2010-11-17 Thread Prajakta Jadhav
Find the information here: http://screencast.com/t/k5LGJDT0Dap On Thu, Nov 18, 2010 at 12:28 PM, Sudeep wrote: > Hi, > > I am completely new to WATIR. > I have installed Ruby 1.9.2 and have also installed WATIR by the > command: > > gem install watir > > WATIR has been installed but I donot know

[wtr-general] Writing and running WATIR scripts

2010-11-17 Thread Sudeep
Hi, I am completely new to WATIR. I have installed Ruby 1.9.2 and have also installed WATIR by the command: gem install watir WATIR has been installed but I donot know how to write the WATIR scripts and how to run them. Actually I know the syntax of writing it but do not know where to write and

[wtr-general] Re: Ms Sql reports -changin zoom of page nothing happend

2010-11-17 Thread Danijel
This page is not public,sorry. It works as you described. On normal page works fine but on page created from "MS sqL reports" doest work. If i click on buton which is on page genetated from Ms Sql report i have to use "click!" if i use click, watir doest move to the next line in watir code, it w

Re: [wtr-general] Excel interface class - does excel actually need to be installed

2010-11-17 Thread Charley Baker
My guess would be yes. :) I tend to stay away from Excel, since it's useless for diffing, either locally or I'm hoping you check it into a source code control system. Also, not cross platform and you may be running into the other other challenge - running it on CI systems. 4k VMs, many running l

[wtr-general] Excel interface class - does excel actually need to be installed

2010-11-17 Thread Dan
Hello! This may be a silly question, but does excel actually need to be installed on the machine to be able to read from an excel file with the Excel interface class? Chances are the machines that will be running my scripts won't have Excel installed. -- Before posting, please read http://watir

Re: [wtr-general] Re: Call to Arms :)

2010-11-17 Thread Charley Baker
I went through a couple of iterations of frameworks over the years with the result of lessons learned being designed into Taza. With over 70 testers adding code, I definitely experienced the pain of maintainability which Taza, and other practices were finally able to solve, so I feel your pain. :)

Re: [wtr-general] How to configure rake task to run my tests on IE and firefox without specifying in the test code itself

2010-11-17 Thread Gazi syed
Thanks for this. How can I specify in rake task to run my test both in IE and Firefox. I mean how can I loop through in rake task please? thnaks, Gazi On 15 November 2010 16:08, Jari Bakken wrote: > Simple solution - use an environment variable: > > browser = Watir::Browser.new((ENV['BROWSER']

Re: [wtr-general] Re: Ms Sql reports -changin zoom of page nothing happend

2010-11-17 Thread Željko Filipin
2010/11/17 Danijel > $ie.select_list(:id, > "ctl00_ContentMain_ReportViewer1_ctl01_ctl03_ctl00").set(zoom) >puts "stisnuo" >$ie.select_list(:id, > "ctl00_ContentMain_ReportViewer1_ctl01_ctl03_ctl00").fire_event('onchange') > > and naver came to line : puts "stisnuo"

[wtr-general] Re: Watir doesn't wait for redirect to complete on IE6

2010-11-17 Thread Jarmo Pertman
Anyone up to cleaning that page by removing all those complex examples and using new examples with Watir::Wait and Watir::ElementExtensions, eg: Watir::Element#when_present Watir::Wait#until, #while and so on https://github.com/bret/watir/blob/master/commonwatir/lib/watir/wait.rb https://github.c

[wtr-general] Unable to run my watir tests on hudson

2010-11-17 Thread Gazi
Hi, I have run my cucumber watir tests using wrbdriver locally fine. We are having our hudson server on linux machine. I have created a a new job in hudson to run my tests with a rake task. My hudson having a slave called dev-01 which is a linux as well. When I run my tests on hudson, I am getting

[wtr-general] Re: Ms Sql reports -changin zoom of page nothing happend

2010-11-17 Thread Danijel
Thanks for help Željko, but i did not help when first value is selected, page is automaticali zoomed on 10%, $ie.select_list(:id, "ctl00_ContentMain_ReportViewer1_ctl01_ctl03_ctl00").set(zoom) puts "stisnuo" $ie.select_list(:id, "ctl00_ContentMain_ReportViewer1_ctl0

Re: [wtr-general] Re: Watir doesn't wait for redirect to complete on IE6

2010-11-17 Thread Željko Filipin
On Tue, Nov 16, 2010 at 6:50 PM, dimovich wrote: > A reboot fixed it Reboot is your friend. :) (Especially on Windows.) Well, that is out of scope of Watir project, it just drives the browser and assumes it is functional. Željko -- Before posting, please read http://watir.com/support. In shor