I have a SelectRow method written in DP for a JavaTable
works fine in test but it is interesting that it does not work when I put the code inside a funcion, it gives function statement error. i wrote the code below, please help.
JavaWindow("label:=" &ServerNSP&".com.*").JavaInternalFrame("la bel:=Find").JavaTable("attached text:=Search Results.*").SelectRow "#1"
I look serious because I am serious.
May be basic, but check this variable 'ServerNSP' in your function.
Also post the exact error message.
The row number is mentioned like a string("#1"). Is that statement correct?
QTP / UFT Videos from my Youtube Channel
QTP / UFT Videos from my Blog
ok, I solve the issue with onether method, .GetCellData (i,0).