jsoso
15 years agoNew Contributor
Can't find a drop-down item
Hello,
We just use TC6 to record a script for a drop-down control. We need to click the drop-down button first, and then click one of an item in the drop-down menu. But if we play this script directly, we found we can't find the object. Its full name is '... .WPFObject("HwndSource: PopupRoot", "", 2).WPFObject("PopupRoot", "", 1)...' .Actually, if we edit it to '... . WPFObject("HwndSource: PopupRoot","").WPFObject("PopupRoot","",1)...', just edit its father's name, the object can be found. So I just want to know, is it necessary that we have to do some edit for this kind of control after recording? Or it's a bug of TC? Thank you so much for your help.
Sunny
We just use TC6 to record a script for a drop-down control. We need to click the drop-down button first, and then click one of an item in the drop-down menu. But if we play this script directly, we found we can't find the object. Its full name is '... .WPFObject("HwndSource: PopupRoot", "", 2).WPFObject("PopupRoot", "", 1)...' .Actually, if we edit it to '... . WPFObject("HwndSource: PopupRoot","").WPFObject("PopupRoot","",1)...', just edit its father's name, the object can be found. So I just want to know, is it necessary that we have to do some edit for this kind of control after recording? Or it's a bug of TC? Thank you so much for your help.
Sunny