qtp學習筆記

1:UFT 錄製成功以後,回放完,在 result Viewer中No data is associated with this element是什麼原因
答:那裏是顯示回放操作時截圖,沒有數據只因爲你沒有在option裏允許所有情況下都截圖。
在Tools—> Options—>GUI Testing—>Screen Capture裏的Save still image captures to results中選擇Always。
2:錄製注意事項
操作前先tools–options–restorelayout
** automation–record and run setting—windows application 點“+”加號添加路徑**

3:錄製完後增加點擊 ”“help“步驟
選中agent name
insert step–step generator
4:將按鈕屬性添加對象庫
resources–object repository
然後object --add objects to local

5:action之間的關聯
首先在resources --object repository --file—export loca object
然後在 resource—associate repositories

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章