1. 程式人生 > >請教qtp中如何操作treeview控制元件?

請教qtp中如何操作treeview控制元件?

qtp中執行

    window("mywindow").wintreeview("mytreeview").getitem 0

   時,出了如下的錯誤:

    Cannot identify the specified item of the TUCRootTree object. Confirm that the specified item is included in the object's item collection.

但是執行

    window("mywindow").wintreeview("mytreeview").select 0

   通過,沒有問題;

請高手指教如何解決上面的錯誤;