Error ending impersonation in the UI session in Automated Testing Framework

bidya1
Giga Contributor

I am getting this error while executing a test case in ATF.

The test case has 8 steps in the following sequence.

  1. impersonate as an ITIL user
  2. open a new incident form
  3. set field values
  4. submit the form
  5. record validation
  6. click a UI action (this submits the form again)
  7. open the same record created above
  8. record validation for different values

While executing this , i am getting error every time. Following is the log messages screen shot. Any suggestion to resolve this will be a great help.

Thank you,

Bidya

ATF_error_1.PNG

1 ACCEPTED SOLUTION

bidya1
Giga Contributor

Found the solution for this from a TechNow video. The best way to work with ATF is, keep client test runner open in another tab before you run the test which has some client side operations to perform. That way it will not have any issues in switching back to current user after the test completes.



Thanks,


Bidya


View solution in original post

3 REPLIES 3

Abhishek Raj3
Tera Guru

Hi Bidehalaxmi,



I have implemented the same procedure that you have mentioned i got following result.


find_real_file.png



Could you please verify if the impersonation of itil user is getting impersonate or not?


you can check your steps.



I guess there wont be any issue with the impersonation thing.



KIndly let me know in case of any concern.



Thanks,


Abhishek


May I know the link of that technow video.

bidya1
Giga Contributor

Found the solution for this from a TechNow video. The best way to work with ATF is, keep client test runner open in another tab before you run the test which has some client side operations to perform. That way it will not have any issues in switching back to current user after the test completes.



Thanks,


Bidya