Watir – Handling FCK Editor
Code:
#Focus the Body
$ie.frame(:index, 1).frame(:name, “eEditorArea”).document.body.focus;
#Select all existing contents and delete it
$ie.send_keys(”{CTRLDOWN} a {CTRLUP}{DEL}”)
#Type the new content
$ie.send_keys(”Raveendran is a member of jazzez.”)
#click update button
$ie.button(:name, ‘update’).click
- Person:



Recent comments
1 year 23 weeks ago
1 year 23 weeks ago
1 year 25 weeks ago
1 year 27 weeks ago
1 year 42 weeks ago
1 year 45 weeks ago
1 year 45 weeks ago
1 year 45 weeks ago
1 year 46 weeks ago
1 year 48 weeks ago