Expand my Community achievements bar.

Not able to identify Flex Objects from QTP 9.2

Avatar

Level 1
Hi,



I have QTP 9.2 on my machine and have installed Flex Add-ins
for the same

I am able to record the Flex controls/Objects in the script
and it shows the script as shown below

(I am recording on Adobe Automation ready Application:
http://www.adobe.com/devnet/flex/samples/flex_store_v2/)



***************SCRIPT AS RECORDED***************

Browser("Adobe - Flex Store: Automation").Page("Adobe - Flex
Store: Automation").Image("Flex Store image").Click

Browser("FlexStore").FlexApplication("flexstore").FlexCanvas("Home").FlexButton("Go").Click

Browser("FlexStore").FlexApplication("flexstore").FlexAlert("Go").FlexButton("OK").Click



However, when i try to Playback the same, QTP does not seem
to recognize the "FlexApplication"

The object repository does not highlight the
"FlexApplication" and give the Pop-up message "The Selected object
cannot be found in the application, Check that the application is
open the correct page or window and that the object and its parent
do not have parameterized values"



P.S. I havenot parameterized anything, Just simple Record and
play



I appriciate your time and efforts





1 Reply

Avatar

Level 1

Hi

I am facing the same issue; but for our application. I am able to work fine with other Flex application, the issue is with only one application.

Is there any reason or solution to this. Please advice.

Thanks

Komala