Calling a TestComplete method from external application
Hello, I have a TestComplete project with a python script, wich is testing an application (Application A). My plan is it, to call a function out of the TestComplete testing script from another C# application. C# application (B) Python TestComplete script Application A push button in application A ---> pushButton() ---> *button gets pushed* Is there an elegant way to do this? Like some kind of Interprocess Communication. I know that there is a REST API, but because both applications run on the same computer this would not be nice solution. I hope you could understand my plan 😄 Greetings LeonSolved1.7KViews0likes6CommentsCalling a REST API from a keyword test
Ok... I've looked at the docs and searched the web, and I can't believe I haven't found an obvious answer to this question: Is there an easy way for me to call a REST API during my keyword test and easily extract an answer from the result? Here are a couple of scenarios I need to implement: I want to call the API at https://validator.w3.org/nu to validate the HTML markup on each of my web pages As part of my website's "Forgot my password" workflow, the user has to enter a validation code that I send to the user's phone. I would like to expose an API on my website that returns the validation code for my "test user" account, so that I can fetch the validation code and enter it on the page in my workflow where the user would read it from the phone and manually enter it.Solved3.4KViews0likes5CommentsTestComplete not waiting for page loads when api call done with different variables
Changes to a textbox on the page we are testing results in 2-4 api calls to the same url but with different variables /configure/ConfigureServlet?action=getFlatOptionStore¤tOrder=-140¤tItem=1.00 /configure/ConfigureServlet?action=updateSingleSegment&option=UOM /configure/ConfigureServlet?action=validateCfg¤tOrder=-140 /configure/ConfigureServlet?action=updateSingleSegment&option=WIDTH.OPT Listed above are only the beginning of the url's and not all of them. We enter text into the 1st textbox, tab to the next textbox and the api calls are made, when we get to the 3rd textbox the api calls from the 1st return and delete what we have in the 2nd textbox and our tests are unable to complete. We have been adding delays to our keyword tests but this has been hit/miss because some of our wait times for the api calls to finish can be 10 seconds. ThanksSolved2.7KViews0likes4Comments