18 January 2026:


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.

Get id values in an iframe

pavanc1988pavanc1988 Members
edited June 2013 in Sahi - Open Source
Hi I need to get id values form the below iframe tag which is a rich text editor and set the text into the rich text editor.
I have several id like this which will be generated automatically and i need to get the id values.

<iframe id="id1154_ifr" src='javascript:""' frameborder="0" allowtransparency="true" title="Rich Text AreaPress ALT-F10 for toolbar. Press ALT-0 for help" style="width: 100%; height: 100px; display: block;"></iframe>

here is something I tried and it worked for setting text into one RTE but how can i fill other RTE forms.

_rteWrite(_rte(/id1.*/), "typing regular expression");

Thanks,
-Pavan

Answers

  • Hi pavan,
    Doesn't the code:
    _rteWrite(_rte(/id1.*/), "other RTE form");
    
    work
    for the other RTE forms as well?

    Regards.
Sign In or Register to comment.