Contributions
Test Complete compatibility with older versions
I have a project that was created using Test complete 7 or 8 from a client. When opened in TC 9 it wants to convert the older version and says it will be unable to be opened using the older version (7 or 8)now. However, I still want to be able to use it in the older version so that my client can see it using the version they have... so my question is, is there a way around this? Maybe a plugin or something along those lines?18KViews0likes1CommentWith Windows 7 Region.compare functionality throws error
I have recently updated my OS from Vista to Windows 7. I had to update all of my images obviously due to the changes in display. The update works properly and all of my images were updated. However, When windows are compared that have buttons , say for using Save As or Confirming actions the buttons never compare correctly. In my compare results the window matches fine but the buttons are all red. I have attached the images being compared. I have found that I can use tolerance to allow for differences in pixels but this does not seem to help very much and have over 1000 images spread over 5 different Virtual machines. So my question is this.... Is there a way or paramaters that I can change that will allows for this difference created by the highlighted area on Windows y buttons??16KViews0likes1CommentRe: Recognizing object properties of Right Click PopUp menus
Alex, I tried implementing the code you provided but it failed to work...The issue is that the cascading menu gets created at run time, and there is no real ID associated with the Actions "parent" menu item. I have included an example of how the cascading menu is created. ** This is After a user has selected the item "Actions" from the parent menu. From there the cascading menu is created like so: (MF_STRING, ID__SAMPDELSAMPLE, "Delete Samples"); //here is where the dynamic Actions menu comes in //I've simplified this a bit from our actual code, but it does practically the same thing //the menu is built (this is dynamic in our code, it loads the actions from the DB) l_actionsmenu.CreatePopupMenu(); l_actionsmenu.AppendMenu(MF_STRING | MF_ENABLED, ACTIONS_MENU_OFFSET + 1, 'Create Sample'); l_actionsmenu.AppendMenu(MF_STRING | MF_ENABLED, ACTIONS_MENU_OFFSET + 2, 'Create Aliquot'); //then the cascading menu gets added as the Actions menu item pPopup.AppendMenu(MF_STRING | MF_POPUP, (UINT)l_actionsmenu.m_hMenu, "Actions"); //then this command shows the menu li_return = pPopup.TrackPopupMenu(TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD, mouse_point.x, mouse_point.y, this); //then li_return is evaluated and the Scan Mode dialog is shown when it determines what action was run1.5KViews0likes0CommentsRe: Recognizing object properties of Right Click PopUp menus
Alex, Thank you for your reply... so the issue is that when using TC i Rclick to get a pop-up menu. Then from that menu I select an item that leads to a submenu off of the popup menu. Now after recording I play back the test script. The first pop-up menu is shown and active and the item is selected that leads to the sub-menu. This is where the issue arises. TC does not see the item to select from the submenuor the list itself. Then it stops running. It is a C++ application written in Microsoft Visual Studio using MFC objects. CMenu is the class that is used to create a popup menu,1.5KViews0likes0CommentsRecognizing object properties of Right Click PopUp menus
I am testing a software that uses many Popup menus for many various action/ functions. TC will recognize that there is a popup menu when the R-click occurs and will usually allow it to choose the correct item. The main issue here is that when there is a sub-menu from that first pop-up menu TC is not recognizing the sub-menu. I cannot find any object properties or methods that will recognize that menu. Is there a way to get TC to see that sub-menu?? Is also an issue when validating that an item is available in that menu.23KViews0likes5CommentsRe: Comparing Regions when date changes
Thank you all! I have experience with programming but not enough to figure out how to add this (Win32API["TRANSPARENT" ] where transparent = true, to my script of comparing the images (below): if(!Regions.compare("P5414 Verify dragging to the left.bmp",Sys["Process"]("progeny")["Window"]("Afx:00400000:0", "Progeny", 1)["Window"]("AfxOleControl90", "", 1) (transparent = true))); Log.error("P5414 Verify dragging to the left.bmp regions are not identical."); Help?2KViews0likes0CommentsComparing Regions when date changes
I am testing a software that automatically updates the date everyday in regions that i am comparing. I then run manual regression tests the following morning. this causes a problem because the date always changes to the following day when comparing regions with Regions. compare. So i was wondering if there was a different way that i could compare images/ regions when there is always a difference. Either by somehow 'blacking out' that date area or using a different function??17KViews0likes5Comments