Hi. I am building Coded UI tests to automate testing for our site which uses the latest Karamasoft ASP.NET UltimateMenu control. In order to create a good automated test, I need to write some code to automatically traverse the menu by locating correct menu items based on their ID. The problem that I have is that my IDs which I pass into the menu XML file, are not the actual IDs of the menu items generated in the HTML. It will be much easier for me to write this automatic traversion mechanism if I could just locate the menu items by locating the IDs of the DOM elements, and then have my automated script to click or hover on the desired menu item. My question is, is there any way to pass the ID to the menu item so that it will be conserved in the resulting HTML of the table cell of the menu item. Thanks in advance. P.S. I succeeded in passing ID to "ItemCssClass" of the Item XML node, however, it overwrites the class attribute of the Table Cell element and I loose the CSS formatting so I need to find another way.
© 2002-2019 Karamasoft LLC. All rights reserved.