cancel
Showing results for 
Search instead for 
Did you mean: 

Cast Text to Password

shahariar_k_bhu
Level 5
The question may be pretty simple, but how do I determine if a data item is text or password? I want to enter an username and a password with 0.1 second delay. I'm currently using "Send Keys" page from Surface Automation training. This page takes a data item of type text as an input. How do I determine if the input is a password instead? I don't want the password to be displayed in the data item.
2 REPLIES 2

John__Carter
Staff
Staff
You can 'force' the password data item into a text input by typing it in rather than dragging; this should then invoke the cast to text at run time. Alternatively you could create a new page called Send Keys (Password) that uses the password data type right up to the Navigate stage that executes Send Keys.

shahariar_k_bhu
Level 5
Oh, lol. I didn't think of adding a second page that uses password as data type as input. Thanks! 🙂