Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selecting a cell from Javatable at RUN time
#2
Not Solved
Try with the below code:

Code:
intSchCount = JavaWindow("EclipseEJ").JavaDialog("Online Credit Agreement").JavaTable("Select products:").GetROProperty("rows")

Scheme = DataTable("Scheme",dtLocalSheet)

For i = 0 to intSchCount-1
Sch=JavaWindow("EclipseEJ").JavaDialog("Online Credit Agreement").JavaTable("Select products:").GetCellData(i,"A")

If (Sch=Scheme) then
JavaWindow("EclipseEJ").JavaDialog("Online Credit Agreement").JavaTable("Select products:").[b]ChildItem(i,"C","JavaButton",0).Click[/b]Exit for
end if
Next
Reply


Messages In This Thread
RE: Selecting a cell from Javatable at RUN time - by sreekanth chilam - 11-20-2009, 06:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Access to JavaCombobox in JavaTable cell? jarkkop 2 3,476 10-17-2018, 09:32 PM
Last Post: riyaz
  Set Value in JavaEdit Inside JavaTable yonobev 9 11,800 11-08-2017, 11:12 PM
Last Post: lotos
  Want to read the data from excel and set read value in the JavaTable rajeevk7 0 2,173 07-10-2017, 04:20 PM
Last Post: rajeevk7
  Working on javatable reddyraam10 0 1,600 02-07-2017, 08:12 AM
Last Post: reddyraam10
  QTP not selecting appropriate webelement from the webtable..Need Solution satishkumarm 11 21,090 03-23-2016, 12:47 PM
Last Post: Swetha_Bayya

Forum Jump:


Users browsing this thread: 1 Guest(s)