Forum Discussion
Attached is a screenshot of one such control. When recording, I select the dropdown arrow, it reveals the list, then I select "Male", which then populates the field, and I then move on to the next field. I've tried other methods like selecting the text area first, using typeahead, they don't seem to work either.
The logged error is "Unable to find the object ClickItem("Male"). I get a similar error for all listboxes, it gives that error and names the object the value I had selected when recording.
The name mapping is: NameMapping.Sys.ris.MainShell.pvMainPageView.RadPageViewPage.ScheduleOrder.radSplitContainer1.splitPanel1.pnlContentPanel.radPageView1.pagePatient.patientGeneral1.radGroupBox1.cmbGender
Thanks for looking at this with me!
Is this your first time using TestComplete? What version are you using? Are you using Keyword Tests or Scripting?
The name mapping that you have provided NameMapping.Sys.ris.MainShell.pvMainPageView.RadPageViewPage.ScheduleOrder.radSplitContainer1.splitPanel1.pnlContentPanel.radPageView1.pagePatient.patientGeneral1.radGroupBox1.cmbGender is TestComplete able to identify each of the objects e.g.
Sys.ris
Sys.ris.MainShell
Sys.ris.MainShell.pvMainPageView
...and so on
- Vault76er3 months agoOccasional Contributor
First timer. version is Version: 15.67.1.7 x64. I'm using keyword tests for the time being, trying to get familiar with the product. I want to move to scripting though, once I'm comfortable with keywords.
I'm following through a course on Udemy, but struggling with it a bit because there are a lot of differences between what's being demonstrated and what's actually in front of me. The version in the course is 12.something, and is an unspecified license level though, Smartbear seems to have broken the product down into all kinds off upsell add-ons, so I could be missing functionality too.
- rraghvani3 months agoChampion Level 3
I strongly suggest you read and follow the examples -https://support.smartbear.com/testcomplete/docs/tutorials/index.html , https://support.smartbear.com/testcomplete/docs/testing-with/index.html , https://support.smartbear.com/testcomplete/docs/keyword-testing/index.html
An important part to understand is https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/index.html
There are also video tutorials too https://support.smartbear.com/testcomplete/videos/
It's best to understand how TestComplete works; how to go about identifying objects (i.e. UI controls) so that TC can locate and interact with them.
Related Content
- 15 years ago
- 2 years ago
- 4 years ago
- 2 years ago
Recent Discussions
- 3 days ago