Pick pop-up text and oracle DB connectivity issue

Discussion in 'Ruby' started by Dheeraj Gambhir, Jul 22, 2009.

  1. 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 that pop-up message text.

    Is it possible?

    Second Problem: Oracle/Ruby connectivity

    I am using: Ruby 1.8.6 26
    Watir 1.4.1
    Windows XP
    Auto it V3
    ruby-oci8-1.0.6-x86-mswin32-60.gem

    My code is:

    require 'oci8'
    OCI8.new("mlbread", "mlbread", "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 = 172.16.100.110)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SID = mlbd)
    (SERVER = DEDICATED)
    )
    )

    Here i am getting:
    c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:52:in `init': OCI Library
    Initialization
    Error (OCIError)
    from c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:52

    Really tired of searching a solution for both :(
    Please help me out.

    Regards
    Dheeraj Gambhir
    --
    Posted via http://www.ruby-forum.com/.
    Dheeraj Gambhir, Jul 22, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    435
    Ken Larson
    Jan 24, 2004
  2. tom c
    Replies:
    5
    Views:
    385
    tom c
    Nov 1, 2006
  3. Saquib
    Replies:
    1
    Views:
    416
    Michael Nemtsev [MVP]
    Jan 31, 2008
  4. Prasanth
    Replies:
    1
    Views:
    479
    Francesco S. Carta
    Aug 9, 2010
  5. Feyruz
    Replies:
    4
    Views:
    2,133
    Sherm Pendley
    Oct 14, 2005
Loading...

Share This Page