[wtr-general] how to select from a Dojo Select Widget

2009-04-24 Thread pallavi shashidhar
Hi there, I have a Dojo select widget with the HTML like; and when i type in something (say letter "T"), i should be able to select from the list that appears like this T MATHI T BABU If i have to select the first or the second option, How should i be doing it in watir? I have tried firin

[wtr-general] Re: how to select from a Dojo Select Widget

2009-04-27 Thread pallavi shashidhar
ass,"dojoComboBox").fire_event('onkeyup') browser2.image(:class,"dojoComboBox").fire_event('onmouseup') browser2.div(:text,/T MATHI/).click browser2.text_field(:class,"dojoComboBox").fire_event('onfocus') It also involves firing the correct

[wtr-general] Accessing Modal dialogs

2009-05-05 Thread pallavi shashidhar
Hi there, I have a part of the HTML code which looks like this : Expenditure Type* Choose Purchase Works Bill Type* Choose Running Bill Final Bill WO/PO Number Contractor/Supplier The function call is function callGenericScreenSchedule(obj) { var categoryname1="WPNpurch

[wtr-general] Re: Watir + Cruise Control

2009-07-12 Thread pallavi shashidhar
Hi there, We have used cruise control to run our test suites. We have structured our test scripts with certain conventions. 1) We have an ERP suite which has different watir scripts for different projects. each set is developed and maintained by different testers. 2) All of us follow this. - we h

[wtr-general] Re: customize xml generated by ci_reports

2009-07-23 Thread pallavi shashidhar
Hi there, Am using Ci_reporter (not the one you have mentioned. The original one.) I have an ERP suite which has watir scripts of various projects under it: This is the structure: ERP - stores - works - payroll - financials When i run them as a suite all the testcases are run a

[wtr-general] Re: customize xml generated by ci_reports

2009-07-24 Thread pallavi shashidhar
Hi there, I have replaced the test_suite.rb with the new one and have done a - require 'ci/reporter/test_suite' here's the code require 'watir' require 'ci/reporter/test_suite.rb' class TC_TEST_suite < Test::Unit::TestCase def test_a_search test_site = "http://www.google.com";

[wtr-general] Re: customize xml generated by ci_reports

2009-07-24 Thread pallavi shashidhar
Hi Tony, I think i used the previous code in http://pastie.org/554062 instead of http://pastie.org/554831 It is now working fine for me. Thanx for all your replies. Regards, Pallavi On Fri, Jul 24, 2009 at 3:28 PM, Tony wrote: > > Hi Pallavi, > > When using your modified file, you dont need t

[wtr-general] JSSH problem on Windows server 2003

2009-07-30 Thread pallavi shashidhar
Hi There, I have the foll: installed - Ruby 1.8.6, watir 1.6.2 , firefox 3.012 OS: - Microsoft Windows Server 2003 R2 (32 bit) Jssh - 0.9 installed along with Redistributed package for VS 2005 SP1 Steps - followed all the steps mentioned at step 3 on http://wiki.openqa.org/display/WTR/FireWatir+In

[wtr-general] Re: JSSH problem on Windows server 2003

2009-08-03 Thread pallavi shashidhar
version is 3.0.12) Regards, Pallavi On Fri, Jul 31, 2009 at 12:52 PM, Angrez Singh wrote: > Did you installed it using Admin rights? That might only be the issue, > though didn't tried it on Windows Server 2003. > > Thanks, > Angrez > > > On Thu, Jul 30, 2009 a

[wtr-general] Re: JSSH problem on Windows server 2003

2009-08-03 Thread pallavi shashidhar
Line: 133 On Tue, Aug 4, 2009 at 12:25 PM, Angrez Singh wrote: > Can you check event logs or error console of Firefox? > > On Tue, Aug 4, 2009 at 10:51 AM, pallavi shashidhar > wrote: > >> Hi, >> I have logged in as Administrator and then clicked the link for for &g

[wtr-general] Re: JSSH problem on Windows server 2003

2009-08-04 Thread pallavi shashidhar
t; > On Tue, Aug 4, 2009 at 12:29 PM, pallavi shashidhar > wrote: > >> The error console says; >> Error: Components.classes['@mozilla.org/jssh-server;1'] is undefined >> Source File: >> file:///C:/Documents%20and%20Settings/Administrator/A

[wtr-general] Ci_reporter on watircraft

2009-09-08 Thread pallavi shashidhar
Hi there, I am looking at using Ci_reporter in watircraft framework. Has anyone tried to use it. ? We use cucumber on watircraft and has a set of features that needs to be run and publish results. Basically i have to publish the watircraft results on CI server which understands the xml format which

[wtr-general] Re: Ci_reporter on watircraft

2009-09-10 Thread pallavi shashidhar
ee/master I'm not using > > ci_reporter any longer, just straight html output for cuke and rspec, but > > the general idea is to set it up in your rake file with the appropriate > > requires; there's info in the readme on that github repo. > > > > According

[wtr-general] Open and close Browser repeatedly leads to ie hanging

2009-10-16 Thread pallavi shashidhar
Hi There, We have a couple of watir scripts that are run as regression suite on a CI server (cruise control). Have installed Ruby 1.8.6.26 and watir 1.6 with IE7. System specification ; windows server 2003 edition, 500gb, 4gb RAM All the scripts are made independent and hence we have a start_brows

[wtr-general] Autocomplete with send Keys does not work when not logged in

2009-10-20 Thread pallavi shashidhar
Hi there, I have installed Ruby 1.8.6 and watir 1.6.2, IE7 We have an autocomplete field with fire events and have managed to automate this with send keys (this was the only solution which worked for us) The script is run on cruise control (run as a .bat not as a service), schedued every 12 hours.

[wtr-general] Running Test::Unit in background gives invalid option: -b

2009-11-27 Thread pallavi shashidhar
Hi, Watir environment - Watir 1.6.5, Ruby 1.8.6.26. I have 2 scripts. 1) simple watir script without using Test::Unit framework 2) and another using Test::Unit framework. Am trying to run them in background with command line option -b The simple script without Test::Unit runs successfully in the

Re: [wtr-general] Killing a process

2010-02-05 Thread pallavi shashidhar
You are getting this error since you are trying to kill a thread which has not started. Try checking the path where clicker.rb is. The clicker.rb should be in the same place as the testcase. On Fri, Feb 5, 2010 at 3:28 AM, Shlomit Gazit wrote: > For handling popups I am doing the following: > >

Re: [wtr-general] Re: Grrr! click_no_wait does not work :-(

2010-04-12 Thread pallavi shashidhar
Hi, There is an issue with click_no_wait in 1.6.5 . Pls read this http://jira.openqa.org/browse/WTR-320 Try adding the patch to page_container.rb This fix should get your click_no_wait working. Regards, Pallavi On Tue, Apr 13, 2010 at 3:23 AM, Rats wrote: > On Apr 13, 9:11 am, Ethan wrote: > >

[wtr-general] Any one running scripts with success using Ruby1.8.7, firewatir1.6.5 using roo1.9.1 on LINUX?

2010-05-21 Thread pallavi shashidhar
Hi There, Has anyone been able to successfully run scripts using : Ruby 1.8.7 and firewatir 1.6.5 on linux 9.04 using roo1.9.1? I am unable to fetch data from openoffice as am hitting the unescapeHTML bug in cgi. Its mentioned here: http://redmine.ruby-lang.org/issues/show/2130 Here is my test sc

Re: [wtr-general] Re: Watir 1.6.5 tests on IE8 - very slow execution

2011-04-28 Thread pallavi shashidhar
I have installed watir 1.8 again. I am having problems with clicking links which was working fine earlier. I have to click a particular link and it redirects to the next page. the HTML part of it looks like this: Financial Reports Rebate and Other Fee Re

[wtr-general] no such file to load -- watir (LoadError)

2008-12-08 Thread pallavi shashidhar
Hi there, I have installed Ruby 1.8.6-26 and did a gem update --system and then installed a local watir gem . I installed watir using "gem install watir -dir /watir1.5.6" When i try to run the scripts, i get the following error: "C:/Ruby1.8.6-26/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.r

[wtr-general] Re: no such file to load -- watir (LoadError)

2008-12-08 Thread pallavi shashidhar
I get the same problem even after require 'rubygems' error is at the line where i have require 'watir' On Tue, Dec 9, 2008 at 1:59 AM, anna barbara ostrowska < [EMAIL PROTECTED]> wrote: > Hi there! > Add to script require 'rubygems', I had the same pro

[wtr-general] Re: no such file to load -- watir (LoadError)

2008-12-09 Thread pallavi shashidhar
byforge.org/ does not appear to be a repository > ERROR: could not find gem watir locally or in a repository > > > Parul > > > > On Tue, Dec 9, 2008 at 12:17 PM, pallavi shashidhar <[EMAIL PROTECTED] > > wrote: > >> I get the same problem even after

[wtr-general] Load Error while running feature in cucumber (watir/cucumber)

2009-04-01 Thread pallavi shashidhar
Hi, I have ruby 1.8.6 and watir 1.6.2 installed in my system . I have installed cucumber 0.2 and have watir scripts in feature/steps when i try to run the feature, i constantly get the following error c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such