Home > Uncategorized > QTP runtime error. TypeError: Error #1006: showConnectionAttemptMessage is not a function.

QTP runtime error. TypeError: Error #1006: showConnectionAttemptMessage is not a function.

If you compile an air application against the latest Flex 4.6 SDK and include the QTP and automation libraries, you will hit a wall:

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

at mx.automation.qtp::ClientSocketHandler()[C:\work\flex\dmv_automation\projects\qtp_air\src\mx\automation\qtp\ClientSocketHandler.as:163]
at mx.automation.qtp::QTPAgent/applicationCompleteHandler()[C:\work\flex\dmv_automation\projects\qtp_air\src\mx\automation\qtp\QTPAgent.as:127]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.managers::SystemManager/preloader_preloaderDoneHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2677]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/displayClassCompleteHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\preloaders\Preloader.as:582]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at spark.preloaders::SplashScreen/dispatchComplete()[E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\preloaders\SplashScreen.as:545]
at spark.preloaders::SplashScreen/preloader_initCompleteHandler()[E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\preloaders\SplashScreen.as:514]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/dispatchAppEndEvent()[E:\dev\4.y\frameworks\projects\framework\src\mx\preloaders\Preloader.as:380]
at mx.preloaders::Preloader/appCreationCompleteHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\preloaders\Preloader.as:590]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:13152]
at mx.core::UIComponent/set initialized()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:1818]
at mx.managers::LayoutManager/validateClient()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1090]
at mx.core::UIComponent/validateNow()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:8077]
at spark.components::WindowedApplication/window_resizeHandler()[E:\dev\4.y\frameworks\projects\airspark\src\spark\components\WindowedApplication.as:2671]

Please vote for the bug to be addressed if you use automation. Is anyone else seeing this error?

As a workaround, we are using a pre-release version of the SDK (build 23043).

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: