Forum Discussion
- Marsha_R
Champion Level 3
Try recording a test that does the click combination that you want and see what TestComplete gives you for an action.
- EvgenyTitovOccasional Contributor
It appears as a click . But it seems like mouse left button held down. It is not performs as click and release
Set panel = Aliases.PortalAppletHost.PmsApplicationForm.PmsSceneManager.CTVSlabScene.leftPanel.pmsToolPanelMain.pmsTabControl.backgroundPanel.blueStripBackgroundPanel.blueStripPanel
Set vlabel = panel.Label
Call vlabel.Click(107, 9)
Call vlabel.Click(143, 3)
Call vlabel.Click(143, 3)
Call vlabel.Click(143, 3)
Set panel2 = panel.blueStripAdornmentPanel
Call panel2.Click(5, 5)
Call panel2.Click(5, 5)- Marsha_R
Champion Level 3
Try this and see how it shows up in a keyword test. I know you are scripting but this will give us a reference point.
https://support.smartbear.com/testcomplete/docs/testing-with/creating/recording/about.html
- EvgenyTitovOccasional Contributor
Recorded some KeyWord test and Low Level test + adding Tree of mapped object.
- Marsha_R
Champion Level 3
tristaanogre cunderw Any ideas?
- tristaanogreEsteemed Contributor
Well.... my initial idea is this...
... why are we working with a low level player to click on a control? It would be helpful to understand the full context of what is being attempted.
Technically speaking, the code is correct with regards to calling the "MouseUp".
For that matter... I see the function declaration as "public void"... and that tells me that this is NOT necessarily being written in TestComplete itself. Am I correct in assuming this is being written as part of a connected application and we're writing code in something like C# or something to use TC via COM?
So... honestly... I'm a bit confused as to what's going on here so I don't have a whole lot of input.
- cunderwCommunity Hero
I'll second what tristaanogre has said. This does not look like Test Complete code, and there isn't a lot of information about what's happening vs what you expect to happen, or how you're trying to do it.
- EvgenyTitovOccasional Contributor
Hi, I use TC driver in C# solution. I have added recorded tests in TC because someone suggested me to this and see what happen.
- AlexKaras
Champion Level 3
Hi,
Any real reason to do a complex work instead of just using TC?
And note, that Connected Applications functionality that you are trying to use, does not exist in the latest versions of TestComplete in favor of TestLeft (https://smartbear.com/product/testleft/overview/). Which means that you are basically do something that cannot evolve or be reused and will need to be redone regardless of whether you will upgrade TC or move to TestLeft.