Forum Discussion

abhijit_jain's avatar
abhijit_jain
Occasional Contributor
13 years ago

TestComplete - Javaswing Application and ClickCell method for Java Swing Table

Hi,



 I am trying to click on particular cell inside a Java swing table.

On clicking a cell my application populates some value in text area field which I have to verify.



Issue is :- When clicked  Application throws an exception preventing us to proceed with the remaining test steps. Manually this works fine, happens only when executed using the script.



My Code :



Public Sub TestCaseName ()



    Set ObjTable = Tableprop

    Call ObjTable.ClickCell(1,"Column Name")



End Sub



Note:-

1) Double click on cell to open another window is working fine, It also simulates single click on cell, but application gets hanged only when clickcell is required to populate some values in text field.

2) Application also gets hanged when the same operation is recorded.



I am using TestCompelte 8.20 and my application environment is Java Swing.



Please help.

Thanks,

Abhijit Jain





1 Reply


  • Hi Abhijit,





    Please update to the latest version of TestComplete (v. 8.50) and check whether the problem can be reproduced with this version.