I have this code:
Set columnNamesTable = browserPage.WebTable(mainTable).ChildItem
(1,1,"WebTable",0)
Set structureTable = browserPage.WebTable(mainTable).ChildItem
(2,1,"WebTable", 0)
columnNo = GetColumnNumber(columnNamesTable, "Lock")
if(columnNo = -1) then
Reporter.ReportEvent micFail, "Lock Column", "Lock Column was not
found in the table"
else
rowNo = structureTable.GetRowWithCellText("material_cart.asm")
set LockImage= structureTable.ChildItem(rowNo,
columnNo,"Image",0)
end if
When I get LockImage Object its declared as image class in QTP or img
using DOM, I want to get the title. I cannot use GetROProperty
because title is not one of the attributes, however it is an attribute
if I use DOM.
Basically, I am trying to get the title string for LockImage. Can
someone help?
I tried: LockImage.Object.title but this obviously didn't work.
Thank you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---