Forum Discussion
The solution I have finally got working is to put the script in the Test Suite Setup (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.
- fazlook8 years agoFrequent Contributor
Glad you made it.
BTW, I do use ReadyAPI in TC. Is that where you use it ?
Thank you
- Bill_In_Irvine8 years agoContributor
Hi fazlook,
I have to get used to this community blog interface. Someone forwarded me a different thread and I thought it was my own thread. My problem is not about using property expansion of the username, but it was similar, to allow flexibility of key stores so that this stuff can be run in a test runner script automatically when called in a bash file.
I am using Ready API and my script is not in the Test Case level but it is the setup script in the test suite level.
Now I have to go to my OP thread I put in yesterday and copy my same post.
Sorry for my confusion and sorry for confusion that makes it seem I'm the OP of this authentication thread.
Related Content
- 6 years ago
Recent Discussions
- 24 hours ago