Forum Discussion

sumanreddy's avatar
sumanreddy
New Contributor
8 years ago

Find elements by Id or Name

Hi There,

 

I have tried using Object Identification attribute as Id and Name to record a test scenario. However, when I run the same Script, the Test Complete is unable to find Drop down field by Id or Name. As the focus is not readily available at this field, hence I tried to click on 'Payment Terms' (see the attached screenshot) to bring the focus which did not work. I am not sure if I am missing anything here. The application runs with ExtJS 6.0.2 Please give a solution here.

 

If at all possible, please do send a sample project demonstrating about the same scenario.

 

Thanks,

Suman

 

9 Replies

  • shankar_r's avatar
    shankar_r
    Community Hero

    Can you share you r script, How you are trying to access the element?

      • shankar_r's avatar
        shankar_r
        Community Hero

        As far as i see you can select the item using below stuff,

         

         

        combobox = tabpanel2.panelOther.panelPanelInnerct.fieldsetDefaultsSection.panel.comboboxPaymentTerms;

         

        combobox.ClickItem("10") or combobox.SelectItem("10")