Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

Clicking a sub menu item

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


sandeep0242 at gmail

May 11, 2012, 3:38 AM

Post #1 of 1 (38 views)
Permalink
Clicking a sub menu item

Hello,

Im a newbie to automation testing.Im using python scripting in
selenium to automate a website.

Now im facing a difficulty in clicking a submenu item.I have 5 buttons
in the main menu.I am able to click each of the menu button using
self.driver.find_element_by_id("MainMenuButton1").click()

But how can I click the MenuButton1_Submenu button?

For this purpose I think I have to move hover the menu button and wait
for some time, then click the submenus using their ids or whatever
property.Is this the right way to click the sub menu items? If yes can
abybody provide me the code for mouse hover a control?

If this is not the right procedure please provide me with appropriate
code to click on a sub menu item?

--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.