Contributions
Is TestEngine included with ReadyAPI license?
I've been searching to try to find costs for TestEngine and have had no luck. I'm wondering if it perhaps consumes a ReadyAPI license to run functional API tests in CI/CD rather than requiring it's own license. Can someone clarify, and provide costs (or a link) if it requires it's own license?Solved3 years agoPlace ReadyAPI QuestionsReadyAPI Questions743Views0likes2CommentsRe: Python __getprop__ fails
Thanks, Robert. That is a beautiful option for the matter I reported, along with great sample code. Now I'm trying to wrap my head around how to specify a certificate for that REST call (the "verify" as shown in my original Python sample). I'm assuming it can be done with a header, but can't quite get there. Any thought? :-)463Views0likes0CommentsRe: Python __getprop__ fails
I don't often use that, but was seeing the same things under Inspect (and no methods). If there's other functionality within Evaluate I should explore for this issue, please enlighten me. Screenshots attached of that inspection of the requests object. Thanks! Heath2.9KViews0likes4CommentsRe: Python __getprop__ fails
Thanks, Robert, That makes sense about the __getprop__ only being for tested objects' properties. It was a punt...and is always an afterthought/fix for me when the standard Python format fails on me. :-) I did copy the requests package to the x86 path, stopped and restarted the x64 version of TestComplete (just to be certain!) and get the same error on the "get" (direct requests.get, not requests.__getprop__). I also ran the x86 version of TestComplete and get the same error. It is finding the package, because I get a different error (ModuleNotFoundError: No module named 'requests') if the package is not in the right path. Good thoughts/info, though. Much appreciated. Other ideas??2.9KViews0likes8CommentsPython __getprop__ fails
I've added the "requests" package to the ...\TestComplete 12\x64\Bin\Extensions\Python\Python36\Lib folder. This code works beautifully to return the proper response using the Python installed by TestComplete (Python 3.6 with TestComplete 12.42): import requests baseURL = 'https://jira.mycompany.com' URL = baseURL + '/rest/zapi/latest/util/project-list' r = requests.get(URL, auth=('MyUsername', 'MyPassword'), verify="c:\shared\certs") print (r.text) This code does not work from within a Python project in TestComplete (running the x64 copy): import requests def TestAPICall(): baseURL = 'https://jira.mycompany.com' URL = baseURL + '/rest/zapi/latest/util/project-list' r = requests.__getprop__('get', URL, auth=('MyUsername', 'MyPassword'), verify="c:\shared\certs") Log.Message(r.text) The latter returns a Python runtime error: AttributeError: module 'requests' has no attribute '__getprop__' I've also tried: r = requests.get(URL, auth=('MyUsername', 'MyPassword'), verify="c:\shared\certs") which returns: AttributeError: module 'requests' has no attribute 'get' What am I missing? Thanks, HeathSolved3.1KViews0likes10Comments- 9KViews0likes0Comments
Re: Modify auto-formatting of closing bracket and quotation marks
YES! Thank you for implementing this change. I've been using 12.40 today and have encountered much less frustration. I've done some preliminary testing and have not found any incidents when a closing mark is inserted when I don't want it. Thanks again!8.4KViews0likes0CommentsRe: Allow Find to find text within collapsed code sections
Interesting note...searching the entire project with the "Search hidden text" checked is much faster than with it unchecked. I verified the results were consistent between the two searches, but for some reason, with it checked it noticeably faster.12KViews0likes0Comments