Unable to Set Session Data via gs.getSession().putClientData() in ATF

sonaligchav
Tera Contributor

I'm trying to set session data using gs.getSession().putClientData("Code", "00000") in ATF. I tried two approaches:

  • Using a Script Test Step in ATF.
  • Calling a Script Include that uses putClientData() from ATF.

In both cases, when I use getClientData() to verify, it returns null. The integration works fine outside ATF. Is there a limitation with session data in ATF? Should I use user preferences instead?
Any best practices or alternatives would be appreciated. 

0 REPLIES 0