Showing posts with label Selenium on Rails. Show all posts
Showing posts with label Selenium on Rails. Show all posts

Tuesday, November 28, 2006

Selelnium on Rails Links

The following link contain more information about
Selenium on Rails(installation ,etc...)

http://www.openqa.org/selenium-on-rails/

This link contain information about commands used in selenium
http://www.openqa.org/selenium-core/reference.html

in selenium on rails use underscore for every methods
for ex:

in selenium core:

doubleClick ( locator )

in selenium on rails

double_click 'locator'


if any doubt Just ask me I will try to clear it.
ok
enjoy Rails

File Upload in Selenium on Rails

Hi Friend z,

File Upload in Selenium on Rails.

to make selenium able to fill type="file" input via "type" command:

a) set configuration for mozilla

signed.applets.codebase_principal_support = true

in firefox about:config page

type about:config in addressbar of firefox.

b) add a line in selenium-api.js

netscape.security.PrivilegeManager.enablePrivilege("UniversalFileRead") ;

to \vendor\selenium\core\scripts\selenium-api.js method Selenium.prototype.doType()

It will be definetely useful.
This thing works only in mozilla.

Enjoy Rails

Pay Pal

Sign up for PayPal and start accepting credit card payments instantly.

Ruby Corner

Earn Money