Ask a Question

Test Execute error

saranoor
Frequent Contributor

Test Execute error

WhenI click on Run I get an error in Test execute. Attaching screenshot.

All scripts are in Test Complete on the same VM machine and Test Execute is installed on same VM machine.

Path to scripts is as below in same VM.

C:\Users\SKhan2\Documents\TestComplete 12 Projects\TestComplete 12 Projects\TestProject1sara\TestProject1sara\Log

 

20 REPLIES 20
tristaanogre
Esteemed Contributor

Screenshot is missing.


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
saranoor
Frequent Contributor

 
tristaanogre
Esteemed Contributor

Either something went wrong with uploading the attachment or downloading it... but all I get is a big white rectangle.

Rather than screenshot... what's the verbage on the error message?


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
saranoor
Frequent Contributor

TestExecute.jpg

tristaanogre
Esteemed Contributor

Please open the project in TestComplete and show us what that project test item is and what element is being run.


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
saranoor
Frequent Contributor

Project_TestComplete.png

tristaanogre
Esteemed Contributor

That shows us the log for running the script itself... but not for the test items.  We need to see the test item screen for the project itself.  TestExecute needs to know what test items to run.


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
saranoor
Frequent Contributor

Project_tests.jpg

tristaanogre
Esteemed Contributor

Still not quite right... which kind of tells me what I need to know...

 

Go to View -> Organize Tests.

 

Those are your test items.  when you run a project, this is what TestComplete (and TestExecute) use to determine what to run in what order.  It can be very simplistic (as it is in my case) where you have one TestItem that launches a framework structure to execute a seriest of tests... or it can be complex with nested groupings and dependencies and such to structure the flow of your project.

 

No matter what... this is where the Test Items live... and if a test item (in your case ProjectTestItem1) is mis configured, you'll get the error your reported in TestExecute indicating that the element cannot be found.


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
cancel
Showing results for 
Search instead for 
Did you mean: