scot1967Champion Level 3Joined 9 years ago483 ย Posts170 LikesLikes received30 ย SolutionsView All Badges
ContributionsMost RecentMost LikesSolutionsRe: If statement Hello, From your previous reply, Condition do you need to verify: If a user selects "Yes," an additional two to three dependent fields appear below it. If "No" is selected, the form proceeds normally without displaying these additional fields. I think an 'If Object' after TC clicks Yes would work. The' If Then' block may not be what you want? Re: If statement ... I would guess you want to verify something does or does not exist in which case a checkpoint that returns true or false would be useful to put in your If, Then block.... https://support.smartbear.com/testcomplete/docs/keyword-testing/reference/checkpoints/index.html Re: If statement Hello MMZain, I can't answer your question precisely without knowing what you want to test. A code snip or screen grab would help. For now I can share this link... https://support.smartbear.com/testcomplete/docs/keyword-testing/reference/statements/if-then.html Get back to us with the behavior you are trying to test if you are still stuck. Pass me a like ๐๐ผor set this as resolved if I gave you the info to answer your question. Have a super day / evening! Re: Unable to run Keyword Tests after 15.80 Hi pse, Release 15.77 upgraded the Python engine. https://support.smartbear.com/testcomplete/docs/general-info/version-history/features-added-to-ver-15-77.html Latest Python Support. Support for Python version 3.13.3 has been added. This allows users to run and debug tests using the most recent Python runtime. So other aq methods work? If not, you may have a corrupt install or aq library. If you need to contact support, the help menu is the easiest way. Also... https://support.smartbear.com/testcomplete/ Look at the bottom left of the page. ... If you find my posts helpful drop me a like! ๐ Be sure to mark the solution to help others out and to give credit the person who helped you. ๐ Re: 'ADO' is not defined error - TC v15.79 I have not seen this but if this worked in previous versions and only stopped when you upgraded versions and nothing else changed, check in with support. Get them from the help menu or the open case using the link on the bottom left of this web page. https://support.smartbear.com/testcomplete/ Re: log message issues in testcomplete I think Hassan_Ballanโ is on to something. Your project may be corrupt. It all runs on XML files on the back end. If you are using Source Control you may be able to run some diffs on the files. I have done that and it saved my tail a few times. Best of luck! Re: TestComplete Closing Issue in Debug Mode Hi Nelsonbritto, First thought, TestComplete won't recognize a break point on certain types of code lines or if the line is skipped due to conditional code like an if statement or a for each. Could you share the code line where the break point is skipped? The second problem where TC stalls and quits would require a look at the code block, function or method. Some other post here mentioned complex JS in Windows We have some complex JScript-based project and TC (any 14 and 15 version) crashes miserably on Win11 24H2. Everything is fine on Win11 23H2. Testcomplete closed itself | SmartBear Community I will pass this along as well... I we can't help then hit TC support from your Help menu in TC. Re: Send Request Operation - Response Body? I should also mention ReadyAPI pairs with TestCompete nicely and SoapUI can as well though it is a bit more cumbersome to link and lacks the robust feature set in ReadyAPI. Re: Send Request Operation - Response Body? Hi rachellawrence, I hope you are doing well. The link rraghvaniโ posted is what I have used with this type of work. If you are working with an API extensively I would recommend looking at SOAP UI or Ready API. The methods available in TestComplete are very limited in comparison. function sendGetRequest() { // This is a call using the aqHttp helper object. It is limited and will not return large datasets. let url2 = "https://api.XXXXXXX.com/InventoryManagement/ReceivingGridSelect?PurchasingDocument=1111"; let request = aqHttp.CreateGetRequest(url2); let response = request.Send(); if (response.StatusCode == 200) { Log.CheckPoint("Response received: " + response.Text); } else { Log.Error("Request failed with status: " + response.StatusCode); } } ... If you find my posts helpful drop me a like! ๐ Be sure to mark the solution to help others out and to give credit the person who helped you. ๐ Re: log message issues in testcomplete Hi nelsonbritto, To properly answer you question we would need to know more about how you are setup. If you are using nested classes and methods it may only take you so far. it doesnt bring me to code where it was declared. Where does it take you if anywhere? ... If you find my posts helpful drop me a like! ๐ Be sure to mark the solution to help others out and to give credit the person who helped you. ๐