Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

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