Forum Discussion

Bill_In_Irvine's avatar
Bill_In_Irvine
Contributor
8 years ago

Where would I put a Groovy Script to set the KEYSTORE and KEYSTORE_PASSWORD?

I have spent two days searching the community and also outside web search engines for where to set the keystore password. I know the code that does it. I want to know where. Because I tried adding a ...
  • Bill_In_Irvine's avatar
    8 years ago

    The solution I have finally got working is to put the script in the Test Suite Setup Script tag window (see attached - sorry if the screen shot is too small). I need to work it a bit more to do a teardown script to delete the keystore and password because I use my Ready API to run other tests. Also this stuff will run in testrunner as an automatic script, so the test suite must do everything from running regression tests.

     

    Note I decided I don't need property expansions for my password or keystore. And I also found that I cannot get log.info to print out anything from the Setup Script in the Test Suite level.