How to eliminate disabled items in combox box in QTP
I am new to QTP . I am doing automation on a Java Application, which has a combo box and in which few items are disabled but when I try to retrieve values from it , it takes all of t开发者_开发百科hem including the ones which are disabled.
How cal I eliminate disabled items for JavaList and capture only enabled values Please Help!
Get the innerhtml of the combobox and split along the html tag. Check for disabled attribute by using InStr and you can get the values that are disabled.
精彩评论