07-24-2008, 03:47 PM
Hi,
i have problems with a new browserwindow which is opened during the test run.
If i only test the part with this window, everything works. No problem.
If i run the whole script, it sometimes happens that the script opens the new window, but then the script want to do the actions to the first window?!?
Example:
I tried to test with Browser("Title:=" & Titletext), but this only works with
Browser("Title:=" & Titletext).Close
Can someone help me?
i have problems with a new browserwindow which is opened during the test run.
If i only test the part with this window, everything works. No problem.
If i run the whole script, it sometimes happens that the script opens the new window, but then the script want to do the actions to the first window?!?
Example:
Code:
Browser("xyz").Page("xyz").WebEdit("signup").Set "iamatest"
Browser("xyz").Page("xyz").Link("tonewwindow").Click
Browser("new").Page("xyz2").Image("abc").Click
Browser("new").Page("xyz2").Image("abc2").Click
Browser("new").Page("xyz2").close
I tried to test with Browser("Title:=" & Titletext), but this only works with
Browser("Title:=" & Titletext).Close
Can someone help me?