After click button in tested app run Test project
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)
Solved! Go to Solution.
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.
[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
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 🙂
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.
/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.
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.
Community and Education Specialist