Hi Flexpert,
I am using Flex 2.01 and trying to set up the automation for QTP 9.5,
the recording is fine. And it generates the following script just for
a login page.
Browser("Browser").FlexApplication("trial").FlexBox
("loginView").FlexPanel("Login form").FlexForm("index:0").FlexTextArea
("User ID::loginName").SelectText 0,0
Browser("Browser").FlexApplication("trial").FlexBox
("loginView").FlexPanel("Login form").FlexForm("index:0").FlexTextArea
("User ID::loginName").Input "userID"
Browser("Browser").FlexApplication("trial").FlexBox
("loginView").FlexPanel("Login form").FlexButton("Submit").Click
Browser("Browser").Page("Page").Sync
Browser("Browser").Close
However when the script was run. It throw the following error message
Cannot find the "User ID::loginName" object's parent "trial" (class
FlexApplication). Verify that parent properties match an object
currently displayed in your application.
It seems that the QTP cannot run the script generates by itself. Does
anyone have suggestion? Is it about the version of the player? Or QTP
9.5 not good for Flex 2?
Regards,
Dan