Friday, 15 August 2014

Selenium IDE opens a new window -



Selenium IDE opens a new window -

we have button on website should open modal (only).

selenium ide opening modal , additionally new blank window.

this command using click:

<td>clickat</td> <td>css=#tabcontrol .settings</td>

though when clicking manually on same button (i mean manually in browser), doesn't happen, instead opens modal. similar issue happens when should open link in new tab, opens in new window instead. see error:

[warn] link has target '_blank', not supported in selenium! randomizing target be: selenium_blank19992

two questions:

is there way not open new window @ all? if no, possible close new window? managed close windows "selectwindow" , "close" commands, problem 1 doesn't have title, cannot select , when using "close", closes wrong window..

thanks

your code saying find item id of 'tabcontrol' , 'clickat' every descendant of item has class 'settings'.

<tr> <td>click</td> <td>css=#tabcontrol.settings</td> <td></td> </tr>

selenium-ide

No comments:

Post a Comment