Micro Focus QTP (UFT) Forums
Click Object - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Click Object (/Thread-Click-Object--6634)



Click Object - hamzaz - 07-25-2012

Hi All

Code:
rowNum=Browser("").Page("").WebTable("").GetRowWithCellText("subject",2,0)
Set LinkObj=Browser("").Page("").WebTable("").ChildItem(rowNum,2,"Link",0)
LinkObj.Click

I am stuck in the 2nd line, I am getting the right rowNum, now I want to click on that row number, could you guide me?

Smile


RE: Click Object - K Gaurav Varshney - 07-25-2012

What error are u getting? Actually I have tried the same and it is working fine on my side.

Regards,
K


RE: Click Object - hamzaz - 07-25-2012

I am getting object not found error


regards


RE: Click Object - Arul - 07-26-2012

Hi,

First you highlight the object, then you try, it will work.
Code:
Browser("").Page("").WebTable("").Highlight

Regards,
Arul.D