[Flex4] It seems impossible to track Alert-dialogs

Class library usage, coding and language questions.
chrisdutz
Posts: 9
Joined: Thu Nov 18, 2010 3:26 pm

[Flex4] It seems impossible to track Alert-dialogs

Post by chrisdutz » Tue Nov 23, 2010 2:50 pm

Hi,

whenever I open an Alert-dialog using Alert.show i cannot detect the texts and the buttons of that dialog. Unfortunately I need to inspect the message on those dialogs. How can I do this?

Chris

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: [Flex4] It seems impossible to track Alert-dialogs

Post by Support Team » Tue Nov 23, 2010 4:45 pm

Hi,

Have you tried to instant track the element? Therefore please take a look to following link
http://www.ranorex.com/support/user-gui ... html#c1797

Regards,
Peter
Ranorex Team
.
Image

chrisdutz
Posts: 9
Joined: Thu Nov 18, 2010 3:26 pm

Re: [Flex4] It seems impossible to track Alert-dialogs

Post by chrisdutz » Tue Nov 23, 2010 5:18 pm

Well I have tired and it didn't have any effect. I attached a snapshot.
Attachments
Alert.rxsnp
(178.84 KiB) Downloaded 255 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: [Flex4] It seems impossible to track Alert-dialogs

Post by Support Team » Wed Nov 24, 2010 11:01 am

Hi,

Please can you post us a Ranorex Snapshot of the whole Flex Application?
Because the Alert window is nested one or two levels higher than the actual snapshot shows and therefore we cannot see the window.

Thanks in advance.

Regards,
Peter
Ranorex Team
.
Image

chrisdutz
Posts: 9
Joined: Thu Nov 18, 2010 3:26 pm

Re: [Flex4] It seems impossible to track Alert-dialogs

Post by chrisdutz » Wed Nov 24, 2010 12:06 pm

Hi,

It seems that I cannot track anything that is discplayed by the PopupManager. The Problem I am having with alerts seem to be the same as with any other modal dialog.
Attachments
entire-app.rxsnp
(163.82 KiB) Downloaded 212 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: [Flex4] It seems impossible to track Alert-dialogs

Post by Support Team » Thu Nov 25, 2010 10:17 am

Hi,

As answered in the email I sent you yesterday. Please don't use complex/interactive controls in the skin block of your Flex application, because Ranorex filter the skins. Therefore Ranorex cannot access the elements. We filter the Skins because the structure (hierarchic structure of Spy) of a Flex application would too messy.

Even Adobe don't use complex controls in their tutorial
http://www.adobe.com/devnet/flex/articl ... nning.html

Regards,
Peter
Ranorex Team
.
Image