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

[Flex4] It seems impossible to track Alert-dialogs

Class library usage, coding and language questions.

[Flex4] It seems impossible to track Alert-dialogs

Postby chrisdutz » Tue Nov 23, 2010 3: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
chrisdutz
 
Posts: 9
Joined: Thu Nov 18, 2010 4:26 pm

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

Postby Support Team » Tue Nov 23, 2010 5: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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

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

Postby chrisdutz » Tue Nov 23, 2010 6:18 pm

Well I have tired and it didn't have any effect. I attached a snapshot.
Attachments
Alert.rxsnp
(178.84 KiB) Downloaded 29 times
chrisdutz
 
Posts: 9
Joined: Thu Nov 18, 2010 4:26 pm

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

Postby Support Team » Wed Nov 24, 2010 12:01 pm

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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

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

Postby chrisdutz » Wed Nov 24, 2010 1: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 34 times
chrisdutz
 
Posts: 9
Joined: Thu Nov 18, 2010 4:26 pm

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

Postby Support Team » Thu Nov 25, 2010 11: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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests