New to Telerik Test Studio? Download free 30-day trial

Description

When working with Test Studio's highlighting quick menu in recording mode on a combobox or context menu in the tested application, you may encounter an issue where the Test Studio menu is hidden behind the app menus. This makes it difficult to interact with the elements using the Test Studio recorder.

Solution 1

To workaround the issue, follow these steps:

  1. Start the recording session and record click actions on the combobox or context menu elements directly, instead of using the Test Studio quick menu.
  2. This will add a step and an element to the test.
  3. Use the recorded element to add steps offline through the Step Builder.
  4. Once you have the desired steps, you can remove the recorded click step if it is not necessary.

Solution 2

Alternatively, you can use the DOM explorer in the Advanced Recording tool to work with the combobox or context menu elements. Here's how:

  1. Open the Advanced Recording Tools window from the compact recorder.
  2. Switch to the application and open the combobox or context menu.
  3. Press the 'Scroll Lock' key to freeze the DOM in its current state. The option to freeze the DOM stops the auto-refresh and keeps the DOM as it was at the time of the freeze.
  4. Switch back to the Advanced Recording window and search for the desired elements in the DOM.
  5. Select the element and add steps from the Element steps tab.
In this article