07-13-2011, 05:01 AM
I have a script (using descriptive programing) to test Java Swing application. It was running fine until we upgrade java to 1.6.14.
This is the part of the script that doesn't work anymore:
When I run with debug mode, I can see QTP found the table object and click on the cell but it just in a brief second and didn't stay focus on the cell. So when the second command run, it can't entery the text to the cell.
Does anyone have seen this strange behaver? Your help is highly appreciated!!
Thanks
This is the part of the script that doesn't work anymore:
Code:
JavaWindow(WindowObject).JavaTable(TableObject).ClickCell 0,1
JavaWindow(WindowObject).Type "test"
When I run with debug mode, I can see QTP found the table object and click on the cell but it just in a brief second and didn't stay focus on the cell. So when the second command run, it can't entery the text to the cell.
Does anyone have seen this strange behaver? Your help is highly appreciated!!
Thanks