# # Recording by eValid™ V9 # Copyright © 2000-2013 by Software Research, Inc. # Recording made on: Microsoft Windows Vista Service Pack 1 (IE 7.0), HostName "aruba" # Recording started: # ProjectID "Project" GroupID "work" TestID "modifyA.target" LogID "AUTO" ScreenSize 1280 1024 FontSize 2 DeleteCache DeleteCookies # Navigate to a webpage then Choose and Click on an Anchor Tag... InitLink "http://www.e-valid.com/Products/Documentation.9/DOM/Examples" \ "/change.target.html" Wait 1381 FollowLink 0 48 "Title Of Page" "http://www.e-valid.com" \ "/Products/Documentation.9/DOM/Examples/change.target.html" "" Wait 2637 # Find the above selected Anchor Tag property... IndexSet 0 IndexFindElement 0 DOWN "innerHTML" "<A HREF=../URL>Title Of Page</A>" "" # Add the associated attribute value "TARGET=NEW-WINDOW"... ValueSet "NEW-WINDOW" ValuePutElement 0 "target" "" # Clicking on the modified but same Anchor Tag now results into a NEW-WINDOW... IndexFollowLink 0 "" # End of Script.