cancel
Showing results for 
Search instead for 
Did you mean: 

Stopping logging password or ID to script logs

SOLVED
Highlighted
Occasional Contributor

Stopping logging password or ID to script logs

I set up two table variables in my project to not store the ID/password in my Python script.

 

However, the script test log still displays these values.

 

Is there any way to log the test results without including authentication data?

--
You might not like AI, but it doesn't care about you.
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Stopping logging password or ID to script logs

You can create a persistent project level variable of type "password" which when you use that variable in a Keys or SetText command will decrpyt but not log.

 

https://support.smartbear.com/testcomplete/docs/testing-with/variables/data-types/password.html


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post

2 REPLIES 2
Highlighted
Community Hero

Re: Stopping logging password or ID to script logs

You can create a persistent project level variable of type "password" which when you use that variable in a Keys or SetText command will decrpyt but not log.

 

https://support.smartbear.com/testcomplete/docs/testing-with/variables/data-types/password.html


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post

Highlighted
Occasional Contributor

Re: Stopping logging password or ID to script logs

That was embarrassingly simple. Thank you.

--
You might not like AI, but it doesn't care about you.
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!
Top Kudoed Authors