Forum Discussion
14 years ago
Hello
I have installed Testcomplete v. 5 on Win 7.
I set values, as you write, but I have still problem with this.
In project I have reference VBObject("myForm") but under Win7 it is returned Windows(""ThunderRT6FormDC",...)
I have installed Testcomplete v. 5 on Win 7.
I set values, as you write, but I have still problem with this.
In project I have reference VBObject("myForm") but under Win7 it is returned Windows(""ThunderRT6FormDC",...)
function Form(FrmName)
' function return Form object, if find windows with name in parameters FrmNane
a="VBObject("+chr(34)+FrmName+chr(34)+")"
SW.Start()
do until SW.Split>=GlobalWaitTimeout
set w=Sys.Desktop.ActiveWindow()
If w.Name=a then
Set Form=w
SW. Stop()
q
Exit function
end if
loop
SW.Stop()
Log.Error("ERROR NOT FOUND WINDOW " + a)
end function
On Win 7 w.Name returned Windows("ThunderRT6FormDC",...)
On WinXP w.Name returned VBObjec(FrmName)
Can Somebody Help me
Thanks
Related Content
- 8 years ago
- 12 years ago
- 13 years ago
- 14 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 6 days ago