again: How to delete unused variables

Ask general questions here.
User avatar
woha
Posts: 11
Joined: Wed Mar 06, 2019 12:56 pm

again: How to delete unused variables

Post by woha » Thu Feb 20, 2020 11:41 am

Hi
this theme was discussed in some postings, but nothing has a solution for this issue.

I created in a recording an action "Get value" to get the Text of a Field into a variable. So i used in column "Variable" "As new variable..". Created on as named "$tmpDomainName". Ups, i dont like this var and used in the dropdown box an other var. After this, the "tmp"-Var is there forever. I cant get rid of it and so sad, i have an unbound counter in the overview. I am sure there was no reference anywhere to the "tmp" Variable.
Look on the attachment please.
ranorex_aareon_001.png
ranorex_aareon_001.png (26.5 KiB) Viewed 171 times
I wounder if there is a way to delete???
cu
Wolf

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

Re: again: How to delete unused variables

Post by odklizec » Thu Feb 20, 2020 12:16 pm

Hi,

You can delete unused vars via Variables editor. In recording table, click Variables button. Then select unused variable you want to delete (icon must be grayed out) and delete it. That's all.
DeleteUnusedVars.png
DeleteUnusedVars.png (27.93 KiB) Viewed 169 times
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