Forum Discussion

vgangavarapu198's avatar
vgangavarapu198
Occasional Contributor
10 years ago

Need help in selecting values from dropdown using VB Script. in TestComplete

I have 3 values A,B and C in one of the dropdown. I need to select one each time to create a record in web application.

 

Ex: TextBox1:

       TextBox 2:

        Dropdown: A or B or C

        Save Button

 

Note: I am new to TestComplete and am larning ...Thank you.

  • Hi you can use cickItem method to select any value from the dropdown.

     

    object.clickItem("A")  or you can use index instead of value.

  • Hi you can use cickItem method to select any value from the dropdown.

     

    object.clickItem("A")  or you can use index instead of value.