![]() |
| |||||||
Testing Anywhere Post messages and questions related to Testing Anywhere here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
What effect does selecting, or unselecting, the tick boxes for the SMART Recorder 'Object' have? Does it affect what action TA performs on the Object? What is the result of selecting, or unselecting each of them? This is again something that seems important but is not described in the manual. See attached screen shot. |
| |||
|
Hi Karl, The items mentioned alongside the tick boxes are the components of an object which help the Smart Recorder to search for the object in the window. when you capture the object, some of these components are selected as a default action by the tool. If you want to manually select the components through which the tool can identify the object, you can tick the respective items. For ex - You may capture an object and one of the components selected by default is the 'name' of the object but, you want the object to be identified through the 'window' then, you can un-select the name option and select the window option instead. Regards. |
| |||
|
Hi Karl, The object properties you are referring to in this thread is very inportant when identifying an object. It is best to try to identify the object By Object ID initially and this is not the default. You need to uncheck Caption and Index and using only the Object ID. If problems occur then try a combination of the three. I have found that some of my object IDs are not identified so on those I use both the caption and index. My experience is that selectiong one or the other only fails for me but both will work. If you using the object ID you need to make sure this is not randomly changing (actual object ID) which my .net developer said is possible. use an object spy type tool (or IE development mode F12) to see the oject name and data associeated with that object. Brian |
| |||
|
Thanks Brian, I'm going to look into this a little with with the developers here. I have found a few tricks in TA that aren't immediately obvious. As my main, ongoing problem with TA is the SMART Recorder and Manage Windows Objects functions losing objects, it would solve a lot of frustration and inconsistency to nail this down. So will keep my eye on the object IDs. Although like I've mentioned, TA can pass one minute then fail the next with no change to the application at all. So seems there is some inherent fault with TA that we have all seen and experience but no one has identified and fixed. |
| |||
|
Hi KMuller, We are planning to come up with an updated version of Testing Anywhere very soon which will provide you with more stability on the test cases. We will keep you updated on the progress of the new version as and when we receive any news from our Developers. Regards. |
| |||
|
I don’t know what “Object ID” really means in TA as with most functions and components because they are not explained anywhere that I have found… so it’s a guessing game. If Object ID it really means the Window ID that is assigned by windows when opening a window, I would recommend against using that. I’m no expert, but from what I remember from my QTP days a few yrs ago, is that the window ID is dynamically assigned as windows are opened, and therefore may change at any time. In fact it may explain why a script would work for hundreds of times after the window is learned and then fail all of the sudden. A possible reason being that if the exact sequence of opening windows (from the time windows boots up) is changed (an additional window, one window less) the window object you are interacting with will no longer have the same ID it had when learned since it will be assigned another win ID. In VB, QTP etc you can query the system when a window is opened and get the window ID assigned to the window when opened, store it to a variable and then act on that window ID flawlessly (until reopened again). But I usually try to use window names as much as possible. If I find a lazy programmer has used the same name for two windows I try to get them to change it. |
| |||
|
Its possible that the Object Id may not always remain static. But still before committing to an opinion, we would like to get a second opinion from our Engineers who can help us in knowing the property in a better way. Regards. |
| |||
|
Do you have any idea when that might be available - two weeks, two months, etc? Rather than create new tests that will have the problems I/we are experiencing I want to wait for the BETA version, and hope it will fix these issues.
|
![]() |
| Thread Tools | |
| Display Modes | |
| |