Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Pick pop-up text and oracle DB connectivity issue

Reply
Thread Tools

Pick pop-up text and oracle DB connectivity issue

 
 
Dheeraj Gambhir
Guest
Posts: n/a
 
      07-22-2009
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/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Oracle connectivity Issue with .Net Saquib ASP .Net 1 01-31-2008 11:27 AM
When to pick quad core and when to pick dual core thingy NZ Computing 6 11-21-2006 07:08 AM
When to pick ASP.Net, when to pick desktop? tom c ASP .Net 5 11-01-2006 06:15 PM
install_driver(Oracle) failed: Can't load 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle: load_file:The specified procedure could not be found at C:/Perl/lib/DynaLoader.pm line 230. Feyruz Perl Misc 4 10-14-2005 06:47 PM
ACS 3.2 and Oracle 9i connectivity issue Rez Cisco 0 09-25-2004 10:25 AM



Advertisments