How to record only a piece of a whole string?

Ask general questions here.
cris
Posts: 1
Joined: Mon Feb 22, 2021 5:16 pm

How to record only a piece of a whole string?

Post by cris » Wed Apr 14, 2021 10:56 am

Hello everyone! I have this question to which if someone can kindly answer me: If I have an "ABCDEFGHI" string can I register "ONLY" ABC during the test recording?

Thks everybody!

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6544
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: How to record only a piece of a whole string?

Post by odklizec » Thu Apr 15, 2021 4:40 pm

Hi Chris,

As far as I know, there is no way to achieve what you want. You will have to manually edit each recorded xpath to keep only the strings you want.
Pavel Kudrys
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