Forum Discussion

twong's avatar
twong
New Contributor
11 years ago

recording password

I am using keyword tests to record new urser registration.

Some fields - email & password can only be used once since our system checks previously used/saved email & password. 

How can I record setting those fields in a way so I can playback as many times as needed? I'm getting error right now.

2 Replies

  • Depends how your system does it.



    I have a similar thing where some passwords are retained. In these cases the password field does not appear.



    So I just have some branching logic around it:



    If <password field is visible> Then

         Fill it in

    Else

         Do nothing

    End If



    So the "If" part of the logic should just be shaped to fit how your application behaves. eg - I check it is visible. You could also check if it is enabled, or already populated with a value, or whatever the indicator is that you don't need to do it.