- cloudravi
- Posts : 2
Join date : 2010-09-27
How to test ajax popup window using selenium IDE
Mon Sep 27, 2010 9:24 pm
The software i am testing have ajax window and it has iframeid that is unique, whenever i open window iframe id get changed
which gives error when i run the test script recorded in Selenium
error - [error] Element win_iframe28738_content not found
how to test it?
please help me
which gives error when i run the test script recorded in Selenium
error - [error] Element win_iframe28738_content not found
how to test it?
please help me
- JoffreMota
- Posts : 3
Join date : 2011-11-01
Re: How to test ajax popup window using selenium IDE
Tue Nov 01, 2011 7:34 pm
This is exactly the same problem that I'm having. If someone know how to do that, please, answer this topic.
I need to simulate a button click on "RH Online" that can be seen on the image below (that is Ajax / Silverlight)
Thanks.
I need to simulate a button click on "RH Online" that can be seen on the image below (that is Ajax / Silverlight)
Thanks.
- psymojojojo
- Posts : 1
Join date : 2011-11-24
Re: How to test ajax popup window using selenium IDE
Thu Nov 24, 2011 9:23 am
I have just started using selenium to automate some IT admin tasks and think I have the same issue, We have a NAS that needs some external drives swapped out. I believe the new firmware uses AJAX to dynamically change the screen around and that broke my old script.
The supplier has a live demo of the web interface you can find by googling "demo synology"
http://www.synology.com/us/products/demo/index.php
Anyone have any hints on how to navigate around this type of interface? (How do I find the element locator to clickat() to get the control panel open for example). The ids seem to randomly generate every time I log in, to something like "target id=ext-gen525"
My script so far can log in, but then I can't find a reliable way to access the external drive.
The supplier has a live demo of the web interface you can find by googling "demo synology"
http://www.synology.com/us/products/demo/index.php
Anyone have any hints on how to navigate around this type of interface? (How do I find the element locator to clickat() to get the control panel open for example). The ids seem to randomly generate every time I log in, to something like "target id=ext-gen525"
My script so far can log in, but then I can't find a reliable way to access the external drive.
- Code:
<title>webforum</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">webforum</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/webman/index.cgi</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=login_username</td>
<td>admin</td>
</tr>
<tr>
<td>type</td>
<td>id=login_passwd</td>
<td>synology</td>
</tr>
<tr>
<td>click</td>
<td>id=login_submit</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
Permissions in this forum:
You cannot reply to topics in this forum