Ask a Question

Why plan do action in the child screen but the parent screen showed and automation can't go on work

Leyna
New Contributor

Why plan do action in the child screen but the parent screen showed and automation can't go on work

Why plan do action in the child screen but the parent screen showed and automation can't go on work

Look at the screenshot i make here, when in pic 'A' click 'high light' in TC, then in pic 'B', the child screen will be overlap by the parent, then pic 'C' ,TC give the warning message.

Anyone meet the same situation like this? how do you deal with this in the last? Is this a TC bug? Our application work when manually do. Thanks!

desktop.PNG

5 REPLIES 5
Marsha_R
Community Hero

Re: Why plan do action in the child screen but the parent screen showed and automation can't go on w

Before you get to part A, have your test 1) click the header of B to bring it to the front or 2) drag the child window away.  If those don't work it's possible that your application has the child window set to be always on top. You might need to finish with B before you open the child window.


Marsha_R
[Community Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
Leyna
New Contributor

Re: Why plan do action in the child screen but the parent screen showed and automation can't go on w

hi Marsha_R,

 

Thank you for your comments. Yes , I have tried to click on the child page to make it on the top, this can work.But the parent page go to the top again when I try to fill the data though the child page pop up to the front, so maybe issues in the product? But you know it works when manually ......

 

Regards, Leyna

Marsha_R
Community Hero

Re: Why plan do action in the child screen but the parent screen showed and automation can't go on w

Does it work in TestComplete if you use debug mode and step through the test one line at a time instead of just letting it run?  Sometimes TestComplete runs faster than the app can load and then things get crossed up.  If that's the case, you can try using the Wait methods:

https://support.smartbear.com/testcomplete/docs/app-objects/common-tasks/waiting-process-or-window-a...


Marsha_R
[Community Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
Leyna
New Contributor

Re: Why plan do action in the child screen but the parent screen showed and automation can't go on w

hi  Marsha_R,

Thank you for your comments, I do have the debug mode and also try with the delay method for the case but still does not work, and also separate the steps and still not work neither.

Leyna.

Marsha_R
Community Hero

Re: Why plan do action in the child screen but the parent screen showed and automation can't go on w

I suggest you contact Support directly with this question.  Here's the link:

https://support.smartbear.com/testcomplete/message


Marsha_R
[Community Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results for 
Search instead for 
Did you mean: