Window: "下单"
Object: "selPrice"
Error: Property not supported for this object class.
为什么这里讲不支持该属性啊???作者: shyfish 时间: 2005-3-29 10:29
最后一个list有没有被识别?它在GUI File里的Description是什么?作者: drabit 时间: 2005-3-29 13:30 标题: shyfish进来再指点下 GUI MAP EDITER里查到最后一个list的属性,应该是被识别了
{
class: list,
MSW_class: html_combobox,
html_name: selPrice
}
以下是GUI SPY识别的详细属性
{displayed: 1,width: 70,x: 102,y: 129,abs_x: 684,class: list,MSW_class: html_combobox,abs_y: 360,maximizable: 0,focused: 0,height: 26,active: 0,count: 31,MSW_id: 36,handle: 1705614,minimizable: 0,value: "#0",nchildren: 0,enabled: 1,TOOLKIT_class: "Internet Explorer_TridentCmboBx"}作者: shyfish 时间: 2005-3-29 16:24
The following object properties are common to all Web objects except Web frame (html_frame) objects: Interactive Corporation in the United States and/or other countries.
bgcolor The object background color.
class The WinRunner class of the object.
color The object color..
focused Indicates whether the object has the focus. Possible values: 1: True 0: False
height The object height (in pixels).
tag_name The object's HTML tag.
width The object width (in pixels).
In addition to the properties supported for all Web objects and for objects in Internet Explorer, the following properties can be used when working with objects from the html_listbox and hmtl_combobox MSW classes:
element_name The name property specified within the <INPUT> tag.
is_multiple Indicates whether the list offers a multiple selection option. Possible values: 1: True 0: False
name The WinRunner name for the object. This is the value that WinRunner uses as the logical name of the object. The value of this property is taken from the list or combo box name property.
selection The items that are selected in the list (separated by ;)