Forum Discussion
shejuti , for TreeView controls, if you click on an item that begins at the root of the tree level, you need to place the " | " character at the beginning of the item tree path. An article that explains this is the following one: https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/tree-view/clickitem-action-treeview-control.html.
Let's try something like this:
Aliases.CRS_Client.wndPatientClinicalRecordForm.PatientPageControl.TElTabSheet.PatientHistoryFrame.pnlLeft.pnlSummaryViews.xppSummaryViews.ElPageControlSummary.tabProblems.EltreeProblems.TElTreeView.ClickItem("|Pain;ankle", 0);
Thanks.
Thanks KseniaSemina for your reply. I tried that but still not working unfortunately. I will contact the developers to find out if there is any way to handle it.
- sonya_m4 years agoSmartBear Alumni (Retired)
Hi shejuti ! Could you share your progress with us? Did you manage to find a solution?
- shejuti4 years agoOccasional Contributor
Hi,
The problem is not solved yet for the particular control. I have informed the developers about this and they are yet to get back to me. As soon as I get any update, I will post here.
Thanks
Shejuti
- Wamboo4 years agoCommunity Hero
Have you tried to record a test and spit it out as a script?
What does TestComplete return to you?
Related Content
Recent Discussions
- 3 days agovladd1