rkelsch
14 years agoNew Contributor
QT Recognition problems from 32 to 64bit
I am having an issue with TestComplete8 seeing the same QT window as different objects. I'm running tests that use the same code for both 32 and 64bit versions of our program and this is the first time that it sees the windows differently. Below you will find examples of how TestComplete sees each window:
32Bit Version -
Sys.Process("sms110").QtObject("QtModelWrapper").QtObject("buttonBox").QtObject("QPushButton", "Exit", 1).ClickButton
64Bit Version -
Call Sys.Process("sms110").Window("QWidget", "Bouss Runup/Overtopping original").Click(394, 484)
Each code snippet is doing the same thing, just recorded in 32 and 64bit to show the difference. It appears as if the 64bit version not only has a different name but is not able to recognize the "Exit" button and clicks coordinates instead.
I am curious as to why the 64 bit version is seeing this window QT Window differently and how I can fix it so that they view it the same, any help would be appreciated.
Thanks in advance,
32Bit Version -
Sys.Process("sms110").QtObject("QtModelWrapper").QtObject("buttonBox").QtObject("QPushButton", "Exit", 1).ClickButton
64Bit Version -
Call Sys.Process("sms110").Window("QWidget", "Bouss Runup/Overtopping original").Click(394, 484)
Each code snippet is doing the same thing, just recorded in 32 and 64bit to show the difference. It appears as if the 64bit version not only has a different name but is not able to recognize the "Exit" button and clicks coordinates instead.
I am curious as to why the 64 bit version is seeing this window QT Window differently and how I can fix it so that they view it the same, any help would be appreciated.
Thanks in advance,