Flash Builder 4 has been released!!

7 04 2010

Finally Flash Builder 4 has been released and this is a very exciting era for Automation!In Flas Builder 4 we have provided support for AIR automation,automation of spark components as well as automation of marshalled applications!! So try it out!!

Advertisements

Actions

Information

15 responses

8 04 2010
Mark.Sawyer

Hello,

I’ve tried looking for the always dependable release notes that used to have the steps to needed to automate air projects(http://labs.adobe.com/wiki/index.php/Flash_Builder_4:Release_Notes). It used to have the section on what swc’s to include before compiling air projects so QTP can communicate with the air app.

But alas, they’ve been moved to http://www.adobe.com/products/flashbuilder/. I searched the document section but could not find that information. The last successful compile i did, i used:

-include-libraries “C:\Program Files\Adobe\Adobe Flash Builder Beta 2\sdks\4.0.0.13875\frameworks\libs\automation\automation.swc” “C:\Program Files\Adobe\Adobe Flash Builder Beta 2\sdks\4.0.0.13875\frameworks\libs\automation\automation_agent.swc” “C:\Program Files\Adobe\Adobe Flash Builder Beta 2\sdks\4.0.0.13875\frameworks\libs\automation\qtp_air.swc” “C:\Program Files\Adobe\Adobe Flash Builder Beta 2\sdks\4.0.0.13875\frameworks\libs\automation\automation_dmv.swc” “C:\Program Files\Adobe\Adobe Flash Builder Beta 2\sdks\4.0.0.13875\frameworks\libs\automation\automation_airspark.swc” “C:\Program Files\Adobe\Adobe Flash Builder Beta 2\sdks\4.0.0.13875\frameworks\libs\automation\automation_spark.swc” “C:\Program Files\Adobe\Adobe Flash Builder Beta 2\sdks\4.0.0.13875\frameworks\libs\automation\automation_air.swc”

I’ve attempted to use the 4.0.0.14159 sdk and QTP stopped recognizing my Air project object. I’ve wonder if i’m still using the right swc’s.

21 04 2010
17 06 2010
Jack

Hi,
I’m trying to get QTP to see a spark List component. It shows up in the Object Spy, but only as a FlexObject, as opposed to SparkList, as I would expect. Do you know what the reason for this might be? My team requires the identification of the component and I haven’t seen a reason for this anomaly. Thanks!

18 06 2010
svakil

Hi
Is your spark list a custom component ?
Can you please log a bug at http://bugs.adobe.com/jira/secure/Dashboard.jspa and provide a small sample application where u are facing this issue and i will look into it

18 06 2010
Jack

Thanks – I just did as you requested. The item is this: http://bugs.adobe.com/jira/browse/FLEXENT-1310

29 06 2010
Jack

Hi Shanaz – The newer TEAFlex.xml did the trick.

I have another issue with QTP and Flex: if QTP’s object repository contains a control that is created dynamically, say a TextArea, then a test is run where the control does not yet exist, QTP will not have an error condition finding it, but instead will use the first object of the same automationClassname, e.g. the first TextArea it can find. I have a small test app that illustrates that; would you like to see it in bugs.adobe.com, or does this feel like a QTP bug? I have smart identification turned off, btw. Thanks!

30 06 2010
svakil

Hi
If the textArea has a unique id then this issue will not occur.As we will use the id to identify the textarea during recording and if the textarea with the same id is not present during replay then QTP will throw an error.If you don’t provide QTP with any unique identification f the component then the QTP by default uses the automationIndex value which is dynamically generated based on the components present on the screen during replay.For eg during recording we have 2 textarea components having automationindex 0 and 1 during replay as the required textarea is created dynamically and is not present on the screen then textarea2 will get automationindex value 0 and will be identified .adding unique ids to both textareas will solve this problem.

2 07 2010
Jack

I have been testing this exhaustively and having conflicting results: in a small test app, I get the error if the object does not yet exist, but in the app we’re developing, adding an ID does not help; anything I do, the Object Repository Manager’s “highlight” tool will still highlight the first advancedDataGrid if the 2nd one does not exist yet. I can’t figure out what could be different between the 2 apps that could cause this either. Do you have any ideas? Thanks!

30 06 2010
Jack

I tried that and you’re right, it did give an error, though the error was unexpected: “The test object description is not unique. More than one object in the application matches the description”. Is that what you would expect, and would it test false for existence, do you suppose? I can email you the test mxml if you’d like to see it.

6 07 2010
svakil

Hi ,Yes please log a bug in the adobe bug base with your mxml.

6 07 2010
Jack

Hi Shanaz. I have done that, so there are now two new bugs entered as of today (July 7, 2010). Thank you.

30 06 2010
Jack

Also, regarding the updated TEAFlex.xml as per the bug report in adobe bug tracking, I gave that file to a tester, and for her the entire object recognition was messed up – sparkboxes lost their automation names and had a generic icon. I will post a screenshot in the bug report and hope you will have an idea about this. Thanks!

6 07 2010
svakil

Hi
The teaFlex.xml file you were using earlier was from the Flash Builder 4 beta version and that was bound to change as we hadnt completed automation of all spark components etc.The one i sent you is the final one released with Flash Builder 4

6 07 2010
Jack

You’re right, the new one is much better! However the new one seems to be lacking another component: AdvancedDataGridGroupItemRenderer, which shows up in QTP as FlexObject. I’ll submit a report in the Adobe bug base for this too. Thanks – Jack

7 07 2010
Jack

I created an MXML and screen movie that show exactly how to reproduce a situation where a text input that is no longer present in an app but is present in the Obj Repository Manager. When you press Highlight in ORM, the _wrong_ text input is highlighted. Please see new bug 1317.

http://bugs.adobe.com/jira/browse/FLEXENT-1317

This is problem is a serious impediment to our testing; I hope you have a chance to look at this very soon. Thanks!

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: