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
Attachments
error.png
error.png (94.04 KiB) Viewed 1192 times

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

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
.
Image

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: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

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
.
Image