Variables displayed in the Report

Ask general questions here.
Jaya
Posts: 1
Joined: Fri Aug 01, 2014 11:21 am

Variables displayed in the Report

Post by Jaya » Fri Aug 01, 2014 11:26 am

Hi, Is there any way where we can hide the variables imported from Excel sheet, to be displayed in the renorex report.

e.g in my test if i use Username and password from excel sheet, the report displays username and password.

If i dont want anyone to see my credetails is it possible?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Variables displayed in the Report

Post by Support Team » Mon Aug 04, 2014 12:55 pm

Hi Jaya,

Unfortunately this is not possible directly, but you can, for example use an encrypted string in your excel sheet and decrypt the string only when you need it for the log in.
A colleague of mine posted an example how to encrypt and decrypt data using the .NET Framework.
The example can be found in the thread How do you handle data encryption in Ranorex?

Regards,
Bernhard
.
Image

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Variables displayed in the Report

Post by krstcs » Mon Aug 04, 2014 2:31 pm

While encrypting the values as Bernhard suggested will work, using a real, live account (especially your own) for testing is not recommended.

I would suggest that, instead of using YOUR credentials, you create a test user (or have your domain support team do it) that you use for testing.
Shortcuts usually aren't...