is there any frame-work or tool to test java-applets in python
I don't understand exactly what you mean or why you want to test Java in Python but Jython may be helpful.
java-applet gui testing with python