About Me

Gaurav Seth is a a Senior Automation Test Analyst with experience in QTP, Selenium and Ranorex tools and currently working on Automating in C# for a FX trading Client

Java Table - Click any Cell

' Following Snippet of Code will click any Cell Randomly in the Column 1 in the Java Table. a ( Row) is generated randomly and column is fixed 1



tname=Fn_Get_Object_Name(tablename)
Dim a
a=Int((15-0+1)*Rnd+2)

JavaWindow("title:="&whome).JavaTable("tagname:="&tname,"abs_y:=601").ClickCell a,1,"LEFT"