Forum Discussion
Hi Robert,
I tried playing around with the TreeView model after reading
the links suggested by you and I am now stuck at the following place
I mapped the objects in rge NameMapping screen and I pressed
Skip for the panels which I did not want to named in the Alias. I got the Alais
as shown in figure 1 of the attached document. The Aliases were already
populated in the Aliases window(I was of the idea that I was supposed to drag
the specific alais that I need to use)
I called the Alias by using the below line to test it in a script
Aliases.IEXPLORE.HomePage.SearchText.type("London > United
Kingdom")
But when I started running the test, I got the following
screen(Update Name Mapping, screenshot attached) where TC said that it could
not find the object in the hierarchy
Is there something wrong that I am doing in the name mapping.
Please let me know if the question is not very clear to you
My whole objective is that the full name of the object
Aliases.IEXPLORE.
pageSearchResultsCom.formAspnetform.panelFc.panelContent.panelBodyContainer.panelBodyContainerBody.panelFullwidth.panelCtl00Cp1Pnlf1home.panelSearchClear.panelSearch.panelFcContentClear.panelClear.panelSearch1.textboxCtl00Cp1
ucSearchPanel3SmartSearchTxt.SetText("london")
should be replaces by a short name like
Alias. HomePage.SearchPage.SearchText.type("London > United
Kingdom")
Thanks,
Shiv