Teamcenter is a PDM product that we use. I need to create testing scripts for regression testing. I can log in using an SSO session and IE, but can't seem to take over the window that opens, Here is my code;
Run('C:\Siemens\tc83_4tier\portal\portal.bat')
;Sleep(5000)
WinWaitActive("Teamcenter Login - Windows Internet Explorer", "", 20)
Send("Username and Password")
;Sleep(15000)
;Send("{ALTDOWN}{TAB}{TAB}{ALTUP}")
WinWaitActive("teamcenter","",20)
Sleep(5000)
Send("{ALTDOWN}f{ALTUP}x")
WinWaitActive("Exit","",2)
Send("y")
It works up until I try to make the teamcenter window active. The window header is actually "My Teamcenter - Teamcenter 8". I want to make that window active so that I can run tests. After the last Sleep(5000) the rest of the Autiit script is just to log off of Teamcenter. When I run the script it;
a) runs C:\Siemens\tc83_4tier\portal\portal.bat
b) opens an IE window and asks for a Username and Password
c) I send it
d) The Teamcenter window gets opened, but I can't do anything inside the window or connect to it
Thanks for any and all help,
Bob