Dharmendra
Mon, 08 Feb 2010 19:32:20 -0800
Hello All, I have a checkBox and a ComboBox based item renderer in datagrid. As soon as QTP automated script clicks on checkbox (Itemrenderer) or select a value from Cbox(itemrender) , QTP crashes. I have tried to set automationNameValue by overriding icreateAutomationIDPart in itemrenderer as suggested by adobe in following link http://livedocs.adobe.com/flex/3/html/help.html?content=functest_compone\ nts2_16.html <http://livedocs.adobe.com/flex/3/html/help.html?content=functest_compon\ ents2_16.html> Basically , I have overridden createAutomationIDPart method in both itenrederer import mx.automation.IAutomationObject; override public function createAutomationIDPart(item:IAutomationObject):Object { var id:Object = super.createAutomationIDPart(item); id["automationName"] = id["automationIndex"]; return id; } QTP continues to be crashed even after overriding above method . Please suggest some ways/ideas to solve this issue. Flex Version - 3.2 Thanks & Regards Dharmendra Chouhan