We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
Hello HarryJ ,
You might consider using the OCR checkpoint. It is available via a button at the top of the second page of the Checkpoint Wizard. TestComplete will make an image of the control and visually extract the text from the image. It is very accurate and powerful.
Good Luck!
Larry
I would guess that when the test runs, it's getting to that line before the object is actually there to check.
Just to test that theory, put a Delay of several seconds before the line that fails
https://support.smartbear.com/testcomplete/docs/keyword-testing/reference/misc/delay.html
Let us know either way. If the Delay fixes it, there's a better practice for doing that, using Wait, but I don't want to pile on solutions if that's not the problem. Delay is just a quick way to check.
Welcome to TestComplete!
The delay doesnt seem to change anything im afraid
Okay, what you can see in here is that the Actual value is showing the control characters around the value you want and not just your value.
There are a couple of things to try. Look at the checkpoint again and see if you can drill down farther than the panel and get a property that's just your value without the extra characters. If not, then we can look at using aqString to take that actual value apart and just find the bit that you need.