Forum Discussion

Preetha's avatar
Preetha
Occasional Contributor
6 years ago

aqObject.CheckProperty to verify the item selected in the dropdown

Hi  I am new to test complete scripting. I am using chrome . Need to verify the default value selected in the dropdown.   the below code is used titleCombo = p.NativeWebObject.Find("id","Ti...
  • AlexKaras's avatar
    6 years ago

    Hi,

     

    The name of the property is wSelectedItem but not the titleCombo.wSelectedItem.

    Thus, I think that the last line should be like this:

    aqObject.CheckProperty(titleCombo,"wSelectedItem",cmpEqual,"0");