18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Sahi with WYSIWYG Editors
Hi,
Just was having some difficuly getting sahi to _setvalue into a WYSIWYG editor
it doesnt seem to detect the editor when the cursor is within the editor inorder to insert some text,
I was wondering if there would be a command to forcefully print or type out keystrokes to solve this ?
has anyone else run into the same problem?
Just was having some difficuly getting sahi to _setvalue into a WYSIWYG editor
it doesnt seem to detect the editor when the cursor is within the editor inorder to insert some text,
I was wondering if there would be a command to forcefully print or type out keystrokes to solve this ?
has anyone else run into the same problem?
Comments
You can either use the iframe object or just pass the iframe's id as the first parameter. Note that currently the whole text is replaced in the rte.
Error:
the current does not work as the cursor is in the editor and all is needed for the keys to be pressed to enter text
it seems even if using keypress after the cursor is inside the editor it still does not enter any text.
any help would be appreciated
thanks