Ask a Question

TestExecute Integration With Jenkins

nisgupta
Valued Contributor

TestExecute Integration With Jenkins

 

We are looking for the ways - how Jenkins can run the projects located in TestExecute machines. Here is our case.

At this now now Source code management and so no git. 

Jenkins is set up on my machine which is local to my machine.

We have installed the TestExecute on 3 Virtual machines which have window OS. We have projects located on these machines. 

 

Now When  Jenkins run those projects  I got the following errors

Started by user Nishchal Gupta
Building remotely on pretty.ttu.edu in workspace C:\Jenkins\workspace\Scholarship

[TestComplete] The test execution started (/\\pretty.ttu.edu\Users\nisgupta\Documents\TestComplete\IS\Student\FASBS\Financial Aid SBS\Scholarship Application\Scholarship Application.pj).
[TestComplete] Found TestComplete/TestExecute installations:
	Type: TC, Version: 12.50.4142.7, Path: "C:\Program Files (x86)\SmartBear\TestComplete 12\bin\TestComplete.exe"
[TestComplete] [ERROR] Unable to find the specified TestComplete/TestExecute installation.
[TestComplete] Marking the build as FAILED.
Build step 'TestComplete Test' changed build result to FAILURE
Build step 'TestComplete Test' marked build as failure
Finished: FAILURE


Also attached the screenshot that I have set up on Jenkins. Let me know if You all need more information.

Thanks
Nishchal

 

 

 

52 REPLIES 52
nisgupta
Valued Contributor

we are getting out of memory error when uploading the testcomplete results to confluence like wiki.

 

Attached the log files 

You're getting an out of memory error, which probably means your mht is way too big. I would look into Log.LockEvents(); to reduce the number of events being logged and images which is likely what's causing the huge file size. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
nisgupta
Valued Contributor

@cunderw

Never used this Log.LockEvents() ??

Let's you limit the number of events posted to the test complete log. 

 

https://support.smartbear.com/testcomplete/docs/reference/project-objects/test-log/log/lockevents.ht...


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
nisgupta
Valued Contributor

Ok,

 

I got this. This is how we can limit the logging. 

 

We have a case here 

Our functional users want to see the results in MHT format which is the best way . The functional users do not have the knowledge of TestComplete. They want to see the how the application behave and from the start to end of the test case.

 

My concerns is limiting the logging will not allow the functional users to miss some steps .

 

Thanks

Nishchal

 

You can specify how far back the events will be captured when an error occurs which is the crucial piece. You can aslo include more verbose log messages, or completely eclude all images. You could also split up your tests into multiple projects. There are plenty of options to reduce the size. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
tristaanogre
Esteemed Contributor

So, you're using the logs of the tests to instruct end users how to use the application?  Or are you trying to give the users confidence that TestComplete is performing the tests accurately?  I'm not sure I understand why the functional users (who are not the testers) need that much detail in the TC logs.


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

@tristaanogre

 

Functional users already know how to use the applications. The goal is to let the functional users know about the behavior of the application . The best way we can show them to submit the report in MHT format which show the information similar to manual actions . 

 

 

 

 

nisgupta
Valued Contributor

@cunderw

 

I am little bit confused as we can see the same MHT test report in jenkins itself. the size of the MHT test report in Jenkins is same as the the size of the MHT report we are exporting at the end of the tests. Then why Jenkins gives the error ?

The error is occuring when you are trying to update the file via the confluence publisher. This looks to be a limitation of that plugin. See https://issues.jenkins-ci.org/browse/JENKINS-18383

 

You could talk with your infratstructue team and see if increase the memory allocation of the JVM fixes this, but my guess is you will still run into issues unless you decrease the size of your log file. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
cancel
Showing results for 
Search instead for 
Did you mean: