Hi i tried to validate a element while recording but its not able to record
class name shown as below
class="work-header">
<div class="work-header-item work-item-worktype"></div>
and when i record that above class in i am getting like below in ranorex recorder
.//container[@accessiblename='Schedule']/element[2]/element[2]/element[2]/element[2]/element[4]/element[4]/element[1]/text[@accessiblename='First Visit']
but when I try to validate I am not able to validate and my test fails
is there any reason for that i tried all the ways but dint worked to me not only to that to all objects with that same type of class not able to validate data
Not able to validate element
Re: Not able to validate element
Hi venachowary,
I think the forum did not show your code. Use [ code ][ /code ] (without the space), around the html and the xpath, so we can see the whole picture.
What browser do you use? That kind of behaviour is usually because the browser instrumentation could not work for one reason or another. Try to reintrument the browsers. Make sure you download the chrome ranorex plugin from the google chrome webstore.
Best Regards,
Zoltan
I think the forum did not show your code. Use [ code ][ /code ] (without the space), around the html and the xpath, so we can see the whole picture.
What browser do you use? That kind of behaviour is usually because the browser instrumentation could not work for one reason or another. Try to reintrument the browsers. Make sure you download the chrome ranorex plugin from the google chrome webstore.
Best Regards,
Zoltan