Archive

Archive for May, 2012

write the selenium IDE test case for CAPTCHA images

Try prompt a text box for user to key in the captcha, and store in variable

example:

storeEval | prompt(“Enter Captcha:”) | varName

Then type the varName text in to your captcha text box example

type | id=CaptchaText | ${varName}

Advertisements
Categories: Selenium Tags: ,

sendmail settings in rails 3 application

Open “application.rb” file in “config” folder of your application and add the following data to it.

*************************************************************

config.action_mailer.delivery_method = :sendmail

config.action_mailer.sendmail_settings = {
:location => ‘/usr/sbin/sendmail’,
:arguments => ‘-i -t’
}

config.action_mailer.perform_deliveries = true
config.action_mailer.raise_delivery_errors = true

*************************************************************

Categories: Uncategorized Tags: ,

Taskbar missing in ubuntu

  1. Press Alt+F2, in text fild type ‘gnome-terminal’ (without quots) and click on ‘Run’.
  2. In terminal submit the commands below one by one. Select one line at a time and press ‘Enter’.

gconftool –recursive-unset /apps/panel
rm -rf ~/.gconf/apps/panel
pkill gnome-panel

Categories: Uncategorized Tags:

Object Identification In Selenium

The following Identifiers used for object identification,

  1. id
  2. name
  3. dom
  4. xpath
  5. link
  6. css