Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error object doesnt support this property or method
#1
Solved: 11 Years, 6 Months ago
I've been trying to get around this for a while and can't seem to get it. The code below gives the error

"Object doesn't support this property or method: rCount=Browser("Yahoo!").Page("Yahoo! Finance - Business").WebTable("Most Actives","index:=0").RowCount"

The end result I'm trying to achieve is copy data from "Most Actives" table on this site and paste it into a text document.

Any ideas? Thanks



Code:
Browser("Yahoo!").Page("Yahoo!").Link("Finance").Click          
Browser("Yahoo!").Page("Yahoo! Finance - Business").Sync
Wait 10

Dim rCount
Dim cCount
Dim cData

rCount=Browser("Yahoo!").Page("Yahoo! Finance - Business").WebTable("Most Actives","index:=0").RowCount
cCount=Browser("Yahoo!").Page("Yahoo! Finance - Business").WebTable("Most Actives","index:=0").ColumnCount
For r=1 to rCount
cCount=Browser("Yahoo!").Page("Yahoo! Finance - Business").WebTable("Most Actives","index:=0").ColumnCount(r)
For c=1 to cCount
cData=Browser("Yahoo!").Page("Yahoo! Finance - Business").WebTable("Most Actives","index:=0").GetCellData(r,c)

msgbox cData
Next
Next
Reply


Messages In This Thread
Error object doesnt support this property or method - by seerick - 06-07-2013, 10:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [UFT] Change property of object (WpfButton) robertosalemi 2 2,642 11-22-2016, 12:43 PM
Last Post: Ankur
  Intermitent "Object not visible" error erodpr 5 3,606 01-14-2016, 10:55 AM
Last Post: vinod123
  Uft 12 - Identification of Google Chrome Object's Property value as plain text teja2730 0 2,595 02-02-2015, 05:22 PM
Last Post: teja2730
  cannot use the type method on object and submit is not working jove1776 5 8,940 01-27-2015, 10:08 PM
Last Post: Parke
  ERROR : Object reference not set to an instance of an object. Suyashxp 2 7,292 12-30-2014, 11:32 AM
Last Post: ursprasadp

Forum Jump:


Users browsing this thread: 2 Guest(s)