Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to put a JTable in a variable
#1
Solved: 11 Years, 4 Months ago
Hello,

I have got a JTable :
Code:
JavaWindow("Log Message").JavaTable("MessageTable")

I would like to put it in a variable, in order to use it like that :
Code:
a = JavaWindow("Log Message").JavaTable("MessageTable")
a.GetCellData(0, 2)

Unfortunately it doesn't work.


Does anybody have an idea ?
Ok I found it sorry.

FYI :
Code:
Set a = JavaWindow("Log Message").JavaTable("MessageTable")
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  message box,need to put code in fn library diya 6 3,979 12-05-2012, 10:52 AM
Last Post: diya
  Function works fine in QTP but when i put it in vbs file it throws syntax error Rashmi 0 2,250 08-13-2008, 09:13 PM
Last Post: Rashmi

Forum Jump:


Users browsing this thread: 2 Guest(s)