need info on selenium browserbot

1,700 views
Skip to first unread message

Vikram

unread,
Feb 1, 2010, 2:00:08 AM2/1/10
to Selenium Users
Hi,

can someone please clarify in details on selenium browserbot , b. when
to use it , c.why to use it , d. documentation on this , e. is this
integral part of Selenium RC? RC java doc has reference to this one in
methods waitForCondition and getEval.

thanks in advance.

read this article http://thoughthaus.net/blog/?page_id=116 which is
useful though didn't find any specific details

Regards,
Vikram

David Burns

unread,
Feb 1, 2010, 4:23:29 AM2/1/10
to Selenium Users
BrowserBot is essentially the mechanism to speak to the page and it
takes care of the intricisy of different browsers. You use this if you
need to use the javascript on the page as part of your test. An
example for me is the use the JavaScript on the page when testing
Teleriks RADEditor because I can inject HTML and then use the controls
to manipulated the HTML and then test the output. If you can get away
with not touching BrowserBot then I would do that.

BrowserBot is integral to all of Selenium and is kept in the Selenium
Core that gets distributed with all versions of Selenium. I have a
tutorial on my site for using JavaScript on the page and it shows
browserbot. Tutorial is at http://www.theautomatedtester.co.uk/seleniumtraining/Selenium_JavaScript.htm

David Burns
http://www.theautomatedtester.co.uk/

On Feb 1, 7:00 am, Vikram <vikram.s...@gmail.com> wrote:
> Hi,
>
> can someone please clarify in details on selenium browserbot , b. when
> to use it , c.why to use it , d. documentation on this , e. is this
> integral part of Selenium RC? RC java doc has reference to this one in
> methods waitForCondition and getEval.
>
> thanks in advance.
>

> read this articlehttp://thoughthaus.net/blog/?page_id=116which is

Vikram

unread,
Feb 1, 2010, 6:18:43 AM2/1/10
to Selenium Users
Thanks for reply, sorry I think I should have been more specific;
browserbot is a variable under a particular class or it's a class
itself with its own methods?

I didn't find this under DefaultSelenium / Selenium , Selenium RC
Java doc has reference to this.browserbot.findElement("id=foo") , but
I didn't got "this" belongs to which class?

thanks,
Vikram

On Feb 1, 2:23 pm, David Burns <theautomatedtes...@googlemail.com>
wrote:


> BrowserBot is essentially the mechanism to speak to the page and it
> takes care of the intricisy of different browsers. You use this if you
> need to use the javascript on the page as part of your test. An
> example for me is the use the JavaScript on the page when testing
> Teleriks RADEditor because I can inject HTML and then use the controls
> to manipulated the HTML and then test the output. If you can get away
> with not touching BrowserBot then I would do that.
>
> BrowserBot is integral to all of Selenium and is kept in the Selenium
> Core that gets distributed with all versions of Selenium. I have a
> tutorial on my site for using JavaScript on the page and it shows

> browserbot. Tutorial is athttp://www.theautomatedtester.co.uk/seleniumtraining/Selenium_JavaScr...
>
> David Burnshttp://www.theautomatedtester.co.uk/

David Burns

unread,
Feb 1, 2010, 6:53:51 AM2/1/10
to Selenium Users
BrowserBot is part of Selenium Core, as I said earlier, and think its
found in SeleniumAPI.js. Its an object within the Selenium JS Object.
Its not specific to Selenium RC, its a core bit of functionality
across all flavours of Selenium.

David Burns
http://www.theautomatedtester.co.uk/

Reply all
Reply to author
Forward
0 new messages