Skip to main content
Question

Control Type is disabled from Capture

  • April 5, 2022
  • 11 replies
  • 116 views

We have a desktop application that has treeview on the left side for navigation. When tried to capture , control type as CLIENT is detected. Control Type property is disabled. is there any way to enable control type so that we can change it to treeview control.

11 replies

  • Author
  • Navigator | Tier 3
  • April 5, 2022

Ok. Is there any way I can create control type Treeview like we used to do in older version by object cloning


  • Author
  • Navigator | Tier 3
  • April 5, 2022

we dont want to depend upon other tools to find ID of the controls going forward.


  • Author
  • Navigator | Tier 3
  • April 5, 2022

its a problem with AA at the first place why it is not recognizing a tree view as treeview control at the first place.


  • Author
  • Navigator | Tier 3
  • April 5, 2022

client


Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+18
  • Most Valuable Pathfinder
  • April 5, 2022

Hi @Kamal Goyal​ ,

 

Could you please share the screenshot of the properties window?


Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+18
  • Most Valuable Pathfinder
  • April 5, 2022

Unfortunately, you can't change the control Type which is selected AA itself based on the applications


  • Author
  • Navigator | Tier 3
  • April 5, 2022

the workaround that we found is, capture a normal treeview ( created in Visula studio) and then change the window name and ID then it selects nodes in the same treeview and same application .

the problem still is that we don't know the ID until we capture it any help will appreciated .


  • Author
  • Navigator | Tier 3
  • April 5, 2022

client


  • Author
  • Navigator | Tier 3
  • April 5, 2022

can you please advise what are our options


Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+18
  • Most Valuable Pathfinder
  • April 5, 2022

Please give try to record the steps and execute the task.

 

Have tried the AI sense Recorder to capture the tree view?

 

 


  • Author
  • Navigator | Tier 3
  • April 5, 2022

Yes I tried AI sense but it works with image and not easy to handle expand and collapse of the treeview as it is based on area and its very slow .

Even with recording , it captures as client not as treeview control.

Having a tough time to deal with