![]() |
| |||||||
Testing Anywhere Post messages and questions related to Testing Anywhere here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I've been having a problem lately with the SMART Recorder in TA locking my virtual machine with the CPU reacing 100% and a huge amount of memory used (over 700mb in some cases). All the step is doing is selecting a menu item and clicking on it. Usually the step will pass but takes a number of minutes to get there. In the meantime the machine is essentially frozen. The 'Expert View' text is below: SMARTRecorder_SelectItemByText("Window=mRoc Desktop*","[Object=Mine Plan]","Type=MENU ITEM","Text= Dragline 1006v","PlayMode=Object","Source=Window") The same step is used in multiple tests so this occurs frequently. I'm running TA 7.0 in a virtual WinXP environment, Service Pack 3. The application under test is written in .NET. |
| |||
|
I tried replacing the SMART Recorder line with 'Manage Windows Objects'. It seems to recognise the menu entry I want, but when I play the test back, it selects the wrong menu item. It seems Manage Windows Objects selects the first occurence of a menu item if it occurs more than once, not the correct one, under the correct menu. Eg, what I am selecting exists more than once under different menus. Let's say I have 'Car' that occurs under a File menu, a View menu and an Other menu. I have used Manage Windows Objects to select 'Car' from the View menu, but as it occurs first under File - TA always attempts to select it from the File menu, giving a different result as the 'Car' screen under File, View, and Other are all completely different. So now I have two problems. SMART Recorder takes way too long, and Manage Windows Objects is not smart enough to select the correct menu item... |
| |||
|
I had this same problem when TA wasn't properly recognizing the item (i refuse to use the word "Object" when it comes to TA because they don't handle "Objects" correctly) They way I could tell was the properties were being reported didn’t match the button etc labels and it was desperately searching endlessly to try and identify the item.
|
| |||
|
Hmm, could be. I'ts strange here in that sometimes it may take 30 odd seconds to find the item in the dropdown (and there is only one item in there!), and others it can take over 7 minutes... TA does seem to report the correct 'object' properties when I capture it. But then takes forever to apply an action to it... |
![]() |
| Thread Tools | |
| Display Modes | |
| |