Micro Focus QTP (UFT) Forums
QTP WebElement Click Help - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: QTP WebElement Click Help (/Thread-QTP-WebElement-Click-Help)



QTP WebElement Click Help - Anilkr - 02-04-2010

Hi,

I am trying to click on WebElement in Table. But not able to click on exact table row and column. There is no unique object properties. After click on webelement it displays the textbox to enter value.

Please help me to find solution for this issue.

Please see the attached application and object properties displayed for webelement.


RE: QTP WebElement Click Help - sreekanth chilam - 02-04-2010

Hi,

Use 'childItem' Method as given below.

Code:
Browser("Installment Schedule").Page("Installment Schedule).WebTable("Policy").ChildItem(5,3,"WebElement",0).Click
Browser("Installment Schedule").Page("Installment Schedule).WebTable("Policy").ChildItem(5,3,"WebEdit",0).Set "$200"