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

QTP-Spark editable Data Grid automation failed while editing or inserting data into the Grid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Spark Components
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows
      Language Found: English

    Description

      Steps to reproduce:
      1.Try Automating Spark editable datagrid and replay(Enter text in DG)

      Attached files may usefull to repro the issue.

      Actual Results:
      Browser("Browser").SparkApplication("Flex_Components").SparkDataGrid("_Flex_Components_DataGrid1").Select "data1 | data1 | data1"
      Browser("Browser").SparkApplication("Flex_Components").SparkDataGrid("_Flex_Components_DataGrid1").Select "data1 | data1 | data1"

      Browser("Browser").SparkApplication("Flex_Components").SparkDataGrid("_Flex_Components_DataGrid1").Select "data1 | data1 | data1"

      Browser("Browser").SparkApplication("Flex_Components").SparkDataGrid("_Flex_Components_DataGrid1").SparkTextArea("textArea_4").SelectText 5,5
      Browser("Browser").SparkApplication("Flex_Components").SparkDataGrid("_Flex_Components_DataGrid1").SparkTextArea("textArea_4").Input "3333333"
      Browser("Browser").SparkApplication("Flex_Components").Click

      Problem is at 3rd step.............

      Error on UI wile Replay:

      TypeError: Error #1034: Type Coercion failed: cannot convert spark.components.gridClasses::DefaultGridItemEditor@ae770a1 to spark.components.gridClasses.IGridItemRenderer.
      at mx.automation.codec::RendererPropertyCodec/decode()[C:\svn\hero_private\frameworks\projects\automation\src\mx\automation\codec\RendererPropertyCodec.as:120]
      at mx.automation.qtp::QTPAdapter/setPropertyValue()[C:\work\flex\dmv_automation\projects\qtp\src\mx\automation\qtp\QTPAdapter.as:2851]
      at mx.automation.qtp::QTPAdapter/decodeProperties()[C:\work\flex\dmv_automation\projects\qtp\src\mx\automation\qtp\QTPAdapter.as:2816]
      at mx.automation.qtp::QTPEventDescriptor/replay()[C:\work\flex\dmv_automation\projects\qtp\src\mx\automation\qtp\QTPEventDescriptor.as:106]
      at mx.automation.qtp::QTPAdapter/replayEvent()[C:\work\flex\dmv_automation\projects\qtp\src\mx\automation\qtp\QTPAdapter.as:1080]
      at mx.automation.qtp::QTPAdapter/replayDefaultHandler()[C:\work\flex\dmv_automation\projects\qtp\src\mx\automation\qtp\QTPAdapter.as:1146]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.automation.qtp::QTPAdapter/replay()[C:\work\flex\dmv_automation\projects\qtp\src\mx\automation\qtp\QTPAdapter.as:1178]
      at Function/<anonymous>()[C:\work\flex\dmv_automation\projects\qtp\src\mx\automation\qtp\QTPAdapter.as:1237]
      at mx.automation.qtp::QTPAdapter/useErrorHandler()[C:\work\flex\dmv_automation\projects\qtp\src\mx\automation\qtp\QTPAdapter.as:2463]
      at mx.automation.qtp::QTPAdapter/run()[C:\work\flex\dmv_automation\projects\qtp\src\mx\automation\qtp\QTPAdapter.as:1190]
      at Function/http://adobe.com/AS3/2006/builtin::apply()
      at flash.external::ExternalInterface$/_callIn()
      at Function/<anonymous>()

      Expected Results:

      Automation Successfull

      Workaround (if any):

      Issue found with FB latest SDKs.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: