| || |
Pulling property values from a Cell
The issue i'm having is on a report page I need to pull a tooltip value. The issue i'm having is when there are multiple values which match on the page, I receive an error message stating that more then 1 object matches.
What I was wondering is if its possible to pull the cell data's properties...for example pull cell (5,6) x and y properties so I can add that to the script, that way It will help narrow down the link rather then failing everytime there are multiple instances.
For i = 4 To 13
val1 = Browser("Projects").Page("Project Financials").WebTable("Technology Project Completion").GetCellData(i,5)
If Left(val1,1) = "$" Then
aval1 = split (val1," ")
aval1(0) = Right(aval1(0),len(aval1(0))-1) ' removing the$ sign 'cause this is a regular expression
Browser("Projects").Page("Project Financials").Link("html tag:=A","text:=."&aval1(0)).FireEvent "onmouseover"
aval1(0) = Browser("Projects").Page("Project Financials").WebElement("html id:=dhtmlgoodies_tooltip").GetROProperty("innertex t")
aval1(0) = Right(aval1(0),len(aval1(0))-1) 'remvoing the $ sign
datatable.Value ("val1","Trend_Status_Change") = aval1(0)
Re: Pulling property values from a Cell
Is it possible to pull the PROPERTIES of a cell value in a table. If so please let me know how one does this. I need to pull all properties.