In the example below, I'm using WASP to try and use sendkeys with Jenkins. The following code input a min and max number into a random number generator and returns the results.
Link to the code:
My results return as follows:
Minimum input = 5
Maximum input = 6
Result = 5
Now, when I try to run this PS1 file through a batch in Jenkins, it sends me no errors, but my results return as e.g.:
Minimum input = 1
Maximum input = 100
Result = 11
I doesn't seem to accept the sendkeys into the field. I know regular sendkeys in powershell doesn't work with Jenkins, but I figured since WASP is for automated testing that it would work.
How can I get this working, or can it even? I'm at my wits end with this program!