0 Replies Latest reply on May 7, 2010 2:10 AM by Biswamit

    FlexTestRunner from fluint is giving an error while running Test Cases

    Biswamit

      Hi

       

      FlexTestRunner http://code.google.com/p/fluint/downloads/detail?name=FlexTestRunner.mxml when run with TestSuite giving the following error

       

      TypeError: Error #1006: getInstance is not a function.

      at net.digitalprimates.fluint.ui::TestResultDisplay()[/Users/blegros/Documents/Flex Builder 3/release-1.1.1/fluint/src/main/flex/net/digitalprimates/fluint/ui/TestResultDisplay.mxml :21]

      at mx.core::Container/createComponentFromDescriptor()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\core\Container.as:3579]

      at mx.core::Container/createComponentsFromDescriptors()[C:\autobuild\3.2.0\frameworks\projec ts\framework\src\mx\core\Container.as:3493]

      at mx.core::Container/createChildren()[C:\autobuild\3.2.0\frameworks\projects\framework\src\ mx\core\Container.as:2589]

      at mx.core::UIComponent/initialize()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx \core\UIComponent.as:5370]

      at mx.core::Container/initialize()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\c ore\Container.as:2526]

      at mx.core::Application/initialize()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx \core\Application.as:846]

      at FlexTestRunner/initialize()[C:\Biswamit\Shared_Folder\Mediator3.1.1\aneris-com.cisco.nbm. navigator\src\main\flex\FlexTestRunner.mxml:0]

      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\3.2.0\frameworks\pro jects\framework\src\mx\managers\SystemManager.as:2009]

      at mx.managers::SystemManager/initializeTopLevelWindow()[C:\autobuild\3.2.0\frameworks\proje cts\framework\src\mx\managers\SystemManager.as:3234]

      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[C:\autobuild\3.2.0\framework s\projects\framework\src\mx\managers\SystemManager.as:3064]

      at mx.managers::SystemManager/docFrameListener()[C:\autobuild\3.2.0\frameworks\projects\fram ework\src\mx\managers\SystemManager.as:2916]

       

      Just for information I am trying to use Sequence Runner in my TestCases

       

      But without the Sequence Runner two just the FlexTestRunner.mxml is giving the same above error

       

      Please help

       

      Regards

       

      Biswamit