I got a problem to learn objects on telephone simulator which is developed by Java script.

Now I have project to do automated script for regression test for telephone simulator and I don't know which testing tool can handle this problem.

So many testcases need to be verified by logging in and logging out feature and the other testcases has been developed by TCL.

Which is testing tool can work with TCL script and also capture the object on simulator program?

Please advise.