Forum Discussion
Marsha,
It is.
todd2
Marsha,
So we can get Unit3 to output to the log America and the Date and Time in the format we seek. What we cant get accomplished is the Project variable is not receiving that value even though I told it to do so in the Unit script. I even initialized the variable by placing a default value in it and it will not change to what I want at keyword test script execution time. How come?
todd2
- Marsha_R2 years agoModerator
I see that you have it as a Temporary Variable but I want to make sure that it is at the Project level and not just for the Keyword Test. Here's an example:
- todd22 years agoContributor
Marsha,
I figured out the problem. The problem was Set Variable Value was a part of my keyword test steps. That did not need to be there because I created the project level variable and called it inside my Unit3 script in code. Before I did not have it spelled out correctly in code so it was not identified correctly either. Also, I made sure to place the Unit3 script routine right after the first name text box. Now when the keyword script test runs the last name is concatenating with the DateTime(Now) formatted the way SmartBear docs say to do it. Thank you both for your time and consideration.
Thanks,
todd2
- Marsha_R2 years agoModerator
Hurray! Happy to help, any time.
Related Content
- 13 years ago
- 3 years ago
Recent Discussions
- 2 hours ago
- 6 hours ago