Skip to main content
Daria
Head of Community
Jul 5, 2023 2:28 PM UTC
Solved

Using {CLICK} as test case parameter only nearly works

Hi, 

i have a screen that has a lot of radio buttons. I have to use that screen in many different cases, so i wanted to make the selection of the radio button dependent on a test case parameter. I have set the value to {tp[RADIOBUTTON1]} and in the test parameters i have set the value RADIOBUTTON1 = {CLICK}. It works but, one it successfully clicks the correct radio button, i get the follwoing message:
The parse result of the expression '{click}' can't be cast to the desired type 'IVerificationValue'.

Anyone know how i could solve the issue differently? If the error wasn't coming, I'd be happy with the result...

 

[Originally solved on Support Hub]

Community Manager
Jul 7, 2023 10:30 AM UTC

Hi,
I might suggest another solution for it:
Create an RTSB with business parameter Radiobutton and ValueRange 1;2;3;4;..... and make use of conditions. If Radiobutton=="1" click on first button, and so on.

 

1 reply

Community Manager
Jul 7, 2023 10:30 AM UTC

Hi,
I might suggest another solution for it:
Create an RTSB with business parameter Radiobutton and ValueRange 1;2;3;4;..... and make use of conditions. If Radiobutton=="1" click on first button, and so on.