This HP Community is for Customer to Customer Product Support. First Time Here? Check Out Videos on How to Search, Register, Post and More.

Qtp is recognizing the objects as Spark objects/Components with prefix as flex buttons. (157 Views)
Reply
Honor Student
Sylu
Posts: 2
Registered: ‎08-17-2011
Message 1 of 3 (157 Views)

Qtp is recognizing the objects as Spark objects/Components with prefix as flex buttons.

This product was developed using Flash Builder 4 with the Flex 4 SDK.  I was not aware of any unique QTP requirements with respect to Flex 3 vs. Flash Builder 4.  Are there limitations / restrictions with the product when testing an app built using Flash Builder 4?

 

Here I'm seeing the scripts recording by the qtp as:


Browser("Certificate Error: Navigation").SparkApplication("VehiclesTab").SparkBorderContainer("index:2").SparkBorderContainer("index:3").FlexRadioButton("Vehicle").Click
Browser("Certificate Error: Navigation").SparkApplication("VehiclesTab").SparkBorderContainer("index:2").SparkBorderContainer("index:3").FlexRadioButton("Search").Click
Browser("Certificate Error: Navigation").SparkApplication("VehiclesTab").SparkBorderContainer("index:2").SparkBorderContainer("index:3").FlexRadioButton("Vehicle").Click
Browser("Certificate Error: Navigation").SparkApplication("VehiclesTab").SparkBorderContainer("index:2").SparkBorderContainer("index:3").FlexComboBox("searchCombo").Open
Browser("Certificate Error: Navigation").SparkApplication("VehiclesTab").SparkBorderContainer("index:2").SparkBorderContainer("index:3").FlexComboBox("searchCombo").Select "105001778 [105001778]"

 

 

My question is here it is recognizing as the Spark application Instead of Flex app so whatever the qtp is doing write now is right or wrong . Please need the answer as soon as possible.

 

I'm using windows7 with Qtp 10.0, IE 8 and I configured everything well. Sorry for my english

Please use plain text.
Student
pwhilgert
Posts: 2
Registered: ‎04-13-2012
Message 2 of 3 (62 Views)

Re: Qtp is recognizing the objects as Spark objects/Components with prefix as flex buttons.

I am not sure of your exact issue.  Does the code you provide playback?  If so, that's really all that matters.

Please use plain text.
Student
pwhilgert
Posts: 2
Registered: ‎04-13-2012
Message 3 of 3 (61 Views)

Re: Qtp is recognizing the objects as Spark objects/Components with prefix as flex buttons.

You should also post this in the QTP forum and not this one, you'll get more help once you clarify your issue.

Please use plain text.