samirc23
13 years agoContributor
how to use %SET
Hi,
In my project i got scenario where i need to input name into name filed and i need to insert it once e.g today i run test with name like Sam0.1 and tomorrow i run it with Sam0.2, So every time i run value should be incremented by 0.1 or 1 (this is not data driven as it has to run only once with new value only whenever executed).
To test this scenario there is %SET method in TC, but not able to run it since it display error on that line.
object.%SET(TC0.12, TC0.13, *SEQ, *xN)
please find attached screenshot for ref.
Please let me know how to use %SET method and what additional settings needs to be done.
Waiting for your prompt reply.
Many Thanks,
Sam
In my project i got scenario where i need to input name into name filed and i need to insert it once e.g today i run test with name like Sam0.1 and tomorrow i run it with Sam0.2, So every time i run value should be incremented by 0.1 or 1 (this is not data driven as it has to run only once with new value only whenever executed).
To test this scenario there is %SET method in TC, but not able to run it since it display error on that line.
object.%SET(TC0.12, TC0.13, *SEQ, *xN)
please find attached screenshot for ref.
Please let me know how to use %SET method and what additional settings needs to be done.
Waiting for your prompt reply.
Many Thanks,
Sam