Test Execute error
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Exactly... and notice the X symbol beside the Test Item... that means the test item is there... but the element (Script routine, Keyword Test, or BBD scenario) that the item is pointing to does not exist... it may have at one point but it has been since then renamed, deleted, moved, etc. This is the cause of the error you're getting in TestExecute. Fix this... and you're good.
Since you probably didn't even know that this existed before now... Here's some light reading for you.
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I organized the tests as per your instructions and still see the same error.Nothing ahs chnaged in the tests.
Why is Test Execute not able to see the scripts?
Why is the red X displaying under project?
Will start reading from the link that you have sent.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You haven't assigned anything to the project test item. When you run a project via Test Execute, it runs the Test Items. The red x means that you don't have anything associated with the Test Item.
As mentioned, there probably WAS something there.. and it's been deleted. You need to edit the test item (and, perhaps, add more to execute all the tests you want to run) and then run your project.
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using Test execute for the first time as we installed it just yesterday.
You haven't assigned anything to the project test item.
How do I do this?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Read the article I linked above for full details.
But, basically, you need to edit the Project Test Item that's there and link it to either a keyword test or a script routine to be executed. Obviously, you want to have more test items than just the one if you have multiple tests. But that article should walk you through the full process or, at least, give you the starting point to read up on what Test Items are and how they work.
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Read the article and added alogin script to another project " project 1"
It ran teh login script and failed at the user name step.
This login script is running fine in test Complete. Login script is being calle din other keyword tets. So I wanted to see if that login script works.
How can I resolve this?
First screenshot is of teherror on running login
Second screenshot is when I click RUN in Test Execute I see my login script.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was able to run the login keyword test succesfully in Test Execute.
Added another keyword test that calls the login function, That is not running.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Each test that you want to run you need to have a Project Test Item for. So, you have a test item for the Login script... but that's not what you want. You want a test item for the actual test case that uses the login script. That's how you need to match things up.
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So shall I remove the Login script from my Test Project as the WO script calls the login script within it.
Attaching Screenshot
