Flex and QTP 9.5
I have QTP 9.5 and the Flex Add-in added and installed.
The first problem is I can't seem to build a correct OR. I run the learn OR thing in the OR manager in the IE window that my flex application is running in and I get an OR for IE not for my flex application.
This is the OR I get if I run it on the window with my flex app open.
The other issue I am having is with what QTP9.5 is detecting. For example I cannot detect simple text fields or some buttons. I say some buttons because I am able to detect some of them and some I can't. The following screen shots show that QTP is able to detect some buttons and other stuff but not others.
Here is the app I am clicking on. The "About" button is on the top right. the tabs are directly below that.
This is what happens when I click on "About"
As you can see it is correctly identifying the About button but when I go to click on any other button I get this.
for example If I click on one of the tabs I get this..
So I really don't understand why it isn't detecting all the objects. I have the flex app doing the run time QTP debug system that they suggested in the tutorials as well. Just don't understand why QTP isn't recognizing all of the objects.
any help would be appreciated.
Re: Flex and QTP 9.5
I also encounter same problem. I solve this problem to modify Flex source code by showInAutomationHierarchy=true at fbAppView object.
Please let me know if anyone know other way.
Re: Flex and QTP 9.5
Well I think this worked or seems to. I am now able to click on my Username and password fields, along with the login button that I wasn't able to before.
The only 2 other things I have found is do you know how to make an OR in flex? All I keep getting is the OR for the IE application itself. Not the contents in the page.
the other thing I am having issues with is getting the data from the text box.
In the above image when you mouse over the orange column the text box with the information in it that is sitting over the column then pops up. How would I go about getting the information from that?
Just got the dev working on the flex app to add it and it did work. Thank you! Whoever is having the same problem this is a solution.