Forum Discussion
tristaanogre
8 years agoEsteemed Contributor
That's interesting... do you, perchance, in your "Click" actions, have any values in the parameters of Click other than -1?
Tambo
8 years agoOccasional Contributor
Click actions are as follows:
def Click(ClientX = -1, ClientY = -1, Shift = 0)
- tristaanogre8 years agoEsteemed Contributor
Wait... you defined your own click action? Or are you trying to overload TestComplete's click action? Neither one does the actual click... what's your actual code look like where you are clicking on the menu? I'm assuming you recorded it so it probably has values in there that are not -1.
- Tambo8 years agoOccasional Contributor
Oh sorry I misunderstood. The clicking code is:
mainForm.StripMainMenu.Click("File|Print")When the code was not working it looked as though the File menu option was being hovered but never clicked.
- tristaanogre8 years agoEsteemed Contributor
STrange why scaling would cause that to fail... Well, glad you figured it out. :)