cancel
Showing results for 
Search instead for 
Did you mean: 

CSS Menu Testing

Highlighted
Not applicable

CSS Menu Testing

Anyone knows how to test an web app with css dropdown menus, i answer that because when i record my test and try to reproduce it i face some errors like:

There was an attempt to perform an action at point (0, 0), which is out of the window bounds.

Or

Object that does not exist.



Your help is really appreciate!
2 REPLIES 2
Highlighted
Occasional Contributor

Have you tried the hovermouse method? In this example below the Parent menu was "Transactions", when you mouse over Transactions you then get a sub menu that drops down below.The sub menu I selected below Transactions was Payments.



'This is done in VB Script

Dim iexplore

Dim page


Set iexplore = Aliases.iexplore

Set page = iexplore.pageTest

Call page.FONT.Transactions.hovermouse

Page.Wait

Call page.FONT.Payments.Click(1, 1)

iexplore.Page.Wait



It should work! Good luck!


Highlighted

Hi David,


TestComplete does not record mouse movements, and it does not record hovering the mouse pointer over controls. In addition to Tony's advice, I can suggest that you click each item of the menu including main items when recording the script.



Best regards,
Alexey

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get properties of a web page element

Participate!

Compare images using the Region Checkpoint

See replies!

Compare HTML table with Excel file and correct data in Excel file

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!
Top Kudoed Authors