![]() |
| |||||||
Testing Anywhere Post messages and questions related to Testing Anywhere here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
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 |
| |||
|
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. |
| |||
|
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. |
| |||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |