Variable Usage in Message Property for Validation

Ranorex Studio, Spy, Recorder, and Driver.
amitgupta
Posts: 54
Joined: Sun Mar 28, 2021 7:58 pm

Variable Usage in Message Property for Validation

Post by amitgupta » Thu Jul 08, 2021 7:43 pm

Dear Team,

Whenever we are performing validation method on UI for validating value ,Could any team guide to use variable value in message field of validation properties .We want to print this variable value in final output report without using code module /User Code concept.

Suppose I created one account variable and created same account , then I am looking to print account value as variable during validation of account value. Could anyone guide me for the same.

Thanks Amit
You do not have the required permissions to view the files attached to this post.

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

Re: Variable Usage in Message Property for Validation

Post by odklizec » Fri Jul 09, 2021 6:32 am

Hi,

I'm afraid, the only way to achieve what you want is to convert the action to user code and here combine the text with variable, like this:
CombineVarWithText.png
You do not have the required permissions to view the files attached to this post.
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

amitgupta
Posts: 54
Joined: Sun Mar 28, 2021 7:58 pm

Re: Variable Usage in Message Property for Validation

Post by amitgupta » Fri Jul 09, 2021 3:20 pm

odklizec wrote:
Fri Jul 09, 2021 6:32 am
Hi,

I'm afraid, the only way to achieve what you want is to convert the action to user code and here combine the text with variable, like this:
CombineVarWithText.png
Thank you for giving your precious time . If any QC team does not know about coding ,they can not use user code or code module .Ranorex is completely code less automation tool .Without using usercode , is there any way to user variable value that can be print in output report window.

I was aware to use user code for variable but looking for finding any way to use variable value in report without any coding language
thank you
amit gupta

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

Re: Variable Usage in Message Property for Validation

Post by odklizec » Fri Jul 09, 2021 4:02 pm

Hi,

I’m sorry to disturb your circles, but code-less test automation is a myth 😉 Not even Ranorex can do that. It may be possible with some basic things, but once you want to build a successful and long-term solution, certain coding skills are required. And this one is pretty basic. So no, there is currently no codes-less solution to this problem.
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