impersonation

admin11345_
Tera Contributor

step 1 :- record query
step 2:- open an existing record (It has fields like x = abc , y= mnc)

once the record is opened, I have to impersonate with abc(value of x field) and continue with my remaining steps.
How do I achieve impersonating the x value in ATF ?

2 REPLIES 2

Suyog Aptikar
Giga Guru

To get more clarity, have you tried impersonate step after value substitution? and that is not able to work as expected, I haven't worked on this use case, but are you facing any issue, if you can provide more details would be helpful.

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.



Best regards

Suyog

I have a form(which has fields x,y,z). let's say value of x is abc(in the input field) and value of y is mnc

I have written ATF steps 1) record a query with some specifications and
2) open that form(I mean record).

Now I have to impersonate with user. Tht user must be the value of x which is abc.So first of all I need to fetch value of x and then impersonate that user and continue with my remaining steps.
so how is this possible to get the value of x once form opened up ?