Error,could not find the alert window object

Ask general questions here.
aaron_ch
Posts: 5
Joined: Fri May 18, 2012 2:47 am

Error,could not find the alert window object

Post by aaron_ch » Fri May 18, 2012 8:03 am

Hi

When I test a flex web page, and there is an alert dialog in the flash object,

but the Ranorex could not identify it? what's problem?

Please see the attached pic. thanks!

Aaron
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Error,could not find the alert window object

Post by Support Team » Fri May 18, 2012 4:01 pm

Hi,

Are you able to identify the alert dialog with the Spy tool?
Do you have instrumented flex as described in the following link?

Regards,
Markus
Ranorex Support Team

aaron_ch
Posts: 5
Joined: Fri May 18, 2012 2:47 am

Re: Error,could not find the alert window object

Post by aaron_ch » Sat May 19, 2012 2:56 am

Yes, I already installed the instrument.

And it could record and get the alert dialog object, but when I run the test case, it complains that could not find the object.

Any problem with the repository for the object??

Look forward to your input, thanks!

Aaron

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Error,could not find the alert window object

Post by Support Team » Mon May 21, 2012 1:18 pm

Hi,

Please send us a Ranorex Snapshot file of the specific Dialog and the RxPath which you are using in your project to close the alert dialog.
Following link will show you how to generate a snapshot file.
If you do not want to upload it here, you can also send it to our support mail address: [email protected].
Do you have checked with Spy if the error dialog has still the same RxPath as the used/saved one, maybe the RxPath changes after each pop up?

Regards,
Markus
Ranorex Support Team