I have a webpage that displays richtext editor component. Does anybody has experience in automating the rich text editor functionality ex: Bold,Italic,underline,text foreground color, text background color,toggle bet WYSIWYG and HTML,inser hyper link insert image, ceter justified, right justified, left justified.bullet the text, number the text, Decrease indent, increase indent etc using HTMLunit
I've never done this, nor have I used HTMLUnit. However, I would assume that this just be a matter of parsing HTML.
The Rich Text Box is a compilation of HTML - like amini web page right? So you could use HTMLUnit to get that block and parse it to look for specific tags - for example, if you put bold text in the rich text box, you would get the rich text box and parse it for <b>Text entered</b>.
I could be way off, let me know more specifics...
Who has time for unit tests? <img border=0 title= alt=[Razz] src=tongue.gif /]