Display results as :

Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx



View previous topic View next topic Go down


Post by mrityunjay.chauhan on Fri Mar 30, 2012 8:52 pm

Hi Guys,

Need some help from you all.

I am trying to user browserbot to get control of windows DOM object model.

When I am working with IDE, things are working fine. However when I am saving the same on ruby script, on executing it is giving me error as:
Failed assertion, no message given.

Let me quote the Part of the code made through the IDE here:
getEval | this.browserbot.getUserWindow().concatStrings("Selenium","IDE")
verifyAlert | SeleniumIDE

And below is the part of Script when I export the above code in Ruby (Test:: Unit)

assert_equal "SeleniumIDE", @selenium.get_alert
rescue Test::Unit::AssertionFailedError
@verification_errors << $!

On executing this script, error obtained is "Failed assertion, no message given."

I am not sure what this @selenium.get_alert is doing. From where it is fetching the alert as in this script is not calling browser DOM object model to get control of it and I am not getting any such kind of stuff in selenium RDoc etc..

Can any one suggest how to include browserbot in the script.

Mrityunjay Chauhan


Posts : 1
Join date : 2012-03-30

Back to top Go down

View previous topic View next topic Back to top

Permissions in this forum:
You cannot reply to topics in this forum