TestComplete having issues with ReactJS Applications
Hi,
Our application under test recently moved to using React JS library. We started noticing that the UI that we see during execution was not updating correctly. When events would happen that would trigger UI changes, the UI changes did not reflect onto the browser, it did in the back end but not on the visible layer. Everything works well when done manually but when our automation scripts are running the UI fails to catch up. This has started to cause issues such as the script failing to click object that have not "reflected" yet in the UI.
I was wondering if there are other users out there that has experienced the same thing and if you have found a workaround. The only change the application has gone through was switching to the ReactJS library and as more and more components of the application has switched, the more areas we see the issue. If this continues we might have to stop using TestComplete entirely for this application.
I've attached a video, if you notice at the end the entire sub window collapses, that should have happened a few seconds ago from an action. This is what happens, after we stop the TestComplete execution and click on the browser all the delayed "actions/changes" would all happen and the UI adjusts itself to correction
Hi wmtan01
I meant what happens if you record a new test,
Does it also struggle to replay successfully?
Either way it sounds strange however iv no doubt well get to the bottom of it.
If you haven't already I would suggest opening a support case
https://support.smartbear.com/testcomplete/message/
Add as much information possible (attach log files this can help the team debug the issue sooner)
If support solve the issue, kindly let us know what the cause was just for future reference
KR
Vinnie