[wtr-general] Re: Ruby/Oracle connectivity

2009-07-22 Thread Dheeraj Gambhir
Guys, I am putting this thing again and again, so you can guess that i need it badly.So, Please help me if you can. I am using: Ruby 1.8.6 Oracle 9i Windows XP and i am done with ruby ruby-oci8-0[1].1.13-mswin.rb But when i run this code to check whether i am able to connect to the Oracle

[wtr-general] Re: Ruby/Oracle connectivity

2009-07-22 Thread Tony
Hi Dheeraj, Had never connected to oracle db. Did the below and was able to connect to the db. 1. Downloaded ruby-oci from http://rubyforge.org/frs/download.php/56929/ruby-oci8-1.0.6-x86-mswin32-60.gem. This downloads as tar file. 2. Renamed the file from ruby-oci8-1.0.6-x86-mswin32-60.gem.tar

[wtr-general] Re: Not Able to use the playback Option Present in watirrecorder++

2009-07-22 Thread Željko Filipin
On Tue, Jul 21, 2009 at 7:13 PM, Saket sktmis...@gmail.com wrote: I recorded one script using Watir Recorder++. You will find that people on this list do not like recorders. Watir Recorder is separate project with it's own site and forum: http://watir-recorder.openqa.org/

[wtr-general] Re: Problem while working with WET WATIR IE 7

2009-07-22 Thread Željko Filipin
On Tue, Jul 21, 2009 at 3:37 PM, Monali Patil monali.pa...@sqs-india.com wrote: I am working on Automation Project where I am using Open Source tool ‘Wet Watir’ for test automation. This is their site: http://wet.qantom.org/ I think it is not in active development. Last update was in 2007.

[wtr-general] Re: Ruby/Oracle connectivity

2009-07-22 Thread Željko Filipin
On Wed, Jul 22, 2009 at 12:02 AM, Jared Quinert ja...@kilmore.info wrote: Is there a need for a ruby-testing group? If you create one, I will join it. Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed

[wtr-general] Re: Ruby/Oracle connectivity

2009-07-22 Thread Dheeraj Gambhir
Any help/solution? On Wed, Jul 22, 2009 at 1:18 PM, Dheeraj Gambhir checktestingthi...@gmail.com wrote: Hi Tony, I tried one again that u mentioned here but i am still getting : C:\testwatirruby testcon.rb c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:52:in `init': OCI Library Initialization

[wtr-general] Watir support java applets

2009-07-22 Thread khaja shaik
Hi All, Can anybody tell me is watir supports java aaplets? Is it will support in future? any work going on Thanks Khaja shariff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this

[wtr-general] Re: Watir support java applets

2009-07-22 Thread Željko Filipin
On Wed, Jul 22, 2009 at 12:37 PM, khaja shaik khaja.sh...@gmail.com wrote: Can anybody tell me is watir supports java aaplets? http://wiki.openqa.org/display/WTR/Introduction Watir will not work with ... Java Applets Željko -- http://watirpodcast.com/

[wtr-general] Re: Ruby/Oracle connectivity

2009-07-22 Thread srinivas subramanian
Hi Dheeraj, Check the entry in your tnsnames.ora file. It should be something like this : *SOMENAME* = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = someIP)(PORT = somePORT)) ) (CONNECT_DATA = (SERVICE_NAME = someDBName) ) ) Now, just enter the

[wtr-general] Re: Ruby/Oracle connectivity

2009-07-22 Thread Dheeraj Gambhir
Sir, My code is: require 'oci8' OCI8.new('mlbread', 'mlbread', '172.16.100.110:1521/Test').exec('select * from bam_order.ec_invoice where order_id = 139920') do |r| puts r.join(',') end My TNS Entry is: Test = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST =

[wtr-general] Re: Ruby/Oracle connectivity

2009-07-22 Thread srinivas subramanian
Hi, Try the following : require 'oci8' OCI8.new(mlbread, mlbread, Test).exec('select * from bam_order.ec_invoice where order_id = 139920') do |r| puts r.join(',') end Srinivas On Wed, Jul 22, 2009 at 4:21 PM, Dheeraj Gambhir checktestingthi...@gmail.com wrote: Sir, My code is: require

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

2009-07-22 Thread Tony
Hi Dylan, nice idea .. adding the passed attribute to the test tag :) I made a few changes to the code, removed the global variable that you were using to check if passed is true or not. I try to avoid global variables. Also made the change because the passed attribute would have to be updated

[wtr-general] Re: Ruby/Oracle connectivity

2009-07-22 Thread srinivas subramanian
Hi Dhiraj, As per your previous mail, you are having an older version of oci8 i.e 1.0.6.Pls upgrade it to 2.0.2 try. Srinivas On Wed, Jul 22, 2009 at 5:31 PM, Dheeraj Gambhir checktestingthi...@gmail.com wrote: Attached is the screen shot, where it shows that ruby-oci8-1.0.6-mswin32 is

[wtr-general] Re: Ruby/Oracle connectivity

2009-07-22 Thread Dheeraj Gambhir
I have upgraded to 2.0.2 by using http://rubyforge.org/frs/download.php/56929/ruby-*oci8*-1.0.6-x86-mswin...http://rubyforge.org/frs/download.php/56929/ruby-oci8-1.0.6-x86-mswin32-60.gem. and then: C:\rubygem install ruby-oci8-2.0.2-x86-mswin32-60.gem Successfully installed

[wtr-general] Re: Find the parent window of a javascript prompt

2009-07-22 Thread Dheeraj Gambhir
Hi Tony, How is it possible to get text of the pop-up through dialog box dom. My requirement is to pick text from pop-up which appears when user submits the login form without entering or with invalid data. Regards D G On Jul 20, 2:04 pm, Tony ynot...@gmail.com wrote: Hi Siva, Not possible

[wtr-general] Re: Ruby/Oracle connectivity

2009-07-22 Thread srinivas subramanian
Well, in that case, i'm not sure why its not working for you. Because for me it works perfectly fine. Srinivas On Wed, Jul 22, 2009 at 5:53 PM, Dheeraj Gambhir checktestingthi...@gmail.com wrote: I have upgraded to 2.0.2 by using

[wtr-general] Pick pop-up text and oracle DB connectivity issue

2009-07-22 Thread Dheeraj Gambhir
Guys, I want it badly, so please help me out if there is any scope. First Problem: On Login page, when we submit the form without entering confirm password value, it gives pop-up message i.e Confirm Password- Entry Required., same is the case with other validations. My requirement is to pick

[wtr-general] Re: Pick pop-up text and oracle DB connectivity issue

2009-07-22 Thread Chuck van der Linden
Firstly, please do not ask two questions that are not related in a single thread. This is no different than asking a new unrelated question in an existing thread. it makes things much too confusing for everyone, and harder for anyone coming here and searching for answers to find what they need.

[wtr-general] Re: Watir support java applets

2009-07-22 Thread Chuck van der Linden
Watir drives the browser. there are little if any plans for anything outside that scope. If your stuff has a browser UI then likely Watir can be used to automate it. if it's running outside of a browser, then Watir is not the tool you seek. On Jul 22, 3:37 am, khaja shaik

[wtr-general] Re: Ruby/Oracle connectivity

2009-07-22 Thread Chuck van der Linden
You probably need to take this to one of the more mainstream ruby discussion lists. This is really outside the scope of Watir since it's really more of a general ruby language question, and also we seem to have reached the limits of the folks here who are familiar with this since they have told

[wtr-general] Issues with the P element

2009-07-22 Thread Tristan Goffman
Hi, I've been using Watir:IE and what I'm trying to do is write text, innerHTML into a p tagged item within an iframe.. I've tried several different methods of doing this and I can't seem to be able to get it done. The ole_element is nil, and as a last attempt I tried to run straight javascript

[wtr-general] accessing modal dialog in 'silent' mode execution with '-b' flag for ruby via Windows batch file

2009-07-22 Thread Venkat
Hi, I have been successful in accessing the modal dialog contents via the Watir::IE's modal_dialog method. However, when I try to run my script by calling ruby via command line with the argument '-b' to run the Watir script in 'quiet' mode (without launching the IE browser), the test script fails

[wtr-general] Re: Firefox 3.5 compatible with FireWatir?

2009-07-22 Thread Lonny Eachus
There have been no replies to the above. Does anybody know if this works? Does anyone have a workable XPI for OS X? On Jul 6, 4:23 am, Angrez Singh ang...@gmail.com wrote: First you need to do make xpi in the [build directory]/extensions/jssh directory. This will create xpi in the following

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

2009-07-22 Thread Marlon Mojares
Hi, I'm still encountering no such file to load -- ClassAttr (LoadError) where should I put the file ClassAttr.rb? I put it inside ci_reporter\lib\ci\reporter but the script was unable to find the file. This is my test script: require 'watir' require 'ci/reporter/rake/test_unit_loader.rb'

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

2009-07-22 Thread Dylan
I just removed the require 'ClassAttr.rb' line and copy-pasted the ClassAttr code into the top of Tony's modified reporter file. -Dylan On Jul 22, 8:11 pm, Marlon Mojares marlonmoja...@gmail.com wrote: Hi, I'm still encountering no such file to load -- ClassAttr (LoadError) where should I put

[wtr-general] Re: Watir support java applets

2009-07-22 Thread Rohan Ojha
Hi All, This is the point that even I have a few doubts about. The application that I am working on contains Java applets but those are only as a replacement for select list.There is two of them and we use it to move the content from left to right. However the code and the content of

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

2009-07-22 Thread Marlon Mojares
after doing that i now i have this error: c:/ruby/lib/ruby/gems/1.8/gems/ci_reporter-1.6.0/lib/ci/reporter/test_unit.rb:97:in `start_suite': uninitialized constant CI::Reporter::TestUnit::TestSuite (NameError) thanks --~--~-~--~~~---~--~~ You received this