Hi,
I'am facing a issue in object identification where i already recognized the element using Ranorex spy and stored in repository,but i can't highlight it when new instance of application is launched i'm sure that it is not a dynamic as i used control name to store it in repository , please help me in solving the issue.
thanks
Unable to find items recognized by spy stored in repositor
Unable to find items recognized by spy stored in repositor
You do not have the required permissions to view the files attached to this post.
Re: Unable to find items recognized by spy stored in repositor
Hi,
I think you forgot to post the problematic xpath? Anyway, if I understand you right, you have two instances of your app running at the same time? This is the most probable reason of your problem. Please post the problematic xpath.
I think you forgot to post the problematic xpath? Anyway, if I understand you right, you have two instances of your app running at the same time? This is the most probable reason of your problem. Please post the problematic xpath.
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: Unable to find items recognized by spy stored in repositor
no i'm not opening the two instance but i'm reopening the application after closing it,
problemetic xpath are as you can see in the screenshot are
1.Globalfrequencyconfigview:?/?/tabpagelist[@name~'^DXTabControlrcWorkSpaceLa']/element[@classname='GlobalFrequencyConfigView']
and the combo boxes an buttons inside it
2.Legal:?/?/tabpagelist[@name~'^DXTabControlrcWorkSpaceLa']/element/combobox[2]/button[@automationid='PART_Item' and @visible='True']
3.Regulator:?/?/tabpagelist[@name~'^DXTabControlrcWorkSpaceLa']/element/combobox[@classname='ComboBoxEdit']/button[@automationid='PART_Item']
4.ButtonCancel:?/?/tabpagelist[@name~'^DXTabControlrcWorkSpaceLa']/?/?/button[@automationid='ButtonCancel']
help is always appreciated
problemetic xpath are as you can see in the screenshot are
1.Globalfrequencyconfigview:?/?/tabpagelist[@name~'^DXTabControlrcWorkSpaceLa']/element[@classname='GlobalFrequencyConfigView']
and the combo boxes an buttons inside it
2.Legal:?/?/tabpagelist[@name~'^DXTabControlrcWorkSpaceLa']/element/combobox[2]/button[@automationid='PART_Item' and @visible='True']
3.Regulator:?/?/tabpagelist[@name~'^DXTabControlrcWorkSpaceLa']/element/combobox[@classname='ComboBoxEdit']/button[@automationid='PART_Item']
4.ButtonCancel:?/?/tabpagelist[@name~'^DXTabControlrcWorkSpaceLa']/?/?/button[@automationid='ButtonCancel']
help is always appreciated
Last edited by Balam on Mon Jun 08, 2015 8:12 am, edited 1 time in total.
-
- Certified Professional
- Posts: 455
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: Unable to find items recognized by spy stored in repositor
Have you tried using Spy, to get the XPath of the element in the new instance and then comparing that with the XPath of the element in your repository?Balam wrote:...but i can't highlight it when new instance of application is launched...
Re: Unable to find items recognized by spy stored in repositor
the whole pane gets easily accesible when i highlight
PortReconSysClientEntitiesRegulator:?/?/list[@automationid='PART_Content']/listitem[1]
which is list item and it is easily recognised also.
PortReconSysClientEntitiesRegulator:?/?/list[@automationid='PART_Content']/listitem[1]
which is list item and it is easily recognised also.
Re: Unable to find items recognized by spy stored in repositor
I would suggest you to save the Ranorex snapshot both from first and second instance of your app. Then try to check the path in both snapshots. In my opinion, the path in second snapshot will be slightly different?
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: Unable to find items recognized by spy stored in repositor
when i restart the application i get attached ranorex snapshot! which clearly shows it is not able to recognise elements inside the "Global configuration box" that is "DXTabControlrcWorkSpaceLayout" Please tell me what m i missing .
You do not have the required permissions to view the files attached to this post.
Re: Unable to find items recognized by spy stored in repositor
Hi,
I'm afraid, I don't have a clue why this happens? Ranorex introduced new WPF plugin in 5.3.0 and there were introduced some WPF changes/improvements in 5.3.1. I see you already using 5.3.2, so you should have all these changes. Let's hope Ranorex folks will have some more ideas what could be a source of your problem. Maybe it's a Ranorex plugin thing, maybe it's something in your app?
I'm afraid, I don't have a clue why this happens? Ranorex introduced new WPF plugin in 5.3.0 and there were introduced some WPF changes/improvements in 5.3.1. I see you already using 5.3.2, so you should have all these changes. Let's hope Ranorex folks will have some more ideas what could be a source of your problem. Maybe it's a Ranorex plugin thing, maybe it's something in your app?
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
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Unable to find items recognized by spy stored in repositor
Hello Balam,
I’m afraid that we need further information about your application under test as well as from the test itself. May I ask you to send an email to [email protected]?
Thanks,
Robert
I’m afraid that we need further information about your application under test as well as from the test itself. May I ask you to send an email to [email protected]?
Thanks,
Robert
Re: Unable to find items recognized by spy stored in repositor
Already done that!Marcus is helping me out there!