Does anybody know How I can get the ckEdtior to work with Selenium. I'm not able to get the focus to the "html edit" field or change the value of the html field.
Does anybody has experience with this ?
Does anybody know How I can get the ckEdtior to work with Selenium. I'm not able to get the focus to the "html edit" field or change the value of the html field.
Does anybody has experience with this ?
When I have had a to test against WYSIWYG editors I have had to build my own mechanism to work in the content area. Normally it involves having to set the inner HTML of object and then start using the page manipulators in the tool bars.
With Selenium 2 you will be able to send keystrokes in so that they work better and a lot easier.
Just for completing the anwser:
I got it to work with:
runScript("CKEDITOR.instances['InstanceName'].setData('<p>testContent</p>');")
It did not work with the getEval command.