Hello,
The main lines of the my script are as follows 1) <invoke url="support/adminISP/index.html"/> results in a login page (http://172.21.0.132:9080/support/adminISP/index.html). 2) Then a login is performed and some actions are performed. It must be noted that the following pages use frames that are handled by the "followFrame" command and that these pages use MTM menu version 2.2.6, dated 2000-03-30 3) After that, a logout is performed by <invoke url="support/adminISP/logout"/>. This results in the correct page. 4) Then another invoke is performed to go to another page <invoke url="logon.jsp"/>. This results in the correct page (different login page than the first one (http://172.21.0.132:9080/logon.jsp)) 5) The login is performed correctly and some other actions are performed correctly. 6) Then a link A on the current page is clicked and the page opens correctly in a NEW WINDOW (as expected) 7) Then, on that page, a close button is clicked. That window is closed and then the logfile says: "The window containing current response has been closed, the content of the last opened window will become the current response" and that should be the page that contains the link A (http://172.21.0.132:9080/stockcorrection_detail2.jsp). But instead, some other window is shown (http://172.21.0.132:9080/support/adminISP/startPage.html) Remark that when the script starts from step 4), everything works fine! I use the latest build 1757. Here are parts of the log file (I added the numbers as a reference to the big lines of the script). If you need the complete logfile, it is no problem to provide it. Thanks in advance!: 1) main: parsing buildfile jar:file:/C:/Canoo/Webtest/bin/../lib/ant-contrib-1.0b3.jar!/net/sf/antcontr ib/antlib.xml with URI = jar:file:/C:/Canoo/Webtest/bin/../lib/ant-contrib-1.0b3.jar!/net/sf/antcontr ib/antlib.xml [webtest] INFO (com.canoo.webtest.ant.WebtestTask) - Starting webtest "BT02-03" (c:\testScripts\BT02-03.xml:15: ) [webtest] INFO (com.canoo.webtest.ant.WebtestTask) - Canoo Webtest: R_1757. [config] INFO (com.canoo.webtest.engine.Configuration) - Using resultpath from project property wt.config.resultpath: c:\testScripts\results [config] INFO (com.canoo.webtest.engine.Configuration) - Creating result directory: c:\testScripts\results\001_BT0203 [config] INFO (com.canoo.webtest.engine.Configuration) - Surfing with default browser Mozilla/4.0 (compatible; MSIE 6.0; Windows 98) [steps] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: steps (1/234) [testInfo] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: testInfo "!*!*!*!*! START: ResetTestLogfile !*!*!*!*!" (1/234) [invoke] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: invoke "admin() on screen WebPage : " (2/234) [invoke] INFO (com.canoo.webtest.steps.request.TargetHelper) - getting response for url: http://172.21.0.132:9080/support/adminISP/index.html [invoke] INFO (com.canoo.webtest.engine.WebClientContext) - Content of window changed to http://172.21.0.132:9080/support/adminISP/index.html (text/html) [invoke] INFO (com.canoo.webtest.engine.WebClientContext) - Content loaded in newly opened window, its content will become current response [invoke] INFO (com.canoo.webtest.engine.WebClientContext) - Current form set to none [invoke] INFO (com.canoo.webtest.engine.WebClientContext) - Current response now: http://172.21.0.132:9080/support/adminISP/index.html 3) [invoke] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: invoke (17/234) [invoke] INFO (com.canoo.webtest.steps.request.TargetHelper) - getting response for url: http://172.21.0.132:9080/support/adminISP/logout [invoke] INFO (com.canoo.webtest.engine.WebClientContext) - Content of window changed to http://172.21.0.132:9080/support/adminISP/index.html (text/html) [invoke] INFO (com.canoo.webtest.engine.WebClientContext) - Content of current window changed, it will become current response [invoke] INFO (com.canoo.webtest.engine.WebClientContext) - Current form set to none [invoke] INFO (com.canoo.webtest.engine.WebClientContext) - Current response now: http://172.21.0.132:9080/support/adminISP/index.html 4) [invoke] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: invoke "logon() on screen WebPage : " (20/234) [invoke] INFO (com.canoo.webtest.steps.request.TargetHelper) - getting response for url: http://172.21.0.132:9080/logon.jsp [invoke] WARN (com.gargoylesoftware.htmlunit.html.HtmlPage) - Expected content type of 'application/javascript' or 'application/ecmascript' for remotely loaded JavaScript element at 'http://172.21.0.132:9080/js/styleSheet.js', but got 'application/x-javascript'. [invoke] WARN (com.gargoylesoftware.htmlunit.html.HtmlPage) - Expected content type of 'application/javascript' or 'application/ecmascript' for remotely loaded JavaScript element at 'http://172.21.0.132:9080/js/logoff.js', but got 'application/x-javascript'. [invoke] WARN (com.gargoylesoftware.htmlunit.html.HtmlPage) - Expected content type of 'application/javascript' or 'application/ecmascript' for remotely loaded JavaScript element at 'http://172.21.0.132:9080/js/actions.js', but got 'application/x-javascript'. [invoke] INFO (com.canoo.webtest.engine.WebClientContext) - Content of window changed to http://172.21.0.132:9080/logon.jsp (text/html) [invoke] INFO (com.canoo.webtest.engine.WebClientContext) - Content of current window changed, it will become current response [invoke] INFO (com.canoo.webtest.engine.WebClientContext) - Current form set to none [invoke] INFO (com.canoo.webtest.engine.WebClientContext) - Current response now: http://172.21.0.132:9080/logon.jsp 6) the third line in this part is the click on the link. [clickButton] INFO (com.canoo.webtest.engine.WebClientContext) - Current response now: http://172.21.0.132:9080/stockcorrection_detail2.jsp [clickLink] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: clickLink "Warehouse() on screen StockCorrections:CreateNewMaterial_Check : " (36/234) [clickLink] INFO (com.canoo.webtest.engine.WebClientContext) - Content of window changed to http://172.21.0.132:9080/ro/warehouselocation_detail.jsp?warehouseId=12295 (text/html) [clickLink] INFO (com.canoo.webtest.engine.WebClientContext) - Content loaded in newly opened window, its content will become current response [clickLink] INFO (com.canoo.webtest.engine.WebClientContext) - Current form set to none [clickLink] INFO (com.canoo.webtest.engine.WebClientContext) - Current response now: http://172.21.0.132:9080/ro/warehouselocation_detail.jsp?warehouseId=12295 7) The last line contains the erroneous result. [clickButton] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: clickButton "Close() on screen WarehouseLocationsDetail : " (37/234) [clickButton] WARN (com.canoo.webtest.steps.request.ClickButton) - No forms found - page probably non-compliant - searching page anyway [clickButton] INFO (com.canoo.webtest.steps.request.ClickButton) - -> findTarget(by input): name=close value=Close [clickButton] INFO (com.canoo.webtest.engine.WebClientContext) - Content of window changed to about:blank (text/html) [clickButton] INFO (com.canoo.webtest.engine.WebClientContext) - Content of current window changed, it will become current response [clickButton] INFO (com.canoo.webtest.engine.WebClientContext) - Current form set to none [clickButton] INFO (com.canoo.webtest.engine.WebClientContext) - Current response now: about:blank [clickButton] INFO (com.canoo.webtest.engine.WebClientContext) - The window containing current response has been closed, the content of the last opened window will become the current response [clickButton] INFO (com.canoo.webtest.engine.WebClientContext) - Current form set to none [clickButton] INFO (com.canoo.webtest.engine.WebClientContext) - Current response now: http://172.21.0.132:9080/support/adminISP/startPage.html