How TestComplete map objects in memory and on what logical basis the objects are mapped
I work as a software tester for almost six months, and I use TestComplete test tool. In the first month I had completed basic training and I was able to practice in the following months on projects that allowed me to master different features of the tool and performe complete series of tests.
Despite the succes of project’s test, I have still difficulties in name mapping and "I want to understand it deeply to master more and more the tool. My questions are:
- How TestComplete map objects in memory and on what logical basis the objects are mapped.
For instance i have a button named «Sauvegarder » that is mapped as following :
Full name(Object Browser) :
Sys.Browser("iexplore").Page("http://c2atom-acc/C2Atom/home#/ticket-form/3710").Section("content").Panel(2).Panel("MainTabs").Panel(0).Panel(0).Form(0).Panel(0).Panel(0).Panel(1).Panel(0).Panel(2).Panel(1).Button(0)
Mapped Object
NameMapping.Sys.browser.pageC2atomApplication.sectionContent.formNgDirtyNgValidNgValidRequire.panelTicketfullLoading.panel.buttonSauvegarder
Aliases :
Aliases.browser.pageC2atomApplication.sectionContent.formNgDirtyNgValidNgValidRequire.panelTicketfullLoading.panel.buttonSauvegarder
For instance, I know that :
Page("http://c2atom-acc/C2Atom/home#/ticket-form/3710") matches pageC2atomAplication in either Mapped Object or Aliases
And
Section("content") matches sectionContent in either Mapped Object or Aliases
And so one…..
But sometime i noticed that despite correct mapping my tests fails, when i return to the original error, I’m not able to identify the mapped object in object browser, by highliting it, and vice versa. I remap a second time with automatic or manuel mapping using some features of name mapping like «Conditionnel mapping, Extended Find, wild card, required children, changing properties……. » and others one, but there are no result.
Every day I consult online documentation in smart bear support, forum community, also documentation on testcomplete help and videos training of lino Tadros, Nick olivo and cregg Hansson, but i still not finding solution to my problem
2 - Please i ask you a reference like Book of name mapping, it’s extremely important for me because I don’t want to let tests works randomly.
How can I get complete documentation and what do I do.
Thank you for response