Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DataGridTemplateColumn's cells cannot be edited...
#4
Not Solved
Hello,

I am facing the same problem. Why "SetCellData" does not work. All other objects - editFields, comboBoxes, checkBoxes, buttons, etc... works well.

Code:
WpfWindow("batchJob").WpfTable("batchJobConfig").ActivateCell 3, 1
WpfWindow("batchJob").WpfTable("batchJobConfig").SetCellData 3, 1, "1000"

When I execute the code above, UFT correctly activates wpf table cell I wish to edit / update, but then nothing happens. No error message either. So I suspect that UFT thinks everything went well. Maybe some cell property value was changed or attempt was made, but result is that I - as a user - see that nothing happened.

I tried lot of walkarounds, but the only one that works is this:

Code:
WpfWindow("batchJob").InsightObject("contractId").Click
wait 2
Set obj=CreateObject("Mercury.DeviceReplay")
obj.SendString "50000427"

but as you see, I am using InsightObject for identification which is extremely unreliable (especially for table objects) when ANYTHING changes and in case of filling more table cells, it is unsustainable approach.

Could you please give me advice what to use in order to fill the value for real?

THANKS in advance
Lukas
Reply


Messages In This Thread
RE: DataGridTemplateColumn's cells cannot be edited... - by krupaluk - 10-02-2014, 05:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to identify controls embedded within WinListView cells Devesh Thakur 5 2,746 04-19-2018, 10:56 AM
Last Post: Devesh Thakur
  Webtable().GetCellData() Returns hidden values of Cells ssvali 4 5,953 06-07-2013, 08:37 PM
Last Post: kawsar
  Extracting Data from Excel Cells bjotorres 3 4,240 01-02-2009, 06:57 PM
Last Post: nageshpv

Forum Jump:


Users browsing this thread: 1 Guest(s)