[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

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 macvi...@gmail.com 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.

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 macvi...@gmail.com wrote: irb(main):001:0 safariwatir irb(main):002:0 require safariwatir This should

[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,

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

2010-03-26 Thread Željko Filipin
On Fri, Mar 26, 2010 at 11:07 AM, rajivkumarnandv...@gmail.com 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

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.Top =

[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

[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

Re: [wtr-general] New to Watir

2010-03-26 Thread Željko Filipin
On Fri, Mar 26, 2010 at 8:56 PM, Watir_Beginner rmel...@gmail.com 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 --

[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: