Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SetCellData issue with JavaTable
#1
Not Solved
Hi All,
I'm facing an issue with SetCellData in my Java Application for an JavaTable. 

Note: Manually also user is not able to edit in a single click. User has to double click than only he will be able to add/update.

Recorded Lines example:- 

Code:
    JavaWindow("abc").JavaTable("def").ActivateRow "#0"
    JavaWindow("abc").JavaTable("def").SetCellData "#0","Wait to Restore (sec)","0"

Code:-

Code:
JavaWindow(aq).JavaTable(o_table).ActivateRow "#0"
JavaWindow(aq).JavaTable(o_table).SetCellData ""#0","Wait to Restore (sec)", wait_time

But still not working as expected. Kindly help.
Reply
#2
Not Solved
Just before using SetCellData statement, use a method which can first enable the Cell to take data input. As you mentioned, even manually it doesn't goes into edit mode with a single click.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Not Solved
(09-26-2017, 08:37 PM)Ankur can you please help me with this as i\m completely new to this. Wrote: Just before using SetCellData statement, use a method which can first enable the Cell to take data input. As you mentioned, even manually it doesn't goes into edit mode with a single click.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Using SAPGuiTable).SetCellData to Active cell. rhozeski 2 2,268 02-10-2020, 10:44 PM
Last Post: rhozeski
  QTP10- Javatable Checkbox Issue alokgupta010 1 2,772 07-09-2012, 10:44 AM
Last Post: sshukla12
  JavaTable(...).ClickCell stop working with new java version 1.6.14 huaqtp 4 6,213 07-16-2011, 11:13 PM
Last Post: guin.anirban
  Cell Editable or Not in JavaTable anshul.grg07 0 2,713 05-18-2011, 01:00 AM
Last Post: anshul.grg07
  How to verify list box values present in JavaTable? dineshb 4 7,170 05-13-2011, 12:48 AM
Last Post: mitch

Forum Jump:


Users browsing this thread: 1 Guest(s)