Contributions
Re: Edge and TestComplete 11.11 not working
Any more news on this? Has this been resolved yet? We're using TestComplete 11.30.2298.7 and we're getting the same error when trying to runscripts to testour webpage against MicrosoftEdge browser (version 20.10240.16384.0, Win10 version 10.0.10240). Upon examiningbrowser process "Edge" in the"Object Browser" tab, I noticed it only had "BrowserWindow(0)" underneath it, no "Page" object and that looks like it's the root cause! See attachedimage. If I brought up google.com or msn.com, the "Page" objects for these two webpages were created fine. What's going on? Should we contact Customer Care Team? I verified that option "Enable support for testing Windows Store applications" is checked / enabled. We're using AngularJS 1.5.3 for the webpages. Code: Browsers.Item(btEdge).Run(url); Log: Unable to navigate to the http://lisqa02:9090/ezshipping-0.1.91/componentTestPage/... page.13:11:07Normal Additional Info: URL: http://lisqa02:9090/ezshipping-0.1.91/componentTestPage/#/searchBox Process ID: 5044 Process Command Line: "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe" -ServerName:MicrosoftEdge.AppXdnhjhccw3zf0j06tkg3jtqr00qdm0khc.mca Info: Cannot find the Page node after calling the NavigateTo method. Aliases.browser2.8KViews0likes4CommentsRe: Get VB error "Root element is missing" when calling a webservice method
The method doesn't take any params. Note if I write a .NET test wrapper and then in TestComplete I call the .NET method, then it works fine. It doesn't work if I add this webservice in TestComplete and call it directly. Strange. <?xml version="1.0" encoding="UTF-8" ?> - <!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Metro/2.1 (branches/2.1-6728; 2011-02-03T14:14:58+0000) JAXWS-RI/2.2.3 JAXWS/2.2. --> - <!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Metro/2.1 (branches/2.1-6728; 2011-02-03T14:14:58+0000) JAXWS-RI/2.2.3 JAXWS/2.2. --> - <definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.planning.lynden.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://ws.planning.lynden.com/" name="FmsPlanningTestWebservice"> - <types> - <xsd:schema> <xsd:import namespace="http://ws.planning.lynden.com/" schemaLocation="http://john:8080/Fms-Planning-Webservice-1.1.5-SNAPSHOT/FmsPlanningTestWebservice?xsd=1" /> </xsd:schema> </types> - <message name="startCacheClient"> <part name="parameters" element="tns:startCacheClient" /> </message> - <message name="startCacheClientResponse"> <part name="parameters" element="tns:startCacheClientResponse" /> </message> - <message name="LyndenCacheException"> <part name="fault" element="tns:LyndenCacheException" /> </message> - <message name="stopCacheClient"> <part name="parameters" element="tns:stopCacheClient" /> </message> - <message name="stopCacheClientResponse"> <part name="parameters" element="tns:stopCacheClientResponse" /> </message> - <message name="clearFreightCache"> <part name="parameters" element="tns:clearFreightCache" /> </message> - <message name="clearFreightCacheResponse"> <part name="parameters" element="tns:clearFreightCacheResponse" /> </message> - <portType name="FmsPlanningTestWebservice"> - <operation name="startCacheClient"> <input wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/startCacheClientRequest" message="tns:startCacheClient" /> <output wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/startCacheClientResponse" message="tns:startCacheClientResponse" /> <fault message="tns:LyndenCacheException" name="LyndenCacheException" wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/startCacheClient/Fault/LyndenCacheException" /> </operation> - <operation name="stopCacheClient"> <input wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/stopCacheClientRequest" message="tns:stopCacheClient" /> <output wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/stopCacheClientResponse" message="tns:stopCacheClientResponse" /> <fault message="tns:LyndenCacheException" name="LyndenCacheException" wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/stopCacheClient/Fault/LyndenCacheException" /> </operation> - <operation name="clearFreightCache"> <input wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/clearFreightCacheRequest" message="tns:clearFreightCache" /> <output wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/clearFreightCacheResponse" message="tns:clearFreightCacheResponse" /> <fault message="tns:LyndenCacheException" name="LyndenCacheException" wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/clearFreightCache/Fault/LyndenCacheException" /> </operation> </portType> - <binding name="FmsPlanningTestWebservicePortBinding" type="tns:FmsPlanningTestWebservice"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> - <operation name="startCacheClient"> <soap:operation soapAction="" /> - <input> <soap:body use="literal" /> </input> - <output> <soap:body use="literal" /> </output> - <fault name="LyndenCacheException"> <soap:fault name="LyndenCacheException" use="literal" /> </fault> </operation> - <operation name="stopCacheClient"> <soap:operation soapAction="" /> - <input> <soap:body use="literal" /> </input> - <output> <soap:body use="literal" /> </output> - <fault name="LyndenCacheException"> <soap:fault name="LyndenCacheException" use="literal" /> </fault> </operation> - <operation name="clearFreightCache"> <soap:operation soapAction="" /> - <input> <soap:body use="literal" /> </input> - <output> <soap:body use="literal" /> </output> - <fault name="LyndenCacheException"> <soap:fault name="LyndenCacheException" use="literal" /> </fault> </operation> </binding> - <service name="FmsPlanningTestWebservice"> - <port name="FmsPlanningTestWebservicePort" binding="tns:FmsPlanningTestWebservicePortBinding"> <soap:address location="http://john:8080/Fms-Planning-Webservice-1.1.5-SNAPSHOT/FmsPlanningTestWebservice" /> </port> </service> </definitions>1.2KViews0likes0CommentsGet VB error "Root element is missing" when calling a webservice method
I'm trying to call a webservice method in TestComplete but I'm getting a VB error "Root element is missing". I can access and execute the method just fine through a browser so I think the link and the WSDL are good. Is there some settingthat Ineed to set in TC or something? Please help! I'm using TC v10.5 Here is what I have in Testcomplete: 1. Add a webservice, give it a URL to the WSDL filehttp://localhost:8080/XXXX X/TestWebservice?wsdl 2. Verify that I can see all the expected methods. 3. Add the following like to the script WebServices.FmsPlanningWebservice.clearFreightCache() If I execute this, I get a VB error saying "Root element is missing". Is this a TestComplete issue or is am I missing something? Thanks, TTT.1.2KViews0likes2CommentsRe: Freeze Diagnostics was not able to kill the process successfully
Hey thanks for your suggestion, Robert! Good point. I checked and yeah I did get 2 IE processes listed in the task manager when trying to start up IE. I just configured my IE settings per suggestion in the article. Hopefully that will take care of it. Regards, Thuy1.2KViews1like0CommentsFreeze Diagnostics was not able to kill the process successfully
The configuration we have for this project isusing TC9.31 + IE9. We added "iexplore" process to the list of processes to kill in the "Freeze Diagnostics" panel in TC. We find that sometimes when IE hangs, TC is *not* able to kill the process successfully and, as a result, the script is not able to timeout, leaving it blocks the whole run which is unacceptable. Is there a workaround? How does TC terminate the freeze application? Is there a way for us to override your method? Please see attached images. Let us know if you need more info. Thanks, Thuy2.7KViews0likes2CommentsRe: Web Testing in Firefox 27
Tanya, Should Firefox27 patch work with TC9.31 version? Reason Iask is because our automated scripts stops working after weupgraded toFirefox27 patch,from Firefox26.After some debugging, it looks like the way we've beenfindingsome of the controlsis bycalling FindChild and relying onvalue exposed outby TC in the "idStr" property.With the new patch, the "idStr" property is now blank and instead the value is now exposed out in property "ObjectIdentifier". Can you tell us if this is expected with the new patch? If so, can you tell us the reason why and if there are other properties with similar changes that we need to be aware of? Regards, Thuy834Views0likes0CommentsDoes TC support Swing application with embedded JAVAFX FXML & CSS content?
We have an in house Swing Java application and we've been using TC to write automated scripts for it successfully. Recently the app gets extented to embed javafx with FXML and CSS content. Using TC Object browser, we can only drill down to swing object "JFXPanel" and not able to drill down to individual UI controls specified in FXML. Can you give us some advice here?Does latest TC (9.3) support Swing application with embedded JavaFX fxml & css?Wecan get the scene object off off the JFXPanel object but we are not able todrill down toindividual controls specfied in the XML file. Are we missing something? Thanks, TTTSolved6.1KViews0likes4Comments