Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Want to read the data from excel and set read value in the JavaTable
#1
Not Solved
Hi all,

I tried to  read the the value from the excel and add the value in the java table below is the code

 
datatable.Import "C:\Users\rajeevk7\Downloads\data.xls"
a=datatable.GetRowCount()
For i= 1 to a
datatable.SetCurrentRow(i)
JavaWindow("42_Head - Cisco Transport_2").JavaDialog("New Profile").JavaEdit("New Profile Name:").Set datatable.Value(1,1)
JavaWindow("42_Head - Cisco Transport_2").JavaDialog("New Profile").JavaButton("OK").Click
JavaWindow("CTC").JavaTable("AlarmProfileTable").selectSelectcell("#25","Node80").set datatable.Value(2,1)

I want to add the value from the \data.xls on the java table -- alaram Profile.

Please help me.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Set data parameters Mik2s 1 1,478 03-07-2019, 10:18 PM
Last Post: supputuri
  Access to JavaCombobox in JavaTable cell? jarkkop 2 3,732 10-17-2018, 09:32 PM
Last Post: riyaz
  Set Value in JavaEdit Inside JavaTable yonobev 9 12,971 11-08-2017, 11:12 PM
Last Post: lotos
  dtLocalSheet empty even though excel file contains data cantorre 2 2,427 05-10-2017, 12:47 PM
Last Post: vidhi
  Reading data from excel sheet serenediva 1 9,596 03-03-2017, 10:07 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)