Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error in childitem method
#1
Solved: 11 Years, 4 Months, 4 Weeks ago
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]
Reply
#2
Solved: 11 Years, 4 Months, 4 Weeks ago
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"
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ChildItem and ChildItemCount require objects DrasticDreamer 0 2,188 02-05-2017, 10:37 PM
Last Post: DrasticDreamer
  Error object doesnt support this property or method seerick 7 8,117 06-08-2013, 09:32 PM
Last Post: seerick
  What is a Method in QTP and how many types are method r there in QTP? vidyabr 1 4,509 07-28-2008, 02:14 PM
Last Post: surya_7mar

Forum Jump:


Users browsing this thread: 1 Guest(s)