When trying to create a Checkpoint getting "Copy Text to Clipboard" window
When trying to create a Checkpoint using "Check object contents or properties -OR- Compare images or screen regions", we're getting a "Copy Text to Clipboard" window, and we're not able to finish creating the checkpoint with the Checkpoint Wizard. Does anyone know how to resolve this?
Re: When trying to create a Checkpoint getting "Copy Text to Clipboard" window
That is correct behavior depending upon where you are doing your selection for creating the checkpoint.
If you are editing a keyword test and add the checkpoint from the action list, you won't get that screen because the checkpoint will resolve into a keyword operation.
If, however, you are editing script code and you use the checkpoint drop down at the top of your code window, you'll get that copy text screen so that it will take the code generated for the checkpoint which you can then copy and paste into your script code.
So... it comes down to, really, where you are in TestComplete when you create your checkpoint. If you are editing or recording a script and not a keyword test, what you are experiencing is expected.
From the help found https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/regions/creating.html:
Click Finish to exit the wizard. TestComplete will add the checkpoint statement for the specified image to your test.
If you are creating a region checkpoint while editing a test script, then the generated checkpoint code will be displayed in the Copy Text to Clipboard dialog. You will be able to copy this code to the clipboard and then paste it to the desired place in your script."
[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