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 12-28-2011, 07:02 AM
lbrian12 lbrian12 is online now
Junior Member
 
Join Date: Dec 2011
Posts: 27
Default How do you make a script run on a different machine for same browser of diff OS?

I have a simple script recorded using the standard recorder which calls IE9 initially recorded on a Windows 7 machine. We have a runtime server that the scripts will be ultimately run on. This machine is a Windows SRV 2008 machine and had the same version of IE9 on it but for this specific OS. My Script has captured the IE browser pages as "Windows Internet Explorer - Optimized for Bing and MSN". When I run the script on the Windows SVR 2008 machine the script fails because it can't find the same name for the IE9 page as originally recorded. How can I solve this issue to make the script ignore these small differences? The Windows SVR 2008 IE9 browser does not show it's page header as "Optimized for Bing and MSN".

Last edited by lbrian12; 12-28-2011 at 07:04 AM. Reason: add more info
Reply With Quote
  #2 (permalink)  
Old 12-29-2011, 04:59 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hi Brian,

You can use wildcards to counter situations where the window title changes every now and then. For ex - "Windows Internet Explorer - Optimized for Bing and MSN" can be entered in the window title as "Windows Internet Explorer - *"

Hope this helps.
Reply With Quote
  #3 (permalink)  
Old 01-09-2012, 09:04 AM
lbrian12 lbrian12 is online now
Junior Member
 
Join Date: Dec 2011
Posts: 27
Default

I have not found a proper way to make this work using smart recorder. When I put in Wild cards for either properties or windows I then even fail on my local machine. I think the problem is that I just don't really know where to insert the wildcard???

I need to get this working on my local machine so I know the technique works when I move the scripts to our runtime machine.
Reply With Quote
  #4 (permalink)  
Old 01-16-2012, 04:52 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hi Brian,

Attached is a document containing the screen-shots which explain how to enter a wildcard character in a window title.

You need to record the actions with 'Smart Recorder', save the test and then edit the window titles in the script to include a wildcard.

Hope this helps.
Attached Images
File Type: jpg TA - Window Title With Wildcard.JPG (56.1 KB, 2 views)
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:03 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