Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-30440

AutomationID.parse, automationManager.resolveID and IAutomationObject:createAutomationIDPart are taking longer time when Flex application has many controls.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • Framework Sync
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      In RFT Flex testing we have some functions which go through the complete control heirarchy starting from Flex aplication as root to all its children till leaf nodes. This is basically done to find all controls which have certain properties, which can be anywhere in the flex application.

      Its taking a very long time when Flex application is huge , containing many controls (sample attached)
      From the log and time captured in debug flash player log, it looks the time taken by the three automation methods increases gradually and becomes around 300 milliseconds for one control's parsing, resolveid.
      For big application the cumulative delay becomes very high.
      Methods are : AutomationID.parse, automationManager.resolveID and IAutomationObject:createAutomationIDPart

      1.For the sample attached here try to run these methods for each control in the application starting from Flex application and then get its children using automationManager.getChildren()and repeat process on same.

      2.If you record timings of each of these methods , gradually it becomes more.

      Actual Results:
      performance hit

      Expected Results:
      It should take less time.

      Workaround (if any):
      No

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: