Ask a Question

Image Based Action failed due to TestComplete running dialog blocking

SOLVED
Josh_147
Contributor

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. 

blocked.png

6 REPLIES 6
Keith185
Occasional Visitor

Facing same problem but mine get stuck on 99% like citefast

AlexKaras
Champion Level 2

Hi,

 

Is there any solution for this situation?

Indicator.Hide() / Indicator.Show()

 

Regards,
  /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
================================

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.

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);
}

 

 

Regards,
  /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
================================

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.

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.

 

Regards,
  /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
================================
cancel
Showing results for 
Search instead for 
Did you mean: