the link src may be different, but try using it's id (or) xpath as part of click command. that may work..
thanks.
masudmalo101 wrote:
Cliking on dynamically generated url.
Hi, all, I am very new in weAp testing, i'm trying to create test for some webap, build in magento using selenium ide.
The problem i have is how to clik on dynamically genrated url.
My test looks like this:Hi, all, I am very new in weAp testing, i'm trying to create test for some webap, build in magento using selenium ide. The problem i have is how to clik on dynamically genrated url. My test looks like this:</br>
<tr>
<td>clickAndWait</td>
<td>//button[@onclick="setLocation('
http://localhost/MagentoDemoV2/magentodemoV2/index.php/checkout/cart/add/uenc/aHR0cDovL2xvY2FsaG9zdC9NYWdlbnRvSGlsYWlyZURlbW9WMi9tYWdlbnRvZGVtb0hpbGFpcmVWMi9pbmRleC5waHAvY2F0ZWdvcmllMS5odG1sP19fX1NJRD1V/produc
t/1/')"]</td>
<td></td>
</tr></br>
The following portion:</br>
(aHR0cDovL2xvY2FsaG9zdC9NYWdlbnRvSGlsYWlyZURlbW9WMi9tYWdlbnRvZGVtb0hpbGFpcmVWMi9pbmRleC5waHAvY2F0ZWdvcmllMS5odG1sP19fX1NJRD1V
/product/1/')"])</br>
is dynamically generated and it's can change on other magento cms.
</br>
Please help me.