Micro Focus QTP (UFT) Forums

Full Version: Error in childitem method
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I am trying to enter the username in orkut using the chilitem method in a webtable.

below is the sample code.
Code:
browser("orkut - login").Page("orkut - login").WebTable("Account").ChildItem 1,1,"WinEdit",1.set "test"
But i get error message.Please let me know the correct code.

Thanks
Ashok


[/u]
Hi,

As it is a Web Appl,It should be "WebEdit" rather than "WinEdit".

Code:
browser("orkut - login").Page("orkut - login").WebTable("Account").ChildItem(1,1,"WebEdit",0).set "test"