- IamDiana
- Posts : 2
Join date : 2009-11-23
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
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
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
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
- IamDiana
- Posts : 2
Join date : 2009-11-23
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 ?
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 ?
Permissions in this forum:
You cannot reply to topics in this forum