Hi Friends,

Im testing Web Application.

I have written scripts using Ruby in Selenium 2.0.

I'm facing a problem in setting my text in iframe(which is basically an Editor.) Even, recording the values inside the iframe is not working.

The Ruby code that i have tried is,
$browser.select_frame "//iframe[@id='story_story_ifr']"
$browser.select_frame( "relative=top")
$browser.type "//body", "HI set this text inside body"

Kindly help me in setting my text inside the frame.