Hi,
As it can seen from xpath there is random id or sth like that but Ranorex still can not find the button that seen at bottom of the browser, is anyone can help me for that ? thanks.
/form[@title~'^TENCom\ Web\ -\ Internet\ Exp']
.//toolbar[@accessiblename='Notification']/button[@accessiblename='No']
/form[@title~'^TENCom\ Web\ -\ Internet\ Exp']
.//toolbar[@accessiblename='Notification']/button[@accessiblename='Close']
I also tried /form[] but did not help
Ranorex can not find IE browser buttons
Re: Ranorex can not find IE browser buttons
Hi,
As mentioned in previous posts, please post a Ranorex snapshot, where we can see the button in question and test the path. Thanks.
As mentioned in previous posts, please post a Ranorex snapshot, where we can see the button in question and test the path. Thanks.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Ranorex can not find IE browser buttons
Hi odklizec ,
I am sending files, please have a look.
Thanks,
Rastek.
I am sending files, please have a look.
Thanks,
Rastek.
You do not have the required permissions to view the files attached to this post.
Re: Ranorex can not find IE browser buttons
Apparently, the "form" tittle is different in xpath from your initial post and the snapshot you just posted? Also, there is no need for ".//" in the xpaths you posted in the first post.
This xpath should work both for GENCom and TENCom:
or something like this:
This xpath should work both for GENCom and TENCom:
Code: Select all
/form[@title~'^(G|T)ENCom']//toolbar/button[@accessiblename='Yes']
Code: Select all
/form[@title~'^GENCom' or @title~'^TENCom']//toolbar/button[@accessiblename='Yes']
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Ranorex can not find IE browser buttons
Hi odklizec, Thanks for the solutions.
In my first post I changed name bcos I see people do it on the forum.
I am sending two browser Allow buttons, one for IE and one for chrome, can you also help if you dont mind ?
Thanks,
Rastek.
In my first post I changed name bcos I see people do it on the forum.
I am sending two browser Allow buttons, one for IE and one for chrome, can you also help if you dont mind ?
Thanks,
Rastek.
You do not have the required permissions to view the files attached to this post.
Re: Ranorex can not find IE browser buttons
Hi,
This should work both in IE and Chrome:
This should work both in IE and Chrome:
Code: Select all
/form[@title='Confirmation Required' or @title~'^multi1lb\.netas\.com\.tr:185']//button[@accessiblename='Allow']
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Ranorex can not find IE browser buttons
Hi odklizec,
sory for late response but this does not work
/form[@title='Confirmation Required' or @title~'^multi1lb\.netas\.com\.tr:185']//button[@accessiblename='Allow']
sory for late response but this does not work
/form[@title='Confirmation Required' or @title~'^multi1lb\.netas\.com\.tr:185']//button[@accessiblename='Allow']
Re: Ranorex can not find IE browser buttons
Well, it works for me for both provided snapshots? If it does not work for you, then there is most probably something different in your actual environment?
I guess the that the form tittle has changed a bit in Chrome? Just make sure this part of xpath is still valid and eventually adjust it to make it a bit more general:
I guess the that the form tittle has changed a bit in Chrome? Just make sure this part of xpath is still valid and eventually adjust it to make it a bit more general:
@title~'^multi1lb\.netas\.com\.tr:185'
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration