Ask a Question

Assigning Dynamic Values to Scenario Variables

martsantos
New Contributor

Assigning Dynamic Values to Scenario Variables

Hi guys,

 

I'm on the process of creating a scenario where I will need to set data values during the recording. Basically in the recorded scenario, a user will provide a caseID. I will need to replace that input value through code expression to make it more dynamic, and store it in variable which will be called upon in every iteration. Is this possible? If so, how?

 

Please advise. Thank you.

 

 

1 REPLY 1
AlexKaras
Community Hero

Hi,

 

Yes, in general it is possible to do what you asked for.

Do https://support.smartbear.com/loadcomplete/docs/testing-with/parameterizing/index.html and https://support.smartbear.com/loadcomplete/docs/testing-with/editing/operations-references/set-varia... help sections help?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: