Forum Discussion

sborno's avatar
sborno
Occasional Contributor
6 hours ago

Problems by validating a tooltip of a wpf application

Dear community,

I've encountered the following issue with a keyword test, as shown in the attached picture:

The keyword test consists of 6 steps: Lines 1 to 4 and Lines 6 to 7. Line 5 is a manual interruption by the tester. The script in Line 6 triggers the visibility of the tooltip (of Component1), while the script in Line 7 validates the tooltip.

Everything works perfectly if:
- The tester executes the keyword test and stops at Line 5 using a breakpoint.
- Subsequently, the tester resumes execution from Line 6 using the context menu item "Run from Selected Operation".

However, the keyword test fails to find the tooltip if:
- The tester executes the keyword test without stopping, so Lines 1 to 5 and Lines 6 to 7 are executed consecutively.

What is the difference between these two scenarios?

What could be the root cause of this problem and how can it be resolved?

Thank you for your responses in advance!


- Currently we use the TestComplete version 15.62.2.7 x64
- The tooltip is visible in both cases