How to enter text in AJAX HTML Editor using watin
Posted
by Shaki
on Stack Overflow
See other posts from Stack Overflow
or by Shaki
Published on 2009-08-26T15:51:28Z
Indexed on
2010/04/07
2:03 UTC
Read the original article
Hit count: 656
Hi,
I could not figure out how to enter text into HTML Editor using Watin. I tried //ie.TextField(Find.ById("htmlDetail_ctl06_ctl04")).TypeText("ABCD"); But got error: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
Can you give some example how to enter text into AJAX HTML Editor using watin please? I am not sure what to plug in frameSrc and java script from this solution - http://stackoverflow.com/questions/939448/unit-testing-the-ms-ajax-toolkit-html-editor
Here is html from Develper tool when click the text box:
Thanks in advance
© Stack Overflow or respective owner