Contributions
TestComplete 12.6 or 14.1 Windows 10 IE11 unable to see Page object in Object Browser
For our newest testers starting out on Windows 10 laptops with IE11, we are finding that their TestComplete version 12.6 Object Browser/Object Spy is unable to view the Page object like our Windows 7 laptops can for IE11. Things we've already tried: 1) All the steps here: https://support.smartbear.com/testcomplete/docs/app-testing/web/general/preparing-browsers/internet-explorer.html#_ga=2.137402992.1317867577.1553692844-1818583627.1485982046 2) setting the TabProcGrowth regedit to 0 3) Upgrading to TestComplete 14.1 ...what can we do now? I feel like we have LITERALLY run through every option :(1.5KViews0likes5CommentsRe: Unable to identify textbox in the few parts of the application Im using IE 11
We actually found the solution, it was related to problems with TestComplete v12.20 https://community.smartbear.com/t5/TestComplete-Functional-Web/Problems-with-recognizing-objects-on-page-TestComplete-12-64-bit/td-p/137584/highlight/true/page/2 Solved the problem by reverting to 12.10 (patch solution for 12.20 supposed to be a part of 12.30)2.1KViews0likes0CommentsRe: Unable to identify textbox in the few parts of the application Im using IE 11
A little extra context to rajesag's issue: On his laptop (and the laptop of another new hire), his TestComplete object spy can see the object tree on the tested page down to a certain level to a particular panel, but the children beneath that panel (including text boxes and down down selections) are not getting populated. His object spy can see up to this point: Sys.Browser("iexplore").Page("*").Panel("container").Panel("content_container") My object spy can see down to: Sys.Browser("iexplore").Page("*").Panel("container").Panel("content_container").Panel("content_section").Panel("content").Form("OfferDetailForm").Fieldset(1).Panel("offerDiv").Table(0).Cell(1, 2).Textbox("noOfEvents") ect. Things we've done so far: Set TabProcGrowth 0 (and reset computer) Delete history and browser cache So far we're only seeing this issue for one particular page. Other pages their object spies can see all the objects just fine. Right now we're kind of stumped as to what we can try next, so any input is appreciated please.2.1KViews0likes3CommentsTestExecute 10 crashes when closing, Problem Event Name: APPCRASH, Fault Module Name: vnchooks.dll
When closing TestExecute I keep getting "TestExecute 10 has stopped working" pop-up with these problem details: Problem signature: Problem Event Name: APPCRASH Application Name: TestExecute.exe Application Version: 10.30.1303.11 Application Timestamp: 2a425e19 Fault Module Name: vnchooks.dll Fault Module Version: 1.1.0.0 Fault Module Timestamp: 525acfb8 Exception Code: c0000005 Exception Offset: 000020b4 OS Version: 6.1.7601.2.1.0.256.48 Locale ID: 1033 Additional Information 1: 0a9e Additional Information 2: 0a9e372d3b4ad19135b953a78882e789 Additional Information 3: 0a9e Additional Information 4: 0a9e372d3b4ad19135b953a78882e789 Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409 If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt1.2KViews0likes1CommentRe: What is the best approach for scripting with name mapping or without name mapping?
thePanel = parentPanel.FindAllChildren(new Array("ObjectType", "innerText"), new Array("Panel", "*" + textBoxIdentifier + "*"), 9999); thePanel = new VBArray(thePanel).toArray(); foundRightPanel = false; //Text directly preceding textbox with ONLY spaces and no text //before it in the same panel re = new RegExp("^\\s*" + textBoxIdentifier); len = thePanel.length; panel = null; for(var i = 0; i < len && !foundRightPanel; i++) { if(aqObject.IsSupported(thePanel[thePanel.length - i - 1], "innerText")) if(re.test(thePanel[thePanel.length - i - 1].innerText)) { panel = thePanel[thePanel.length - i - 1]; foundRightPanel = true; } } theTextbox = thePanel.Find("ObjectType", "TextBox", 9999);1.6KViews0likes0CommentsRe: What is the best approach for scripting with name mapping or without name mapping?
Hmm, I'm not as familiar with pure java based applicatioins for TC; our application is driven by the browser. Can SWTObject's not be defined with morespecific "named" properties? One thing I've found in my software development work is that developers are usually amenable to helping automation testers by giving good name mapping properties to page objects, if you catch it and ask them during initial development at least.1.6KViews1like0CommentsRe: What is the best approach for scripting with name mapping or without name mapping?
I set-up a script that acts as an "object repository" and define all the objects as functions, like this: var testBrowserType = "iexplore"; function mpPortal_Link_FAQs(){return WaitForAndReturnTheObject(Sys.Browser(testBrowserType).Page("*"), new Array("ObjectType", "innerText"), new Array("*Link*", "*FAQs*"), 99);} //wait 5 seconds if page and objectload time doesn't sync properly with page.Wait() var objWaitTime = 5; function WaitForAndReturnTheObject(page, attribs, vals, depth, waitTime) { var object; var theWait = 0; if(waitTime != null) theWait = waitTime; else theWait = objWaitTime; for(var i = 0; i <= theWait; i++) { object = page.Find(attribs, vals, depth); if(object.Exists) { return object; } else if(theWait > 0) Delay(1000); }//end for try { Log.Error("Object not found! " + attribs[0] + ": " + vals[0]);// + ", " + attribs[1] + ": " + vals[1]); } catch(e){} return object; } //end WaitForAndReturnPageObject(page, attribs, vals)2.4KViews0likes0Comments