Your Privacy
We use cookies to give you a better experience in Alchemy Help Center
You can learn more about what kind of cookies we use, why, and how from our Privacy Policy. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings in our cookie banner to change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer. For more details, check out our Privacy Policy link below.
View Privacy Policy
Strictly Necessary Cookies
These cookies are necessary for the website to function and cannot be switched off in our systems, but do not store any person information. They are usually set in response to your actions that triggers a request for services, such as setting your privacy preferences, logging in or filling forms. You can change your browser settings to alert you about these cookies, but some parts of the Website may not work.
View Cookies
How can we use Functions in a Test?
0 Votes
TheBugScout posted 3 months ago Best Answer
A function is something that can be called in a test or within another function. If you have created a function and want to use or add that function in a test, you can simply drag the function from the "Function" section of the data toolbox and drop it into the test. This will create a call action with the specified function name to call.
Alternatively, you can drag the call action into the test from the action toolbox, and then either copy the pointer for the function and paste it into the call action, or simply drag the function and drop it into the "Function" field of the call action.
Thanks!
1 Votes
1 Comments
TheBugScout posted 3 months ago Answer
A function is something that can be called in a test or within another function. If you have created a function and want to use or add that function in a test, you can simply drag the function from the "Function" section of the data toolbox and drop it into the test. This will create a call action with the specified function name to call.
Alternatively, you can drag the call action into the test from the action toolbox, and then either copy the pointer for the function and paste it into the call action, or simply drag the function and drop it into the "Function" field of the call action.
Thanks!
1 Votes
Login or Sign up to post a comment