AutomationNameValue in intemRenderer : QTP Crashing

HI 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_components2_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

Share and Enjoy:
  • Print
  • email
  • PDF
  • Digg
  • Facebook
  • LinkedIn
  • Twitter
  • Live
  • Yahoo! Bookmarks
  • Google Bookmarks

Leave a Reply