Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
cloudravi
Posts : 2
Join date : 2010-09-27

How to test ajax popup window using selenium IDE Empty 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
avatar
JoffreMota
Posts : 3
Join date : 2011-11-01

How to test ajax popup window using selenium IDE Empty 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.

How to test ajax popup window using selenium IDE 4R4bg
avatar
psymojojojo
Posts : 1
Join date : 2011-11-24

How to test ajax popup window using selenium IDE Empty 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.
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>
Sponsored content

How to test ajax popup window using selenium IDE Empty Re: How to test ajax popup window using selenium IDE

Back to top
Permissions in this forum:
You cannot reply to topics in this forum