Getting the xpath of an element knowing its partial automationid
Posted: Tue Dec 03, 2019 12:27 pm
So maybe the title doesn't express my need but i will describe it here.
I use ranorex api in a visual studio project.
Now i have a element which is a hardcoded string except a number: text[@automationdid='Phone1'], number 1 is a number that can change.
Can I search in a element for a partial path like text[@automationid='PhoneX'] without giving the x?
I use ranorex api in a visual studio project.
Now i have a element which is a hardcoded string except a number: text[@automationdid='Phone1'], number 1 is a number that can change.
Can I search in a element for a partial path like text[@automationid='PhoneX'] without giving the x?