4 Replies Last post: Nov 3, 2008 11:44 AM by Geetha  
Geetha Beginner 3 posts since
Oct 20, 2008
Currently Being Moderated

Oct 20, 2008 4:55 PM

How to capture a text entered in a HTML editor

I have just started using selenium IDE. Our application has a 3rd party HTML editor embedded. When we follow the process of record and play, i am unable to capture the text which i key in.

 

This particular page has many functionalities included int script. When i play the recorded sript, the function does not proceed past the HTML editor, however the script runs continuously till the end.Please suggest how do i capture this plain HTML text or HTML embedded.

 

Thanks

ramadan Guru 261 posts since
Feb 24, 2008
Currently Being Moderated
1. Oct 21, 2008 4:28 AM in response to: Geetha
Re: How to capture a text entered in a HTML editor

This is example of editing wiki page , see below

 

<tr>
<td>open</td>
<td>http://wiki.test.com/index.php/asdf</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>link=Edit</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Edit</td>
<td></td>
</tr>
<tr>
<td>storeText</td>
<td>wpTextbox1</td>
<td>wik1</td>
</tr>
<tr>
<td>type</td>
<td>wpTextbox1</td>
<td>${wik1} ${wik2}</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>wpSave</td>
<td></td>
</tr>

 

wik1 is the old content wik2 is the new text that will be added to the text area (text box)

 

BR,

Ramadan

ramadan Guru 261 posts since
Feb 24, 2008
Currently Being Moderated
3. Nov 3, 2008 6:49 AM in response to: Geetha
Re: How to capture a text entered in a HTML editor

Did you try it ? Is it working ?

More Like This

  • Retrieving data ...