Forum Discussion

ANHristov01's avatar
ANHristov01
Occasional Contributor
2 months ago
Solved

Button with "..." not completing selection - step stops after dropdown choice (Chrome & Edge)

Hello, We are experiencing an issue when selecting buttons that open a dropdown menu - specifically the ones with "...". When TestComplete tries to click and select an option from that dropdown, i...
  • rraghvani's avatar
    rraghvani
    2 months ago

    When using the Record feature, TestComplete will create individual name mappings for each URLs -

    https://www.w3schools.com/
    https://www.w3schools.com/html/default.asp
    https://www.w3schools.com/css/default.asp
    https://www.w3schools.com/js/default.asp

    You need to instruct TestComplete on how to identify UI objects correctly. In this instance, you can use wildcard, so the name mapping URL will become https://www.w3schools.com/*. There should be only one pageEPostbank.

    If this is your first time using TestComplete, I do suggest you read through Object Identification as it's one of the most important parts of TestComplete, and to get right. Also, use appropriate ID's as opposed to indexes in "//button[14]".

    From my experience, it's best to create name mappings first, for the UI controls you'll be interacting with - get the name mappings hierarchy/tree structure correct.