Forum Discussion

pravin_k99's avatar
pravin_k99
Contributor
12 years ago

Table Checkpint for Swings JTable only works with plain data in cell not complex data

Hello There,



I have several issues Table Checkpoint. Can someone help



1) The TC help suggests if the table checkpoint fails, it logs warning but for me its logging an error how can I change that?

2) JTable Table Checkpoint can capture only simple plain text values from the table while capturing the table checkpoiint. I have some complext things in Jtable like, a dropdwon inside a cell or a value which is driven by complex structure like adding $ sign or timeformat in the frontend. This is not picked by the default table created by TC during Table Checkpoint.



Hence I have to use getValueAT(x,y).toString for each cell to verify value. and its painful.



Help much appreciated. Check the screenshot attached.



One of the possible solution for me is if we change the Table Capture to capture value using getValueAt(x,y).to String it can save numbe of users time. At the moment I guess internally wValue is been implemented to grab values and hence It couldnot grab all values.



Thanks

Pravin

3 Replies