Contributions
ClickItem() of drop down menu doesn't trigger related event on web page
My tested application is implemented in ASP.NET. Infragistics 2009.2 web client has been installed on my computer. There is a drop down menu. Select one of the options, a panel (table) will be shown up that contains a couple of drop down menus and textboxes. My TestComplete 7.5 script was working fine. Then my tested application has been updated from Infragistics 2005.3, updated from ASP.NET MVC1 to MVC2… (may also other updating). I updated my TestComplete to 8.0. Then the scripts are not working any more. I recorded my operations into a script (C# script): click the drop down menu (menu1), select the option, the panel shows up and select option on menu2. However, when I re-play this recorded script, it is failed because this hidden panel (table) is not shown up, i.e. change() event on menu1 is not triggered… I tried methods of Click(), ClickItem(), Keys(), etc. Sometimes they work, sometimes not. No one is stable… function Test1(){ var form; form = Aliases["Sys"]["IEXPLORE"]["pageComplaintDetail"]["formDetailform"]; form["selectNewstatus"]["ClickItem"]("Resolved"); //following controls were hidden and should be shown up after above option is selected form["selectDplvalidity"]["ClickItem"]("Verified"); form["ICResolution"]["Keys"]("S"); } Thanks a lot! Nancy Wang15KViews0likes2CommentsRe: TestComplete 8.0 is stuck
Hi, Jared, You are right, after removing this infinite waiting time, so far I didn’t have TC stuck error. Now I have another question.I modified my code to this, if (Sys.Process("ESG.CSISAPP"). WaitWinFormsObject("frmManualDialList", 600).Exists) code A else code B The win form “frmManualDialList” existed and was open, but TC thought it didn’t and executes code B. I found in Object Browser pane (Basic view), this windows form didn’t have Exists properties or method.Why some win objects don't have exists method? Thanks! Nancy762Views0likes0CommentsTestComplete 8.0 is stuck
Hi, This is happening almost every day!I have a TC 8 projectto test windows application.Iwant to check if an object exists, soI havefollowing script, If (Sys.Process(“ESG_CSIS”).WaitChild(“*ugManu*”, -1) Iam going to call Exist(), then TC is stuck. The only thing that I can do is using task manager to kill TC process. After reboot my computer, run TC and edit my script, at same step, TC is stuck again.Checking Task Manager, TC used about 450MB memory. I have 3.2 GB memory. It seems my computer is good enough to run TC 8. In addition, when TC is stuck, I am still ok to run other applications, such as IE Browser, Notepad, and my tested application.My project was created in TC 7 and worked fine. TC 8 is also stuckin some other scenarios... Thanks a lot! Nancy Wang15KViews0likes3CommentsRe: TestComplete doesn't support Infragistics 9.2 controls?
Sorry for making so much noise to the Forums... just in case someone may have same issue. Here is the solution: -Install Infragistics NetAdvantage Windows Forms 2009.2 onmy computer - In order for TestComplete to be able to work withmy controls as with InfragisticsWinGrid objects, the control’s class name must be specified in the Infragistics Controls | UltraGrid group of your project’s Object Mapping options. So manually add my control's class name into Project Properties --> Object Mapping --> Infragistics Controls Now my TestComplete is workingperfectly with my tested application. Good luck to everyone! Nancy1.4KViews1like0CommentsRe: TestComplete doesn't support Infragistics 9.2 controls?
In my TestComplete 8.0,File --> Install Extensions, "Infragistics Controls Support (Version: 8.0) is actived (selected). In my file folder, AutomatedQA.TestComplete.ThirdPartyControls.InfragisticsControlsSupport.dllis found at <TestComplete>\bin\extensions\ThirdParty\ Checking my computer, Control Panel --> Add or Remove Programs --> Add or Remove Programs: I have "Infragistics NetAdvantage 2005 Vol. 3 for CLR 2.0" installed, but no 2009 vol 2 installed. Is this the reason that TC cannot recognize my tested app? Thanks! Nancy W.1.4KViews0likes0CommentsTestComplete doesn't support Infragistics 9.2 controls?
Hi, My tested application had many Infragistics controls (version 5.3), which could be recognized by both TC 7.52 and TC 8.0. Now my application has been updated to use Infragistics controls ver 9.2, which cannot be recognized by TC 8.0 or 7.52! I have a couple ofultra-grids. Some cells of the ultra-grids have buttons. Before I could click the button with code like this myGrid["ClickCell"](0,6); Now since TC recognizes the whole grid as one control,ClickCell method doesn't work any more. I have to useClick method with button's coordinates. Sometimes it's not easy to knowthe coordinates and them will change when screen resolution chaning or tested window re-sized... Is there any plug-in that I can install to let TC support Infragistics 9.2controls orany alternative way that I can achieve this testingwithout using click(1234, 556)? Thanks a lot! Nancy Wang18KViews0likes4CommentsRe: Object Mapping: Sys root node is not recognized by TestComplete
Some of grand-child controls don't exist... not sure this is becasue my new version application has something changed on GUI (new and old applications look no different on GUI) or some other reasons...It seems this has nothing to do with TC 7 or 8. Yes, you are right, it doesn't matter that TC can recognize Sys node,my application root node (second top) or not, the script is still working on some mappings. But the child item of all drop down menus are not recognizable. For example, I have drop down menu, which is uceMarket. When the drop down menu opens, another control will be enabled. - grpSearch - uceMarket - ValueListDropDown grpSearch, uceMarket are still ok, butthe "ValueListDropDown" doesn't exist anymore... so it doesn't seem that developers modified anything... anyway, Ihave to delete my NameMapping and re-map all controls. Hopefully for next release, I don't need to do this! Thanks!1.7KViews0likes0CommentsRe: Object Mapping: Sys root node is not recognized by TestComplete
Hi, Thanks for both Gennadiy and David! The followings are what I did. -Mapped my tested application, which was ESG_CSISAPP, Sys node was mapped. It had two properties: Name and Id. -Wrote scripts and ran my tests. It worked prefect. -Two months later, a new version of my tested application was available. So I removed old version and installed new version, then ran my tests again. However, I got error of object not exist. -In Name Mapping panel and Object Browser panel, if high light Sys node or its child node (Process(“ESG_CSISAPP”), Highlight on Screen menu is not enabled or cannot highlight this object on screen. So I know something is not correct in my objects mapping. -ThenI tried deleting Id,adding DomainName or deletingboth for Sys node, no one works. -But all grandchild nodes are still ok to be highlight on screen. My question is, is this because my new application has different installation patch, or the new version framework had slightly changed, or my windows system (OS) had a couple of updating? Then TC cannot recognize the Sys node and its first child node? I am going to update my TC 7 to TC8. It seems in TC8 we can delete one node in NameMapping and move all its child nodes one level up. Not sure if this will work... Thanks a lot! Nancy1.7KViews0likes0CommentsObject Mapping: Sys root node is not recognized by TestComplete
Hi, I am testing a windows application and the application is installed from a web page. When I map the application, the root node is ‘Sys’. By default two properties are used for the mapping: Name and Id, which is -1. When a new release is available, I let TestComplete install the new version from the web page. However after the installation, TC cannot recognize this root node ‘Sys’ and its first level child node. TC is still ok to recognize other grand and grand-child nodes. Since TC doesn’t know this Sys node and root application node, I got error of “The object does not exist”… Not all my applications have this root ‘Sys’ node. What is this root Sys node pointed to?How can I remove it or not mapping it? A screen shot is attached. Thanks a lot! Nancy20KViews0likes6CommentsRe: How to configure Project Variables on TestExecute
Hi, Alex's suggestion is really a good idea! Wehave a smallQA group, which is responsible forwriting/modifying automated testing scripts.We also have a large group for manual testing andexecuting automated testing.So the scriptswill be run onthe machine, which is usually different from the machine that the script is created.Even though both machines connect to the database server andnetwork drive without any error, the test was still failed.The error message is either ‘Data source name not found and no default driver specified’ or ‘Unable to open the file’ on the network drive. It is hard to say if my settings are not correct or TestExecute is not functioning properly… There is nothing that I can see or modify on TestExecute... Is there many TestExecute users? Usually how do they run tests on TestExecute? Can anyone have some experience to share:-)? Thank you very much! Nancy1.4KViews0likes0Comments