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 sites that uses javascript layers and menus

View previous topic View next topic Go down

How to test sites that uses javascript layers and menus

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

IamDiana

Posts : 2
Join date : 2009-11-23

Back to top Go down

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

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

Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

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

Post by IamDiana on 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 ?

IamDiana

Posts : 2
Join date : 2009-11-23

Back to top Go down

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

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