I am automating ssl certified site.(https) whenever i goto the login
page it throws me a security alert popup, i am not able to close that
popup using watir. how can i control that , can you please help me,
right now i am using
watir1.6.2
ruby 1.8.6 -26
Thanks in advance :)
--~--~-~--~--
j' in the password text field"
ie.text_field(:name, "password").set("dheeraj")
puts " Action: entered dheeraj in the password field"
puts " "
puts "Step 4: click the 'Login' button"
ie.button(:value, "Login").
e_scoreboard&wfClub=cle')
It is not clicking"Yes" button of security alert pop-up.
Please help me out.
Regards
D G
On Jul 20, 3:58 pm, Dheeraj Gambhir
wrote:
> It is not working yet, i have tried all the given below methods in
> code:
>
m finalcount.rb:48
Regards
Dheeraj Gambhir
On Mon, Jul 20, 2009 at 9:42 PM, Tony wrote:
>
> Hi Dheeraj,
>
> Modified http://wiki.openqa.org/display/WTR/Security+Alerts to handle
> these popups.
> Note: you would have to change the code in ie_class.rb files for this.
> No cha
I've been using Google Talk and thought you might like to try it out.
We can use it to call each other for free over the internet. Here's an
invitation to download Google Talk. Give it a try!
-------
Dheeraj Gambhir wan
run into any other issues.
>
> Thanks,
> Tony
>
> On Jul 21, 9:51 am, Dheeraj Gambhir
> wrote:
> > Hi,
> >
> > I tried my code by replacing goto, wait in in
> > C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir\ie-class.rb file
> with
> > the cod
Is there any command to get text from web page like my requirement is to get
order-no from thank you page.
Regards
D G
On Tue, Jul 21, 2009 at 12:32 PM, Dheeraj Gambhir <
checktestingthi...@gmail.com> wrote:
> Thanks a lot dude, u rock
> Its working perfectly fine.
>
> Rega
Hi,
My requirement is to pick order-no from the Thank you page and on that
page it goes like "Your Order-No is :
And i want to pick this "random-order-no" and store it in any file.
HTML code for that is:
Hi All,
I have tried my level best to connect to oracle using ruby but all in
vain.
Can any one provide concrete steps to follow to do that.
Please list down what all we require for this.
Thanks in advance.
Regards
Dheeraj Gambhir
--~--~-~--~~~---~--~~
You
n Jul 21, 6:25 pm, Ivan Kabluchkov wrote:
> Installhttp://rubyforge.org/projects/ruby-oci8/
>
> And example of code:
>
> require 'oci8'
>
> connection = OCI8.new(, , )
> sql = 'select * from table'
>
> connection.exec(sql) do |row|
> puts row
from oraclecon.rb:7
I re-install ruby-oci8-1.0.6-mswin32 because earlier i was getting
oci.dll missing error.
Regards
Dheeraj Gambhir
On Jul 21, 6:45 pm, Felipe Knorr Kuhn wrote:
> Did you download and install the Instant Client as described in the guide?
>
> "Download at least
.rb:52:in `init': OCI Library
Initialization
Error (OCIError)
from c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:52
Regards
D G
On Jul 21, 6:55 pm, Dheeraj Gambhir
wrote:
> I am using oracle client from past 2 years, so do i need to re-
> install?. I don't think so.
>
> Now
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 on cmd to check whether i am able to connect
to the Oracle
database server or not:
ruby -r oci8 -e "OCI8.new('mlbread', 'mlbread', 'MLBD').exec('select *
from bam_order.ec_
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
dat
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:\testwatir>ruby testcon.rb
> c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:5
ire 'oci8'
> OCI8.new("UserName","Password","*SOMENAME*").exec(some query...)
>
> Let me know if you face any issues.
>
> Srinivas.
>
>
> On Wed, Jul 22, 2009 at 3:15 PM, Dheeraj Gambhir <
> checktestingthi...@gmail.com> wrot
bramanian <
winningsau...@gmail.com> wrote:
> 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..
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 wrote:
> Hi Siva,
>
> Not possible to get thepopu
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.
Regar
in short seem to have a preference for
> using others brains instead of their own, then you may find yourself
> largely ignored, or at most referred to existing threads or materials
> on the subject.
>
> On Jul 22, 6:40 am, Dheeraj Gambhir
> wrote:
>
> > FYI,
>
>
uot;
> end
>
> # Wait for the popup
> loop do
> sleep(5)
> @text = @autoit.ControlGetText(@windowCaption, "", "Static2")
> if (@text != nil)
> @text = converte(@text)
> puts "[INFO " + Time.now.strftime("
w.strftime("%H:%M:%S") + "] Text found: " +
@text
end
if (@text == txtWindow)
puts "[INFO " + Time.now.strftime("%H:%M:%S") + "] Clicking button -
" + txtWindow
@autoit.ControlClick(@windowCaption,'', txtButton)
b
ny body has any rational solution of it.
Thanks
D G
On Jul 31, 9:28 pm, Felipe Knorr Kuhn wrote:
> Hello,
>
> I forgot the following include
>
> require 'win32/registry'
>
> FK
>
> On Fri, Jul 31, 2009 at 8:06 AM, Dheeraj Gambhir <
>
> checktestingthi.
c_id=mlb'
ie.goto(test_site)
ie.radio(:id, 'select_register').set
ie.text_field(:id, "register_email").set("ver...@mailinator.com")
ie.button(:id, 'submit_btn').click_no_wait
txt = ie.clickprompt() #this clicks the ok button and returns
puts txt
Hi Pallavi,
Following is the snippet for pop-up which is working fine for me:
$ie.goto($test_site)
$ie.text_field(:id, "login_email").set("totestwa...@mailinator.com")
$ie.button(:id, 'submit_btn').click_no_wait
sleep 10
txt1 = $ie.clickprompt()
#this clicks the ok button and return
25 matches
Mail list logo