Hi
I've noticed one thing that when i try to do a repoiteminfo.exists() after a browser restart during the test it stops working.
Meaning that even though the item is existing and is visible it fails to find the item.
I've disabled the cache property for the root folder in my repository file, but still i get this issue.
Anyone have same issues? or know the solution for the problem?
Br,
Feroz
RepoItemInfo.exists() stops finding after browser restarts
Re: RepoItemInfo.exists() stops finding after browser restarts
Hello !
It would be easier to help you if you can upload a snapshot of your repository !
Regards
It would be easier to help you if you can upload a snapshot of your repository !
Regards
A simple thank you always does wonders !
Re: RepoItemInfo.exists() stops finding after browser restarts
Hi,
No sure if this is what you wanted but here is the snapshot of the item in question.
No sure if this is what you wanted but here is the snapshot of the item in question.
You do not have the required permissions to view the files attached to this post.
Re: RepoItemInfo.exists() stops finding after browser restarts
Thanks !
Are you using this path ?
Are you using this path ?
/dom[@domain='dev-gpiweb-i001.sirius.local']//div[#'main']//span[@title~'^2013\ BM\ N\ Am\ EQ\ BLENDED\ R']
A simple thank you always does wonders !
Re: RepoItemInfo.exists() stops finding after browser restarts
Hi again,
I've tried both absolutepath and path same behaviour.
.//div[#'main']//span[@title~'.*']
or
/dom[@domain='dev-gpiweb-i001.sirius.local']//div[#'main']//span[@title~'.*']
on the repo item but same behaviour
I've tried both absolutepath and path same behaviour.
.//div[#'main']//span[@title~'.*']
or
/dom[@domain='dev-gpiweb-i001.sirius.local']//div[#'main']//span[@title~'.*']
on the repo item but same behaviour
Re: RepoItemInfo.exists() stops finding after browser restarts
When I use the following path :
/dom[@domain='dev-gpiweb-i001.sirius.local']//div[#'main']//span[@title~'.*']
Ranorex Spy finds 3 elements which might be the reason it is not working when you restart the browser.
With the path (although it might not be a trustworthy path)
.//div[#'main']//span[@class='view-title ng-binding']
Only one item is found. Can you try with this one and tell me if it works.
Regards
/dom[@domain='dev-gpiweb-i001.sirius.local']//div[#'main']//span[@title~'.*']
Ranorex Spy finds 3 elements which might be the reason it is not working when you restart the browser.
With the path (although it might not be a trustworthy path)
.//div[#'main']//span[@class='view-title ng-binding']
Only one item is found. Can you try with this one and tell me if it works.
Regards
A simple thank you always does wonders !
Re: RepoItemInfo.exists() stops finding after browser restarts
Hi,
Yeh you are right that /dom[@domain='dev-gpiweb-i001.sirius.local']//div[#'main']//span[@title~'.*'] shows 3 elements.
But if use //div[#'main']//span[@title~'.*'] from ranorex studio it only shows 1.
Secondly, my main problem here is that when i do repoiteminfo.exists() or validate exist() with the rxpath i get false after a browser restart, even though the item is existing on screen and is visible.
So i'm confused to why its giving me false, i've tried to add more delay and etc... but didnt help.
Yeh you are right that /dom[@domain='dev-gpiweb-i001.sirius.local']//div[#'main']//span[@title~'.*'] shows 3 elements.
But if use //div[#'main']//span[@title~'.*'] from ranorex studio it only shows 1.
Secondly, my main problem here is that when i do repoiteminfo.exists() or validate exist() with the rxpath i get false after a browser restart, even though the item is existing on screen and is visible.
So i'm confused to why its giving me false, i've tried to add more delay and etc... but didnt help.
Re: RepoItemInfo.exists() stops finding after browser restarts
Hi again,
It's really strange.
The best thing you could do to get an answer is to provide a sample of your AUT to the support ([email protected]) because it's quite hard to help you without being able to reproduce your issue
Regards
Swiss
It's really strange.
The best thing you could do to get an answer is to provide a sample of your AUT to the support ([email protected]) because it's quite hard to help you without being able to reproduce your issue
Regards
Swiss
A simple thank you always does wonders !