Forum Discussion
Could you try the following test, create a new function, copy and paste the FullName
and then only perform either Click() OR Click(-1, -1) to see how the control behaves -
void test()
{
// Past FullName
var btn = Sys["Process"]("AXISEL")["WinFormsObject"]...("TV")["OutlineItem"]("TestComplete Work Area 1 Collapsed")
btn.Click()
// OR
btn.Click(-1, -1)
}
Also, the item shown in the Object Browser is shown as "TestComplete Work Area 1 Collapsed" whereas the UI shows "TestComplete Work Area 1" without the word "Collapsed"? Could you also try using a wildcard e.g.
// Use wild card
...("TV")["OutlineItem"]("TestComplete Work Area 1*")
And then run test() again.
Also, try to enable the various Playback settings, and run the test() to see if it makes any difference.
Finally, if the UI control is a custom control, then you need to speak with the developers and find out how to go about interacting with the control.
Hi rraghvani,
I have tried all the workarounds suggested by you and by everyone else, unfortunately nothing is working. I would talk to the developer (he is away right now), lets see what he has to say.
Thank you so much for all the help everyone!!
- rraghvani4 months ago
Champion Level 3
I'm trying to diagnose the issue first, as opposed to providing a workaround! I believe your control is most likely a custom control, as the screenshots you have provided don't tie up, with what is shown in TC, which is typical of a custom control.
As I suggested, it's best to speak with the developers and find out how to go about interacting with the control 👍🏻