Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Testing Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Testing Anywhere Post messages and questions related to Testing Anywhere here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-05-2012, 04:01 PM
KMuller KMuller is online now
Member
 
Join Date: Dec 2010
Posts: 91
Default What are the Object tick boxes in the SMART Recorder?

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.
Attached Images
File Type: jpg objectProperties.jpg (86.6 KB, 9 views)
Reply With Quote
  #2 (permalink)  
Old 02-15-2012, 11:52 AM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

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.
Reply With Quote
  #3 (permalink)  
Old 02-15-2012, 02:10 PM
lbrian12 lbrian12 is online now
Junior Member
 
Join Date: Dec 2011
Posts: 27
Default Object Properties - you are referring to!!

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
Reply With Quote
  #4 (permalink)  
Old 02-15-2012, 05:08 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hi Brian,

Thanks for sharing the information with us.
Reply With Quote
  #5 (permalink)  
Old 02-19-2012, 03:32 PM
KMuller KMuller is online now
Member
 
Join Date: Dec 2010
Posts: 91
Default

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.
Reply With Quote
  #6 (permalink)  
Old 03-23-2012, 02:39 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

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.
Reply With Quote
  #7 (permalink)  
Old 03-28-2012, 12:58 PM
Petra Petra is offline
Member
 
Join Date: Dec 2011
Posts: 66
Default

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.
Reply With Quote
  #8 (permalink)  
Old 03-30-2012, 06:47 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

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.
Reply With Quote
  #9 (permalink)  
Old 04-02-2012, 07:00 PM
KMuller KMuller is online now
Member
 
Join Date: Dec 2010
Posts: 91
Default

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.
Reply With Quote
  #10 (permalink)  
Old 04-10-2012, 06:48 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hi Karl,

You may have received the link for the BETA version by now. Do let us know if you haven't.

Regards.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 03:35 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved