Image Based Action failed due to TestComplete running dialog blocking
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Image Based Action failed due to TestComplete running dialog blocking
Hi all,
I'm trying to use the Image Based Action to simulate a Click action on an object but the object is covered by the TestComplete running dialog when I run the test. Therefore, the Image Based Action operation always failed. Is there any solution for this situation?
Thanks.
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
> Is there any solution for this situation?
Indicator.Hide() / Indicator.Show()
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AlexKaras
I've added Indicator.Hide() at the beginning of the test, it works but when the coming step is the Image Based Action, the indicator occurred again.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Hm... I see...
I would ask Support about this.
Meanwhile, you may try not to hide but to move Indicator to some other screen area as per http://www.sqaforums.com/forums/automatedqa-smartbear-testcomplete/65641-move-indicator-post303096.h...
Does this help?
Update:
Function from the above link updated to work with the modern TC:
// From: http://www.sqaforums.com/forums/automatedqa-smartbear-testcomplete/65641-move-indicator.html?X-ANT-WAF-Attempt=1#post303096
function MoveIndicator()
{
var h, w, i;
var X, Y;
w = Sys.Process('Test*te').Window('TIndicator', '', 1);
h = w.Handle;
X = w.ScreenLeft;
Y = w.ScreenTop;
// Move the window
for (i = 1; i <= 200; i++)
Win32API.SetWindowPos(h, Win32API.HWND_TOP, i, i, w.Width, w.Height, Win32API.SWP_SHOWWINDOW);
// Restore the original position
Win32API.SetWindowPos(h, Win32API.HWND_TOP, X, Y, w.Width, w.Height, Win32API.SWP_SHOWWINDOW);
}
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry it seems like couldn't help. When the coming step is the Image Based Action, the indicator occurred at the top right too.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
> When the coming step is the Image Based Action, the indicator occurred at the top right too.
Then no better idea at the moment but to create Support ticket via the https://support.smartbear.com/message/?prod=TestComplete form.
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
