Pick pop-up text and oracle DB connectivity issue

D

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 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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top