Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Regarding Alert Interface
Fri Feb 24, 2017 2:00 pm by karthikeyakumar

» Geting issues in identifying the elsements in webdriver
Fri Feb 17, 2017 4:41 pm by janbaskt

» WebDriver - why not to use a singlton for it?
Fri Feb 17, 2017 4:40 pm by janbaskt

» WebDriver session when using testng annotation to invoke driver instance
Fri Feb 17, 2017 4:39 pm by janbaskt

» Selenium fails to launch Chrome
Fri Feb 17, 2017 4:39 pm by janbaskt

» why do i get this error
Fri Feb 17, 2017 4:38 pm by janbaskt

» Selenium Tutorial
Thu Feb 16, 2017 5:21 pm by Rahul

» When to use Selenium IDE, RC and WebDriver
Mon Feb 13, 2017 2:35 pm by azharuddin

» How to integrate selenium with ZAPI-Zephyr
Sat Feb 11, 2017 2:25 am by gseera002c

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

How to test ajax popup window using selenium IDE

View previous topic View next topic Go down

How to test ajax popup window using selenium IDE

Post by cloudravi on 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

cloudravi

Posts : 2
Join date : 2010-09-27

Back to top Go down

Re: How to test ajax popup window using selenium IDE

Post by JoffreMota on 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.


JoffreMota

Posts : 3
Join date : 2011-11-01

Back to top Go down

Re: How to test ajax popup window using selenium IDE

Post by psymojojojo on 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>

psymojojojo

Posts : 1
Join date : 2011-11-24

Back to top Go down

Re: How to test ajax popup window using selenium IDE

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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