cancel
Showing results for 
Search instead for 
Did you mean: 

Project Suite and Individual Project Test Log

SOLVED
Highlighted
Occasional Contributor

Project Suite and Individual Project Test Log

Hello All,

 

I have a Test Project Suite (TestProjSuite) and 2 Test Projects under (TestProj1 and TestProj2).

 

When I run Test Projects separately they will have their test logs generated under their own folders. E.g. TestProjSuite\TestProj1\Log\ and TestProjSuite\TestProj2\Log\ 

 

When I run the whole Test Project Suite the test log will generated under TestProjSuite\Log Only. 

 

Is there a way to let the Test Projects to generate Test Logs in their own folders instead of Test Project Suite log folder when I run tests at the Test Project Suite level. 

 

 

Thank you in advance!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Contributor

Re: Project Suite and Individual Project Test Log

Hi @kaloelee,

 

Have you tried going to the project properties and changing the log location? If that is what you are looking for here is what you have to do.

Right click on your project, go to edit->Properties->General and you will see a tab with log location there. 

 

Thanks

View solution in original post

6 REPLIES 6
Highlighted
Community Manager

Re: Project Suite and Individual Project Test Log

Thank you for you question! 

 

@tristaanogre @Reshail @BenoitB , have you ever faced this task or maybe have some ideas how to do this? Thank you🙂


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Contributor

Re: Project Suite and Individual Project Test Log

Hi @kaloelee,

 

Have you tried going to the project properties and changing the log location? If that is what you are looking for here is what you have to do.

Right click on your project, go to edit->Properties->General and you will see a tab with log location there. 

 

Thanks

View solution in original post

Highlighted
Community Leader

Re: Project Suite and Individual Project Test Log

Yes a log by project with the project properties is the good way 😉

 

In addtion at anytime and anywhere you can use the Log.SaveResultsAs(yourLogPlace, lsMHT)

Un sourire et ça repart

Highlighted
Occasional Contributor

Re: Project Suite and Individual Project Test Log

Hi @Reshail 

 

Thanks for you reply!

 

Yes I have tried to point the project suite log to the project log folder via Properties> General > log location, and the test log did generate in the specific folder. However, the issue of doing so is that both 2 individual project logs go to that folder not stay separately in their own Log folders. Also the name of the log is different too,  ProjectSuite.pjs.tcLogs vs. Proj.mds.tcLogs

 

In my case I use Project 1 to read and parse Project 2's test log, then post the test results back to our test case management system. 

 

I guess at this point modifying the code seems the only choice. (Was hoping there would be a way of configuring the project without needing to change code).

Highlighted
Occasional Contributor

Re: Project Suite and Individual Project Test Log

Hi @BenoitB 

 

Thanks for your reply.

 

As I mentioned in my previous reply to @Reshail I think I will have to go with changing the code. I will give it "Log.SaveResultsAs" a try and see.

Highlighted
Community Manager

Re: Project Suite and Individual Project Test Log

Thank you Community🙂

 

@kaloelee I am glad you found a way to proceed! Please share your results with us when you have them.


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
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

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!

Retrieve Data from a Web Page

Participate!
Top Kudoed Authors