I have few unexpected popups in my application.
These popups does not have any unique IDs , it just has a title as "Windows Internet Explorer" which is not useful.
Is there any way I can catch these kind of popups while running my script.
I am not using ranorex repository , we have all the Id properties stored in access db.
Attached is the snapshot for this.
how to catch popups which does not have unique property.
how to catch popups which does not have unique property.
You do not have the required permissions to view the files attached to this post.
Re: how to catch popups which does not have unique property.
One way I did it long ago (I'm sure there is a better way, but I've not invested time into it) is to get an IList of all Ranorex Forms with the specific title you want.
Then loop that IList and get an IList of all Ranorex.Text elements from the form.
Then loop that IList and check for the text you are looking for.
Then loop that IList and get an IList of all Ranorex.Text elements from the form.
Then loop that IList and check for the text you are looking for.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...
Ciege...
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: how to catch popups which does not have unique property.
Hi,
Please take a look to following blog
http://www.ranorex.com/blog/handling-di ... up-windows
Regards,
Peter
Ranorex Team
Please take a look to following blog
http://www.ranorex.com/blog/handling-di ... up-windows
Regards,
Peter
Ranorex Team