Forum Discussion

prabhat_vatsya's avatar
prabhat_vatsya
Occasional Contributor
10 years ago

TestComplete Run Test not working with telerik dropdown and export to excel

Hi,

We are working with asp.net applications and using some third party controls like telerik controls etc.



In our case we are able to record the test but when we run the test the cursor stucks at the dropdown and soesnot move any further hence test fails.



This happens for all the tests.



Further when we record the export functionlilty like save the excel in our local system, we are not able to run the test,as soon as the save option pop up comes it doesnot move futher and test fails.



We have logged the ticket and also provide the project suit to the customer forum but we received one link stating some clues.

Link -http://support.smartbear.com/viewarticle/31506/.

We have followed the steps but not reached the resolution.

2 Replies

  • prabhat_vatsya's avatar
    prabhat_vatsya
    Occasional Contributor
    Hi Members,



    Could you please help us in the issue we are facing with the telerik controls mentioned in above post.



    Thanks in advance !!
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi Prabhat,

     


    How are you accessing elements on the drop-down menu? Can you post here a short sample?


    Try using the Wait methods to obtain the opening menu and, only after this, perform the click on the needed item, like this:




    var obj = page.form.panel.Click() // the click invokes the drop-down menu


    var menu = page.form......WaitPanel("PanelName", 3000) //obtain the drop-down menu


    page.form....Panel.Item.Click()




    Please refer to the "Waiting for an Object, Process or Window Activation" article to learn more about the suggested approach.