cancel
Showing results for 
Search instead for 
Did you mean: 

After click button in tested app run Test project

SOLVED
Highlighted
Contributor

After click button in tested app run Test project

Hi,

 

when I run test and i click a button in the tested application, nothing will happen! But when I click myself without test on same button run all test project! (TC 14 must be turned on)

 

Why :(?

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: After click button in tested app run Test project

Hi,

 

So... The test does not click on the button and just stays doing nothing until you manually click this button. Then test proceeds as expected. Right?

 

If the above is correct, can you provide us with the piece of the relevant test code and information about what application you are testing, what button you are trying to click and where this button is located?

 

P.S. I have a feeling that https://support.smartbear.com/testcomplete/docs/scripting/calling-methods-asynchrounously.html might answer your question.

 

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

View solution in original post

4 REPLIES 4
Highlighted
Community Hero

Re: After click button in tested app run Test project

I'm not sure I understand the question.  Are you saying that when the test is running, you can't click on a button in the AUT but when it is not running you can?  This may be by design.  There's an option in TC to prevent user interaction while an automation is running.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Highlighted
Contributor

Re: After click button in tested app run Test project

no no, when the test is running, i can click on button, but i click without test script (i click manual), so test project will start only when I click manual on the button in the tested application..

 

PS: nothing happens after clicking on button via testscript/ test run (as if button didn't work)

 

it's a fun problem, I don't know how to describe it 🙂

Highlighted
Community Hero

Re: After click button in tested app run Test project

Hi,

 

So... The test does not click on the button and just stays doing nothing until you manually click this button. Then test proceeds as expected. Right?

 

If the above is correct, can you provide us with the piece of the relevant test code and information about what application you are testing, what button you are trying to click and where this button is located?

 

P.S. I have a feeling that https://support.smartbear.com/testcomplete/docs/scripting/calling-methods-asynchrounously.html might answer your question.

 

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

View solution in original post

Highlighted
Community Manager

Re: After click button in tested app run Test project

Thanks for helping Community!

 

@David91 did you find any of the advice pieces helpful?

If not, please share more info like the Community suggests. It would be easier to troubleshoot when having actual code to look at. Thank you.


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors