11-27-2010, 01:55 AM
Hi,
Iam trying to write a script using some descriptive vb script programming and most part is using the record feature in QTP.
My problem is when I recorded the test and ran it was working fine.
but next day when I tried to run the same script which was successful earlier getting failed with messages like the object not found.
"Cannot identify the specified item of the TabBar object. Confirm that the specified item is included in the object's item collection.
Line (4):
how to make the objects always unique and the test should be always successful. Could you please give me some information.
Thanks
Iam trying to write a script using some descriptive vb script programming and most part is using the record feature in QTP.
My problem is when I recorded the test and ran it was working fine.
but next day when I tried to run the same script which was successful earlier getting failed with messages like the object not found.
"Cannot identify the specified item of the TabBar object. Confirm that the specified item is included in the object's item collection.
Line (4):
Code:
"JavaWindow("Client Information System").JavaInternalFrame("Client Demographics").JavaTab("TabBar").Select "Group B""
how to make the objects always unique and the test should be always successful. Could you please give me some information.
Thanks