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 06-09-2010, 08:07 AM
cfereday cfereday is offline
Junior Member
 
Join Date: Jun 2010
Posts: 19
Exclamation Cannot Use Variables in Url of Manage Web Objects

When Managing Windows Objects, you can amend the Window name and add a wildcard (*)

When using the Function "Web Recorder > Navigate to URL" you can add a variable into the URL.

This allows tests to be ran across different environments easily.

However, this action cannot be achieved with the following:

- Web Recorder > Manage Web Objects > Insert URL
- Web Object Checkpoint

Please can you tell me a way around this?
Reply With Quote
  #2 (permalink)  
Old 06-09-2010, 03:10 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Web Recorder can take care of dynamic URL. Also, it can take care of changing parameters in a URL. You just have to record the test case once, it would work with different environments.

Hope that helps.
Reply With Quote
  #3 (permalink)  
Old 06-14-2010, 02:38 AM
cfereday cfereday is offline
Junior Member
 
Join Date: Jun 2010
Posts: 19
Default

I had been working to convert my Test Scripts to ensure that the URL is variable, to allow the scripts to be run against different environments. However, this has not been possible for a number functions used to write the scripts. Some functions use the “webpage” browser window name instead of the URL.

This value is derived from the URL used whilst creating the script. It cannot be changed/added as a variable/wildcard introduced, like with other functions.

A solution is needed for this issue. Why can window names be changed/added as a variable/wildcard introduced for some functions:

- Manage Window Objects

But not others:

- Manage Web Objects

Thanks, Claire
Reply With Quote
  #4 (permalink)  
Old 06-14-2010, 02:45 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello Claire,

Web Recorder works with layout of webpage i.e. the controls on webpage. It is not dependent on window title, if the layout of webpage is same then the same task can work on different url's. You can capture the control on webpage by caption, index, attribute.

You can also use 'Search by Caption' Web Recorder option to search and click the control on currently open browser.

If you can provide an example we can create specific task for you.

Hope that helps.
Reply With Quote
  #5 (permalink)  
Old 07-01-2010, 04:59 AM
cfereday cfereday is offline
Junior Member
 
Join Date: Jun 2010
Posts: 19
Default

I believe that the Web Recorder IS dependent on window title.

I have been attempting to run my Automated Tests against 2 test environments and this has not been possible as the pre-fix of the window title/web page is "CENSUS_LIVE_TEST - *" for the first environment and "CENSUS 2011 - *" for the second.

Tests recorded against the "CENSUS_LIVE_TEST - *" environment cannot be ran against "CENSUS 2011 - *". Errors occur stating the web page cannot be found.

The layout of the screens is the same in both environments.

Please can this be looked into?
Reply With Quote
  #6 (permalink)  
Old 07-01-2010, 03:07 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Can you please upload your task so we can reproduce the scenario and suggest viable solution?
Reply With Quote
  #7 (permalink)  
Old 07-02-2010, 01:52 AM
cfereday cfereday is offline
Junior Member
 
Join Date: Jun 2010
Posts: 19
Default

Thank you.

Please can you provide an e-mail address to send the task too?
Reply With Quote
  #8 (permalink)  
Old 07-02-2010, 07:01 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Can you please submit a support case from Automation Anywhere - Open A Support Case

Alternatively, you can reach us at 1-888-484-3535 x 3.
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 02:32 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