Ask a Question

Logging picture with test action in the 'Has Picture' column

SOLVED
TestQA1
Contributor

Logging picture with test action in the 'Has Picture' column

Hi folks,

 

I have a requirement from my team to only add pictures with certain test actions.

 

Example:

When...

 action1..

action 2...

 

I know that the test visualizer randomly add images to the logs, but that is not I need.

I can use Log.Picture(obj.Picture) easily but it adds the picture as another log entry after the test action1.

Is there a possibility I can add picture to test action1 in Has Picture column without using the Visualizer.

 

Thanks

1 REPLY 1
Marsha_R
Community Hero

Everything about intentionally posting images described here is going to be on a separate log line. 

https://support.smartbear.com/testcomplete/docs/testing-with/log/posting/images.html

 

Test Visualizer is not random. You can see what it's actually doing here.

https://support.smartbear.com/testcomplete/docs/testing-with/visualizer/index.html

 

You might want to ask for that "same line picture" in Feature Requests. You can do that here:

https://community.smartbear.com/t5/TestComplete-Feature-Requests/idb-p/TestXCompleteFeatureRequests

 

 


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results for 
Search instead for 
Did you mean: