Contributions
Re: Working with AFX contorls
Hi Tanya, Thanks for the update. I'm using TestComplete 7.5, tried identifying AFX controls in my application with "Tools | Options | Engines | General | Auto-correct Afx window class names" check box in enable & disabled states. But couldn't find any possible difference in the object identification. Object description with "Auto-correct Afx window class names" check box disabled: Sys.Process("MICShell").Window("Afx:00400000:8:00010011:00000000:000E0A63", "Pro-Watch 3 - [Manage Your Server]", 1).Window("AfxControlBar80u", "List Bar", 3).Window("AfxWnd80u", "List Bar", 1).Window("Afx:00400000:0:00010011:00000006:00000000", "", 1).Window("AfxWnd80u", "", 1) Object description with "Auto-correct Afx window class names" check box Enabled: Sys.Process("MICShell").Window("Afx:00400000:8:00010011:00000000:000E0A63", "Pro-Watch 3 - [Manage Your Server]", 1).Window("AfxControlBar80u", "List Bar", 3).Window("AfxWnd80u", "List Bar", 1).Window("Afx:00400000:0:00010011:00000006:00000000", "", 1).Window("AfxWnd80u", "", 1) Can you please look into this & provide any missing link? Regards, Satya.1.7KViews0likes0CommentsNameMapping fails to access control until object identifier is used first
Hi, I have faced this problem a couple of time in Java & .Net applications as well. The problem is NameMapping fails to access the controls until they were identified once through object identifier. Once identified through object browser, they will work the normal way. There is any solution to overcome this? Regards, Satya.19KViews0likes1CommentRe: Testing web app with hundreds of panels in depth
Hi Chad, If you are using NameMapping to refer controls in your script. You can use "Enteded Find" in NameMapping to skip through intermediatery panels. Even then, initially you have to add all the panels in tree structure to reach the required control to be accessed and then change its hierarchy (to required point of reference) with the NameMapping window.Now enable "Entended Find" check box (refer to help topic Extended Find) for the same control required to access. Once you are able to access the control from this point of your reference, all the the remaining intermediate controls can be deleted. Regards, Satya.600Views0likes0CommentsWorking with AFX contorls
Hi, I'm working with an application having afx controls. After browsing through few posts in web, found that enabling MSAA extension will exposure the control information. But thats not the case with me, Stillthe controls are identified as window's class using some random id's as shown below. Window("Afx:00400000:8:00010011:00000000:05260CA3", "*", 1) Please provide any info, i'm missing to make this application a open application to TestComplete. Regards, Satya.19KViews0likes3CommentsMaximum size limit for wText property?
Hi, I'm trying to automate a console based application through Keys & wText on a command window. However, i'm wondering if there is any limitation with wText property to get complete command line window text (assume maximum buffer size is set to default value 50 in command line window properties) or Simply what is maximum data size that can be returned by wText property? Regards, Satya.23KViews0likes1CommentName mapping configurations works multiple applications?
I have an application which is developed in multiple technologies i.e. VC++, Java & VB.NET. The same set of test cases should be executed on all the three flavours of application, therefore my test script work remains the same. Hence, if can create similar Namemapping structure for all the three flavours of application, one single test script can work seemlessly for all the three flavours. Will NameMapping configurations be able to provide this kind of functionality. i.e If a three NameMapping configurations with same object hierarchy stucture (using extended find where ever required) are created, then i can use the same script just by initializing NameMapping configuration to respective flavour of AUT & use the same script without any modifications. Is there a way achieve this kind of functionality using NameMapping configuration i.e. changing identification properties for any object in each configuration17KViews0likes2CommentsUpdate scripts with namemapping changes
I'm trying to find out option, which allows to automatically update test scripts with the changes made in NameMapping, mainly when i rename a control in NameMapping or Aliases, i want all the instances where that control is used in test scripts to be automatically updated with its new name. Can anyone please help me21KViews0likes2Comments