Re: [wtr-general] Created a gem 'watir_helper' for making Automation Testing Simpler and Easier

2010-03-26 Thread Ankur Gera
Hi Željko, Thanks for your precious comments. Well i don't know so much about Watir Simple but through my gem 'watir_helper' following things are easy :- 1.)Pop-up handling is easy because you don't have to write three to four lines of code. 2.)Provided very useful validations used very much in

[wtr-general] Page loaded more than once

2010-03-26 Thread Shlomit Gazit
Is there a way to check if a page is loaded more than once? -- 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 To post: watir-general@googlegroup

Re: [wtr-general] New to Watir

2010-03-26 Thread Željko Filipin
On Fri, Mar 26, 2010 at 8:56 PM, Watir_Beginner wrote: > I am new to Watir tool Welcome! :) Željko -- watir.com - community manager pledgie.com/campaigns/2982 - donate to Watir watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- Before posting, pleas

[wtr-general] Web Page Front End

2010-03-26 Thread jtk
Hello, I am trying to put a web gui in front of my test scripts for execution by other people who have no interest in learning watir. I am running rails for this and am having trouble getting it to launch a web browser. I can create a rails app and run it locally on port 3000, so far I can get tha

[wtr-general] New to Watir

2010-03-26 Thread Watir_Beginner
Hello everyone, I am new to Watir tool, and i just joined this great group, and would like to learn about this tool since I am going to use it in my testing job. I hope to learn from all of you guys. Thanks! Raffi -- Before posting, please read http://watir.com/support. In short: search before

[wtr-general] Re: how to eval var value

2010-03-26 Thread eric
Hey Raj you hijacked someone elses message. On Mar 26, 4:07 am, rajivkumarnandv...@gmail.com wrote: > Hi all , > > hoe can i paas my var value as property in below step. Basically i am   > getting property name from excel sheet in a variable which is dynamically   > change ( I know i can handle th

Re: [wtr-general] Re: How to get the output in '.xls' through WATIR

2010-03-26 Thread rakesh swain
Hi, Try this piece of code, require 'win32ole' excel1 = WIN32OLE.new("excel.application") excel1['Visible'] = TRUE; workbook1 = excel1.Workbooks.Open("c:\\test.xls") # for opening the excel sheet ws=workbook1.Worksheets(1) pic = ws.Pictures.Insert('C:\testpic.JPG') range = ws.Range('f3:f3') pic.To

Re: [wtr-general] how to eval var value

2010-03-26 Thread Željko Filipin
On Fri, Mar 26, 2010 at 11:07 AM, wrote: > d="src" > ie.image(:d, /y2009\/bpjerseys_header\.png/).click > this should be work like this > ie.image(:src, /y2009\/bpjerseys_header\.png/).click d="src" ie.image(d.to_sym, /y2009\/bpjerseys_header\.png/).click but I think this would work too d="src"

[wtr-general] how to eval var value

2010-03-26 Thread rajivkumarnandvani
Hi all , hoe can i paas my var value as property in below step. Basically i am getting property name from excel sheet in a variable which is dynamically change ( I know i can handle this with case statement but i want is any other way to use like eval the variable) d="src" ie.image(:d, /y

Re: [wtr-general] safariwatir also did not work on a mac

2010-03-26 Thread Yuping Zhong
Željko is right. You have to require "rubygems" first. On Fri, Mar 26, 2010 at 5:55 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Thu, Mar 25, 2010 at 7:36 PM, chatur vidur wrote: > > irb(main):001:0> safariwatir > > irb(main):002:0> require safariwatir > > This should not work

Re: [wtr-general] safariwatir also did not work on a mac

2010-03-26 Thread Željko Filipin
On Thu, Mar 25, 2010 at 7:36 PM, chatur vidur wrote: > irb(main):001:0> safariwatir > irb(main):002:0> require safariwatir This should not work. > irb(main):003:0> require "safariwatir" Do you have safariwatir gem installed? Try adding require "rubygems" before require "safariwatir". If yo

Re: [wtr-general] Created a gem 'watir_helper' for making Automation Testing Simpler and Easier

2010-03-26 Thread Željko Filipin
On Thu, Mar 25, 2010 at 12:40 PM, Ankur Gera wrote: > I have created a gem 'watir_helper' for making Automation Testing Simpler and Easier. Hi Ankur, Thanks for letting us know. A long time ago we had something similar, I think it was called Watir Simple, but nobody used it. I personally do no

[wtr-general] Web Page Front End

2010-03-26 Thread jtk
Has anyone ever tried putting a web page in front of their watir scripts for execution? I'm using rails and can't seem to figure out how to get a method inside of my controller that can open a new page. What I want to do is place a button on a page that when clicked by a user opens an internal web