How to use Functions in a Test?

Posted 4 months ago by Shekar

Post a topic
Answered
S
Shekar

How can we use Functions in a Test?

0 Votes

T

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

T

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

© Orasi Software, Inc. | All Rights Reserved.