摘要: Demo: Attribute Value Description left Alignment of the element 'Get the QTP WebTable from a specified objectPublicFunctionGetWebTableFromElement(ByValpObject)DimoTable, oParent'Get the parent table, a DOM object'Remember ... 阅读全文
posted @ 2013-11-20 16:37 dushuai 阅读(413) 评论(0) 推荐(0) 编辑
摘要: Method1'Get the tables DOM objectSetoDOMTable=Browser("").Page("").WebTable("").object'To Click on (1,1) we can use:Row=1Col=1oDOMTable.rows(Row-1).Cells(Col-1).ClickMethod2We can also bindtothe corresponding WebElement object of the target cellandthenclick it.& 阅读全文
posted @ 2013-11-20 15:51 dushuai 阅读(222) 评论(0) 推荐(0) 编辑