Forum Discussion
Are you able to include the before and after screenshots of the UI as well, together with the Object Browser?
In the Object Browser, if you click "View more members (Advanced view), you will get more properties and methods exposed. There may be other properties/methods that will give you an indication as to when the UI can be interacted with. Also, ask your Developers, they may be able to help too.
Hi rraghvani,
I am posting the screenshot of the UI, the object "TestComplete Work Area 1" is always visible, so there's no change in UI when the height and width is 0 vs when it's not 0.
- rraghvani4 months ago
Champion Level 3
I was hoping, if possible, to see something like this -
Showing the Object Browser, Properties and the UI Control in question.Are you able to find out, what the exact control name is being used in your AUT, or is it a custom control?
What methods are shown for item "TestComplete Work Area 1"?
You are using the Click method, are you passing in any parameters?
Can you enable Advanced View.
- hina4 months agoContributor
I am posting the screenshot of the Object Browser, Properties and the UI:
Here are the methods available for this object:
While clicking the object, I am not passing any parameters.
- rraghvani4 months ago
Champion Level 3
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.