[wtr-general] Re: free ware test tool based on Watir ??

2010-09-23 Thread Chuck van der Linden
Without knowing more about how you express and manage tests it's hard to make specific recommendations. For teams that are using BDD (Behavior Driven Development, think of it as the next generation of TDD) the Cucumber tool works well to execute the BDD plain language stories, and the steps for th

Re: [wtr-general] Attach method not working with Watir-WebDriver

2010-09-23 Thread Jari Bakken
On Thu, Sep 23, 2010 at 3:30 PM, Usman Hussain wrote: > Hi Guys im trying to access a pop up within firefox and i thought id > try the Attach method. > > Does anyone know if this is packaged in watir-webdriver? > > the error im getting when runningmy script is: >     undefined method `attach' for

[wtr-general] Attach method not working with Watir-WebDriver

2010-09-23 Thread Usman Hussain
Hi Guys im trying to access a pop up within firefox and i thought id try the Attach method. Does anyone know if this is packaged in watir-webdriver? the error im getting when runningmy script is: undefined method `attach' for Watir::Browser:Class (NoMethodError) any helpp would be much appr

[wtr-general] Re: onclick event fire event method is not working in firefox

2010-09-23 Thread Rajiv Nanduani
still i m facing this problem and it is not posted in group is something wrong to me ?? On Tue, Sep 21, 2010 at 3:03 AM, Rajiv Nanduani < rajivkumarnandv...@gmail.com> wrote: > Hi All, > > I am facing problem for onclick event fire event method it is not working > in firefox(3.5.6) while fine in

Re: [wtr-general] Re: Get Xpath of Element

2010-09-23 Thread Angrez Singh
For IE: You can use Internet Explorer Developer tool, its inbuilt in Internet Explorer 8. You can launch it by opening IE and then pressing F12 For Firefox: Firebug : https://addons.mozilla.org/en-US/firefox/addon/1843/ XPather : http://xpath.alephzarro.com/ Thanks, Angrez On Thu, Sep 23, 2010 a

Re: [wtr-general] Script runs well in irb, but not when i run it using as a whole

2010-09-23 Thread Željko Filipin
On Thu, Sep 23, 2010 at 1:53 PM, Hrishikesh Bose wrote: > wait_until didn't worked. it throws the following error > ANS Automation.rb:6: undefined method `wait_until' for main:Object (NoMethodError) > Do i have to include any other library other than watir and rubygem I am not sure, maybe somebod

Re: [wtr-general] Script runs well in irb, but not when i run it using as a whole

2010-09-23 Thread Hrishikesh Bose
The wait command worked. Thanks :) wait_until didn't worked. it throws the following error ANS Automation.rb:6: undefined method `wait_until' for main:Object (NoMethodError) Do i have to include any other library other than watir and rubygem On Thu, Sep 23, 2010 at 4:01 PM, Željko Filipin < zelj

Re: [wtr-general] Script runs well in irb, but not when i run it using as a whole

2010-09-23 Thread Željko Filipin
On Thu, Sep 23, 2010 at 12:18 PM, Hrishikesh Bose wrote: > require "Watir" Change this to require "watir" (watir instead of Watir), just in case. > ie.frame(:src,"./app").text_field(:id,"c_nameFieldId").set "admin" > Unable to locate element, using :id, "c_nameFieldId" Since it works in IRB but

RE: [wtr-general] Script runs well in irb, but not when i run it using as a whole

2010-09-23 Thread Rahul Shetty
Hey Hrishikesh, Try inserting a delay after the ie.goto step. Simplest one is use the command "sleep ". E.g. sleep 5 (The code will wait for 5 secs before executing the next step). Although, note this is not the best solution. Regards, Rahul From: watir-general@googlegroups.com [mailt

[wtr-general] Script runs well in irb, but not when i run it using as a whole

2010-09-23 Thread Hrishikesh Bose
hello friends. i have a unique problem facing in my automation script. First let me give you a brief abt the app its a login page implemented in frames, So the whole implementation if you see in the iedeveloper tool bar will be [-]HTML [+] [+] now all the page content is inside this frame

[wtr-general] Re: Get Xpath of Element

2010-09-23 Thread Danijel
my probelm is tajt this element : "Broj dokumenta" CT-1212 table can be fond on different divs div[1], div[2], or div[3], depends on messages which are showen in divs. When i found "Broj dokumenta " by xpath "\\table\tr\td", i need to locate xpat path to identify va

Re: [wtr-general] Get Xpath of Element

2010-09-23 Thread Željko Filipin
On Wed, Sep 22, 2010 at 12:40 PM, Danijel wrote: > I'm searching for elements for specified text. When i found this text- > element i should get Xpath of this element to locate anoher element > filled with Document Id . > Is any possibility xpath of element? I am not sure I understand the problem

[wtr-general] Re: Clicking a Button using Autoit Not working

2010-09-23 Thread Usman Hussain
Also te properties shown above are for the text on the button (the OK button) here are the properties for the whole button... its less information that the one above but it might help you guys help me solve this~ button properties: AutomationElement General Accessibility AccessKey: ""

[wtr-general] Clicking a Button using Autoit Not working

2010-09-23 Thread Usman Hussain
Hi Guys, Im having trouble trying to hit a button at the moment using Autoit. The main problem is, if you were to tab around the screen you can never get focus on it. The pop up is in a firefox window, so its more like a browser pop up with window (hence why im using autoit) characteristics. Im

[wtr-general] free ware test tool based on Watir ??

2010-09-23 Thread Sharma Vishav
Hello Every one, Is there any free ware/ open source tools available which is built over Watir, rather than building your own tool based on Watir. I am looking for a tool which has method to write test scripts,provision to execute test scripts, and result reporting mechanism built in rather than

[wtr-general] Re: Pop up issue

2010-09-23 Thread sivam
Thanks Super Kevy On Sep 22, 6:36 pm, Super Kevy wrote: > You may consider using  a thread.  Basically in the sample the thread > is started.  The button is clicked, the popup occurs... the thread > def > is completed and killed... > > See > thread:http://groups.google.com/group/watir-general/br

[wtr-general] Re: Pop up issue

2010-09-23 Thread sivam
Thanks Rajiv -- 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@googlegroups.com To unsubscribe: watir-general+unsubscr...