2008年3月10日星期一

ExternelInterface.addcallback: A simple Flex application automated functional testing problem.

Dev environment:
FlexBuilder 2 + QTP

Problem:
The QTP cannot get the properties of every component when add some checkpoints.

Solution:
The cause of this problem is that I add a call back function in my flex application with the same name "getProperties" which is registered by QTP also.

ExternelInterface.addcallback("getProperties", functionName);

So avoid this in your code.

没有评论: