开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜