This is a migrated thread and some comments may be shown as answers.

'Encrypt' Option is Greyed Out

14 Answers 135 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 23 Mar 2015, 06:46 PM
I have been trying to use the built in encryption for passwords and have found that there is no way to check that box in the step properties. Whenever I open the properties the box is greyed out. Does it have some kind of prerequisite?

14 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 26 Mar 2015, 12:47 AM
Hi Ian,

Are you testing an HTML or Silverlight or WPF application? Can you share with me a copy of the test you're having a problem with? This is the .tstest file and matching .resx file found on disk. Place them both into a .zip file and attach that for analysis. Which step is the problem step in this test? Attached is a screen shot of what it's supposed to look like for a HTML application being tested.


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Ian
Top achievements
Rank 1
answered on 26 Mar 2015, 03:24 PM
I'm not sure the file attachment worked so lets try this again
0
Cody
Telerik team
answered on 27 Mar 2015, 10:20 PM
Hi Ian,

I see what you mean. I've passed this along to my development team. I'll let you know their response.


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Cody
Telerik team
answered on 30 Mar 2015, 04:35 PM
Hi Ian,

They ask what sort of field are you trying to encrypt? They tell me the Encrypt option is only available for detected password fields.

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Ian
Top achievements
Rank 1
answered on 30 Mar 2015, 06:21 PM
It is a password that I am trying to encrypt and I use the IsPassword option. I suppose it is possible that test studio is not recognizing the field as a password field but I don't know how it would distinguish them from other text fields.
0
Cody
Telerik team
answered on 30 Mar 2015, 06:48 PM
Hello Ian,

Test Studio can detect a password field by the type attribute applied to the <input> field. For example:

<input type="password" name="password">

What does the DOM look like for your password field?


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Ian
Top achievements
Rank 1
answered on 30 Mar 2015, 06:57 PM
Ah, it says the type is "input" not "password". Is there any way around that?
0
Cody
Telerik team
answered on 30 Mar 2015, 07:35 PM
Hi Ian,

Please share with me the exact HTML your application is using for this input field. I'll use it to create a sample HTML web page and see what we can do. I only need the full HTML for your <input... > field.


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Ian
Top achievements
Rank 1
answered on 30 Mar 2015, 08:33 PM
<td> 
<input tabindex="2" name="password" type="password" id="password" size="20" autocomplete="off">
</td>

I was wrong before, it actually does have the password type.
0
Cody
Telerik team
answered on 30 Mar 2015, 08:45 PM
Hello Ian,

Hmm, it seems to be working as expected using the sample HTML page I created - see attached. If you can give me a way to repro the problem I'll be happy to investigate further.


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Ian
Top achievements
Rank 1
answered on 30 Mar 2015, 08:54 PM
The encrypt option is still greyed out when I try to make a test on your HTML sample.
0
Cody
Telerik team
answered on 30 Mar 2015, 11:21 PM
Hello,

Which browser are you recording in? Can you try it with IE?


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Ian
Top achievements
Rank 1
answered on 31 Mar 2015, 03:09 PM
When I record it in IE I can encrypt the password
0
Cody
Telerik team
answered on 31 Mar 2015, 04:47 PM
Hi Ian,

Thanks for confirming. I filed a problem report on this.

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Ian
Top achievements
Rank 1
Answers by
Cody
Telerik team
Ian
Top achievements
Rank 1
Share this question
or