Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ChildItem and ChildItemCount require objects
#1
Not Solved
I am using Flight Reservation application of mercury.

If I execute the code:

Code:
Set X=Browser("name:=Register: Mercury Tours").Page("title:=Register: Mercury Tours").WebTable("name:=firstName")

X.ChildItem(2,1,"WebEdit",0).Set "Hi"

It returns an error saying "Object Required". The same thing happens with the ChildItemCount method.

I am using QTP 10. Is it the reason of the error being thrown?

I am trying the code on Registration Page

If you spy the table "contact information", you should be able to see 18 rows in the spy window.

The rowcount and columncount are working perfectly fine. Please help!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  how to identify method & properties require braces or not abhi_biradar2006 2 2,118 05-22-2014, 08:29 AM
Last Post: abhi_biradar2006
  Error in childitem method mailashy78 1 2,495 11-25-2009, 07:24 PM
Last Post: sreekanth chilam
  Require QTP 9.2 Krishna5 1 1,940 04-22-2009, 12:24 PM
Last Post: Tarik Sheth
  does qtp require webservice add in to test webserice? hikpvasanth 1 1,833 10-07-2008, 07:26 PM
Last Post: niranjan

Forum Jump:


Users browsing this thread: 1 Guest(s)