Forum Discussion
You're asking a lot of information in a simple question, mcp111. :)
So... to start with, the code is written in a Script unit. Read the following for writing script tests in TestComplete.
https://support.smartbear.com/testcomplete/docs/scripting/overview.html
As for the tooltip, I would use Object Spy to determine how the tool tip shows up. Sometimes the tooltip is its own object... sometimes it's a property of the object that has the tool tip assigned. So, you will need to first need to determine where the tool tip is. From that point, it's either code a HoverMouse action over the exclamation mark icon and do a property checkpoint on the tool tip object... OR, do a property checkpoint on the exclamation mark icon for the tool-tip property...
I need to do everything in TestComplete itself.
How would I access tooltip text in TestComplete?
How to log a message that the test passed to an external log file?
- tristaanogre6 years agoEsteemed Contributor
mcp111 wrote:
I need to do everything in TestComplete itself.
How would I access tooltip text in TestComplete?
How to log a message that the test passed to an external log file?
And my answer all involves TestComplete. Script units are part of TestComplete. so, if you want to write that code, you need to write script code in a script unit and then use "Run Script Routine" operation in your keyword test to execute. Object Spy is part of TestComplete. Property checkpoints are part of TestComplete.
So... I'm not sure what you're looking for.
- mcp1116 years agoContributor
ok
When I googled Object Spy it showed QTP Object Spy so that's why I was confused.
When I looked in more detail I found that there was also a Testcomplete object spy.
I think I got what I need.
Thanks
- tristaanogre6 years agoEsteemed Contributor
Rather than a simple google search, start with
https://support.smartbear.com/testcomplete/docs/That's ALL the TestComplete documentation in one place. It's searchable... and it mirrors the Help that's built into the TestComplete tool... it also has built in tutorials, code examples, etc.