Forum Discussion

Uzumaki's avatar
Uzumaki
Occasional Contributor
15 years ago

ClickItem does not work in IE9

Hi,



I record a new keyword test that select an item in listbox. Recording seems to work fine and all steps are accounted for. But when I try to play it back the following error message is displayed in the error log: "Cannot activate the "<name of item in list>" item". TestComplete finds the list fine, but cannot activate the list item during playback.



I also tried using SelectItem. But that gave the same error.



What is wrong here? This was not a problem in IE8.



I am using TC 8.5 in Windows 7 and Internet Explorer 9.



Thank you for any help on this matter.



/Joakim

4 Replies

  • Hi Joakim,



    To help us investigate the problem, please zip your entire project suite folder along with the log of the failed test execution and send us the archive via our Contact Support form. Make sure that messages in your log correspond to the latest version of your tests.
  • Uzumaki's avatar
    Uzumaki
    Occasional Contributor
    Hi Allen



    I am unable to send you an example at this moment. I managed to solve the error by scripting the step and setting the property 'SelectedIndex' on the listbox.



    /Joakim

  • Uzumaki's avatar
    Uzumaki
    Occasional Contributor
    Hi again



    Once more with the ClickItem.



    Recorded a test where I click an item in a dropdown. (IE9) Everything records ok but when I playback the test it just says 'Cannot perform the ClickItem operation'. Wow, an extremely helpful error message, dont you think? This time I really need to simulate a user clicking as there are events triggered on the page.



    What causes this? Problems just keep stacking up when using IE9.



    /Joakim
  • Hi Joakim,



    Can you reproduce this with any web pages? For example, check whether you can reproduce the problem with this web page.




    If the problem can be reproduced only with a specific web page, can you provide us with access to it? You can contact us directly via the Contact Support form.