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
IamDiana
Posts : 2
Join date : 2009-11-23

How to test sites that uses javascript layers and menus Empty How to test sites that uses javascript layers and menus

Mon Nov 23, 2009 6:31 pm
Is there any way , can we retrive a particular link / id / html control from a webpage that use lot of javascript layers ?

For example : go to http://www.fordvehicles.com , move the mouse over on Cars and highlight on the first car and clicking this car image.

I am able to simulate the mouse over on Cars using selenium RC APIs . But I am not able to read any html elements from this page. If I use the getAllFields() / or any other APIs, I get empty array .

Since this pages are constructed using javascript layers , I am not sure which API should be used ? Or is this a limitation of Selenium itself ?

Any help appreciated ..

TIA
Diana
Advisor
Advisor
------------------------
------------------------
Posts : 387
Join date : 2009-07-30
Location : India
https://seleniumforum.forumotion.net

How to test sites that uses javascript layers and menus Empty Re: How to test sites that uses javascript layers and menus

Mon Nov 23, 2009 10:01 pm
hi,

This site is totally based on mouse operation and selenium supports very less feature of mouse operations.

you have to take help of any other tool or if have to look solutions in your programming language and call that features through RC.

It will be very difficult to test such sites in selenium. It's like flash component. recording is not possible. May be other tools help you which test flash or flex application.

Best of luck.
bye
avatar
IamDiana
Posts : 2
Join date : 2009-11-23

How to test sites that uses javascript layers and menus Empty Re: How to test sites that uses javascript layers and menus

Thu Nov 26, 2009 9:08 pm
Since we need a good logging capabilities we are using
com.unitedinternet.portal.selenium.utils.logging.LoggingSelenium as
the selenium window object .. Is there any other SeleniumFramework's core APIs has the capability to access the javascript layers' content ?
Sponsored content

How to test sites that uses javascript layers and menus Empty Re: How to test sites that uses javascript layers and menus

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