Contributions
Unable to identify IE
Hello, I am working in a kerberized environment. There is a need to use Run As option in IE to launch the application as a different user. Doing so TestComplete fails to identify controls and also the IE browser is not displayed in the Object Browser. Please let me know your input. Is the expected behavior? Is Run As has any restrictions? Regards, Stan20KViews0likes1CommentSkip object in Mapped Objects
Hello, There are two simillar trees, have identified a required item at9th level in the first tree. Wish not create a newmappedobject, so to reuse; have carefully ensured that all teh 8 levels obey to the same tree mapped. This is a situation here, this 2nd tree has the simillar required object at the 10th leveland an inclusion of panelat level 9th. Is thereany conditional settings to avoid this panel object at 9th level, asthere is a conditonal mode to set the property values? Will Ibe able to proceed with single mapped object or Is creating a seperate mapped object is the only solution? Note : All the intermediate objects are just junky and I would not be able to rely with the diversion on the conflicted level, rather need to grab again the top level. If there is a solution to skip object in Mapped Objects, that would be better as this can help me to avoid many more mapped items. Thanks!21KViews0likes0CommentsTreating Mapped Name as Unexpected Window
Hello! This piece of File Download dialog worked well when called multiple times earlier, but now for the first time it works but then after the same is handled in the GeneralEvents_OnUnexpectedWindow handler, and closed as in code below Log.Picture window.Picture, "Unexpected Window - " & window.Name if window.Exists then window.Close Identified with WndClass and wndCaption : #32770 & File Download, also tried adding index and even included ExtendedFind. What and wherecould the wrong be? Thanks, Stanley17KViews0likes1CommentOCR is it working or not?
Hi! Running OCROptionsSample, the output obtained is only irrelevant symbols and no texts. Please let me know why? and how do I fix it. I believe, OCR extension is included. Also comment if the same is tested in Flex based applications as well. Regards, Stanley24KViews0likes1CommentRe: Duplicate objects identified
Hey Ann! I have found a solution for MoreDuplicates.JPG.... but for snap.JPGI think that can be a TC issue... FindAllChildren works :) but I need to pass through a double filter.... I work with TC 8.5! Thanks for your interest! Regards, Stanley1.9KViews0likes0CommentsRe: Playback lacks Consistency
Alex! Refreshmight not have directly helped in solution, but confirmed that the there is a varying index in the app that causes the playback consistency, therefore no issues in TC :) Solution is a trick, I rely on the menu count in the new and old menuto flip 0 & 1.... This might not work if the both the menu have same counts, lucky escape :) Thanks! Stanley1.1KViews0likes0CommentsRe: Playback lacks Consistency
Hi Alex! Thanks for asserting on the use of Refresh, I also added a delay of 1 second and having implemented after each menu clicks have realized that there is no consistency in the index, the new menu control is 0 or 1.... Did a trick to grab the dynamic behavior to resolve... Thanks for your time and suggestion. Regards, Stanley1.1KViews0likes0CommentsRe: Duplicate objects identified
Hi Ann, What is your comment on the uniqueID value being same, while you have expected different values? I will be glad for an investigation, but at the moment I am not sure how far that is possible. Actually I was worried for seeing the duplicates and need to know why two Object("App")? But however with one of these highlighter works and the playback isn't a problem too so far. The real problem is when I see duplicate objects in different level (see attached), I did try FindAllChildren but unable to trace the item that I require, also tried constructing the properties that conditionally validating to retrieve the item required, which also failed. I would like to add another question here, to possibly try in another way. Is it possible to construct FullName with different properties? Currently Parent.ObjectType(ObjectLabel) can I customize to make use of Parent.ObjectType(Id)... Also please comment on why Object Spy does not identify items in root level, is this a known issue with Flash Injector approach? Thanks! Stan1.9KViews0likes0CommentsPlayback lacks Consistency
Hi! I am working in automating Flex Controls using Flash Injector. I have a bit wierd scenario. I would like to gather input, if there are some successful trials earlier... There is a MenuControl that appears on clicking a menu holding sub menus. When child menu is clicked, another MenuControl appears. Let us name it MenuControl1 and MenuControl2 respectively. If the object is identified MenuControl1 will have index as '0' and when MenuControl2 is seen MenuControl1 will have index as '1', leaving MenuControl2 with '0' index. In simplified way, the new control will have the '0' index and old ones are updated in the object browser. May be if I can call this as Cycling Index :) or if Adobe developers have a different name to it... On recording, there seems to be some intelligence, MenuControl(1) which will no way be there when recording as it will be the new Menucontrol and only one at that time is however updated while auto scripting... <br /> <div class="sf_ForumsCode"> ' there is a menu clicked... vobject.MenuControl(1).MenuItemRenderer(3).ClickButton 'selecting 4th child menu vobject.MenuControl(0).MenuItemRenderer(0).ClickButton 'selecting 1st grandchild menu </div> Practically on playback this fails. Trying any alternatives also fails. I tried referring vobject.MenuControl(0) both times which could be a resonable try, also with vobject.Refresh. The result is not consistent; it works sometimes and doesn't repeat :( Is there a problem in Test Complete to catch the refreshed objects (index cycled) in a quick time during playback? Please let me know if there is any alternative way to handle menus in flex. However this Cycling Index problem is also in other controls too... Regards, Stan7.8KViews0likes5Comments