Tuesday, December 15, 2015
If for example you have the following rich text box:
When you record the test script in Rapise, simply click once in this text box and it will record a single Click against the object:
Where the HTML object has an XPATH that looks like the following:
This tells Rapise that this is an IFRAME with its own HTML document.
To actually enter text into this box, you need to use the following lines of code instead of this single click:
SeS('HTML').DoEnsureVisible();SeS('HTML').DoMouseMove(0, 0);SeS('HTML').DoLClick();SeS('HTML').DoSendKeys('hello mum');
Note: If you are using the TinyMCE editor, there is another more reliable way to automate the testing.
results match your keyword(s)