Contributions
Re: Checkpoint field selector selects entire grid rather than a field on a line
Hi all, For my particular app (Microsoft Dynamics NAV 2016), changing the MSAA options does not work. However, working with SmartBear Support, I was able to configure UI Automation in much the same way - Identify the object using Object Browser, then including its WndCaption in the list. Ron1.1KViews1like0CommentsRe: Startup of application within a Docker Container
Thanks for all the suggestions so far. I'm not quite there, but getting close: I created a script that runs my powershell script which starts my docker container and runs a command to start my app: function StartNav() { WshShell.run("powershell -file C:\\users\rons\desktop\Start-NAV.ps1") } When I run the command directly in Windows powershell -file C:\\users\rons\desktop\Start-NAV.ps1 My app starts correctly and the opening page in my app is displayed as I expect it. When I run the above script inside TestComplete, the app does not start, but the Script Test Log is successful (but empty). I see the Powershell window open briefly, but it disappears too quickly, so I can't see if there are any errors. I searched the Community and saw a couple of references from several years ago to running TestComplete as Administrator, which I also tried with the same result. Does anyone have any other suggestions?872Views0likes0CommentsRe: Startup of application within a Docker Container
Thanks for the link on running Powershell scripts. Here's my followup question: I'm creating tests only by using the "Record" function. We're not writing any scripts (yet). Do I have to convert the Test to a script first, then add the "getActiveXObject("WScript.Shell").Run("powershell -file C:\\MyScript.ps1");" command? Or is it something different? Thanks, Ron The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities, other than the intended recipient, is prohibited. If you received this information in error, please contact the sender and the privacy officer, and properly dispose of this information.908Views0likes2CommentsRe: Checkpoint field selector selects entire grid rather than a field on a line
Hi all, I didn't try entering * in the Wndclass property, but I did find instructions on how to identify the Wndclass of the particular control of the grid I am trying to rest. That didn't work. However, entering the same information in the the Open Applications | UI Automation did solve my problem. Here's a link to more info: https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/ui-automation/index.html I hope this information is useful. Thanks, Ron1.2KViews0likes0CommentsStartup of application within a Docker Container
Hi, Has anyone tried to start a desktop application within a Docker container? We do development on our local machines in a Docker environment. Can I pass a powershell script name which starts my docker environment and starts my desktop app to TestComplete? Thx RonSolved976Views0likes4CommentsCheckpoint field selector selects entire grid rather than a field on a line
Hi, I'm starting to build one of my first tests. I'm testing a desktop application Microsoft Dynamics NAV 2016. During recording, I created a checkpoint. I selected the "Drag the target to an object". When I dragged the cursor to a section of the page that shows line details, the entire line details grid object was highlighted with the red line - I could not select a specific field on one of the grid lines. Of course, when I let go of the mouse button, the checkpoint thought I was selecting the entire grid. Am I missing something? How do I select a field within a grid? Screenshot showing the highlighting of the grid is attached. Thx RonSolved1.5KViews0likes4CommentsNTLM Authorization does not work with SOAPUI Opensource
Hi all, Similar questions have been posted about this. I have a web service that supports multiple authentication methods. But I want to pass an NTLM authorization from SoapUI. Unfortunately, the web service first attempts a Kerberos authentication, and that fails. So the web service goes into "Negotiate" mode - it returns a message: HTTP/1.1 401 Unauthorized Content-Length: 0 Server: Microsoft-HTTPAPI/2.0 WWW-Authenticate: Negotiate It is expecting the request to re-send the authentication, at which time it will then attempt an NTLM authentication. When testing SoapUI, I struggled with this before I knew the reason, and I tried SoapUI Pro, which does not have this same problem. SoapUI Pro will authenticate properly Does anyone know if there is a setting or other workaround in SoapUI OpenSource? Thanks, Ron942Views0likes0CommentsRe: Message "line -1: Response is missing or empty" when submitting a POST message
Hi Rich, Thank you for all the replies and the time you obviously spent reviewing the environment. I finally found a resolution - when I was configuring my Authentication, I was specifying the NTLM authentication as Username: MyDomain\MyUserID Password: xxxxxxx Domain: <left blank> What I had to do is specify the domain separately in the "Domain" field, e.g. Username: MyUserID Password: xxxxxxx Domain: MyDomain Once I did that, the web service responded. Again, I am new to web services, so I don't always know where to look or what responses actually mean. But i do appreciate your time. Regards, Ron4 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.7KViews1like0CommentsRe: Message "line -1: Response is missing or empty" when submitting a POST message
Thanks again Richie for being willing to try to help a newbie like me 🙂 I will post to the correct board next time - thank you for pointing me to the right resource. ok - so your answer to Q5 - if you look at the screenshot for your response - (the right hand side pane opposite the request's pane on the left), you will see the 'XML' tab is enabled - can you click on the 'RAW' tab, so we can see all the headers and the payload of the response? On the right-hand pane, the XML tab shows the same message "missing raw response data" Also - you mentioned the payload being submitted in Wizdler is slightly different to the dynamically generated payload in SoapUI. Can you publish both so we can compare? Here's the Wizdler format: If I POST the request, here's the response in Wizdler: Here's SoapUI's version: youve already tried submitting a SoapUI message via Wizdler, can you do it the other way around to confirm what happens? i.e. publish the wizdler message content via SoapUI? Just overwrite one of the messages contents to see what happens and then revert back afterwards. Same result: Can you double check the URL you are POSTing to? Here is the full URL, with company-specific info replaced by xxxxx but no other changes https://xxxxxxx.xx.xxxxxx.com:9047/DynamicsNAV90/WS/xxxxxxxxxxxxx/Codeunit/ShoppingCartMgt Thanks in advance Ron4 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.7KViews1like2CommentsRe: Message "line -1: Response is missing or empty" when submitting a POST message
Hi Rich, First of all, I apologize for posting in the wrong forum - I DID try to find a SoapUI or ReadyAPI forum, but it was not listed in the choices when I created this post. My bad. Q1. You created your project based on the .wsdl - correct? Yes - I created a new project and pasted in the URL for the endpoint for my webservice that returns the WSDL - it populated all the methods correctly. Q2. Did you create a testcase and subsequent teststep using the .wsdl? No - I'm not yet experienced enough in creating test cases - I wanted to just manually run the request to see if i could receive a reply Q3. Did you copy the SOAP request payload into the teststep or was it dynamically generated? I am new to SoapUI and much of the terminology in web services - I am an application developer learning the web-service side. But here's what I did: 1. I created a SOAP Project and loaded the WSDL that I had previously saved as an .xml file - it generated all the methods 2. I rightclicked on one of the methods and clicked "New Request" - On the XML tab, it showed the WSDL. On the "Raw" tab, it showed <missing raw request data" 3. I filled in the required data in the request and clicked the green execute arrow 4. I received the response "line -1: Response is missing or empty" Q4. Where you say "If I copy the WSDL and paste it into a browser, the web service call runs successfully." - what do you mean - "it runs successfully" when you copy it into a browser. I'm not understanding what you mean by run it when its in the browser....???? We currently use Wizdler to test the web services. I can input the URL for the endpoint and select the method I wish to test. If I input the required data and click "GO" (a button that Wizdler adds to Chrome), the request is executed and the response appears in another window. The format of the WSDL generated by Wizdler is slightly different, so I copied the SoapUI request into the Wizdler Request Window and clicked "Go". I received a correct response. Q5. Can you provide the full RAW details of both the request and it's response please? When I say full RAW - I mean, HTTP headers and payload. The screenshot above is what I think you want - it shows the raw tab on the request page and the response in the lower right. If my questions are too elementary, I apologize, and I'll try other resources. Thank you for your team. Thanks Ron4 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.8KViews0likes4Comments