Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Set Value in JavaEdit Inside JavaTable
#10
Solved: 11 Years, 3 Months, 4 Weeks ago
(10-12-2017, 03:30 PM)Ankur Wrote: Just before that statement you can emulate a click. Essentially the first click will select and then the second click will Set the data as required.

Hi Ankur, this is actually something which I tried and worked, the difference is that I actually used the JavaList objects inside each table's cell instead of the JavaEdit ones, see the code sample below:
Code:
'grid/table:
JavaWindow("AppMain").JavaDialog("myDialog").JavaTable("tblName").Highlight
'Column 1:
JavaWindow("AppMain").JavaDialog("myDialog").JavaTable("tblName").ClickCell 0, "col1_Title", "LEFT"
'List inside column 1:
JavaWindow("AppMain").JavaDialog("myDialog").JavaList("listName").Select valueForCol1

'Column 2:
JavaWindow("AppMain").JavaDialog("myDialog").JavaTable("tblName").ClickCell 0, "col2_Title", "LEFT"
'List inside column 2:
JavaWindow("AppMain").JavaDialog("myDialog").JavaList("listName").Select valueForCol2

'Column 3:
JavaWindow("AppMAin").JavaDialog("myDialog").JavaTable("tblName").ClickCell 0, "col3_Title", "LEFT"
'List inside column 2:
JavaWindow("AppMain").JavaDialog("myDialog").JavaList("listName").Select valueForCol3

'click OK button:
.JavaButton("text:=OK").Click
Reply


Messages In This Thread
RE: Set Value in JavaEdit Inside JavaTable - by lotos - 11-08-2017, 11:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Access to JavaCombobox in JavaTable cell? jarkkop 2 3,728 10-17-2018, 09:32 PM
Last Post: riyaz
  Objects inside WpfList shinji458 23 22,236 11-08-2017, 10:54 PM
Last Post: lotos
  Want to read the data from excel and set read value in the JavaTable rajeevk7 0 2,307 07-10-2017, 04:20 PM
Last Post: rajeevk7
  Working on javatable reddyraam10 0 1,764 02-07-2017, 08:12 AM
Last Post: reddyraam10
  Get numbers inside all webelements in webtable and sort them pradeep537 1 2,809 08-04-2016, 01:24 AM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 7 Guest(s)