Display results as :

Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara



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