Forum Discussion

Largent803's avatar
Largent803
Contributor
4 years ago

Web Menu Dropdowns Clicks randomly selecting from the menu dropdowns

I am attempting to do menu dropdown selections testing. The menu is itself a textnode until it gets populated by the menu option.

When I recorded the original test the menus that I selected populated the menu title with that name. 

 

On a regular basis I will have tests that will have menu options that have various names various menus departments and other menu clicks

fields the drop list is always changing depending on what was selected from a previous menu option. So one menu option

can affect what is in another menu's options. 

 

I need to test these dropdown fields randomly and I will not know what is in the dropdown fields. Is there away to do this within TestComplete.

Or is there a listing of example code that I can add to the unit script?

9 Replies