Selenium IDE doesn't support Drag and Drop by recording but it can support if we add manually. Below is the sample piece code for dragAndDropToObject.
Selenium IDE
<tr>
<td>dragAndDropToObject</td>
<td>//*[@id='ctl00_chMain_Period']/span</td>
//Locator value of element to be dragged
<td>//*[@id='ctl00_chMain_Period']/ul/li[5]/span</td>
//Locator value of destination object
</tr>
Selenium RC
selenium.dragAndDropToObject("//*[@id='ctl00_chMain_Period']/span", "//*[@id='ctl00_chMain_Period']/ul/li[5]/span");
No comments:
Post a Comment