Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object doesn't support this property or method
#1
Not Solved
Hi all,

I was trying to parameterize the values in a drop down list and perform certain operation for each value.But i got the following error message.
Can any one help me out of this.

"Object doesn't support this property or method:
Code:
'Browser(...).Page(...).Frame(...).GetItemsCount'"

My code was

Code:
Dim co
Set co=Browser("...").Page("...").Frame("DataFrame_4").GetItemsCount
For i=0 to co-1

val=Browser("...").Page("...").Frame("DataFrame_4").GetItem(i)
Browser("...").Page("...").Frame("DataFrame_4").WebFile("f1").Set "C:\Desktop\Today.txt"
Reply
#2
Not Solved
Hi,
In the above code, the non-object value is returned so "Set" should not be used with variable "co".
I think that ways it should work.

Thanks
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  File Chooser on Chrome doesn't work - UFT 15.0.1 Nenna Rosa 1 3,305 10-31-2020, 01:16 PM
Last Post: Ankur
  [UFT] Change property of object (WpfButton) robertosalemi 2 2,487 11-22-2016, 12:43 PM
Last Post: Ankur
  Uft 12 - Identification of Google Chrome Object's Property value as plain text teja2730 0 2,456 02-02-2015, 05:22 PM
Last Post: teja2730
  cannot use the type method on object and submit is not working jove1776 5 8,380 01-27-2015, 10:08 PM
Last Post: Parke
  Object doesn't support this property or method: 'webedit' Divya Roopa 3 9,685 03-11-2014, 07:26 AM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)