K you neeed to do little modification
Dim Site1Coord
Site1Coord = javawindow("new
project").JavaTable("PropertyTable").GetCellData ("#2", "#1")
and IF you want to pass the value dynamically then use row count and
column count property of runtime and then use For loop.
LEt me know if u still need helpOn Mar 13, 1:08 am, ooth suresh <[email protected]> wrote: > hi > I want to get the data in a cell of a table to be captured in a variable. I > tried the following command > > Dim Site1Coord > Site1Coord = javawindow("new > project").JavaTable("PropertyTable").GetCellData (2, 1) > > but still Site1Coord says "Cannot Evaluate" in Watch column. Could someone > please help me in this case?? > > Regards > Suresh S --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
