NisHera's avatar
NisHera
Valued Contributor
5 years ago
Status:
New Idea

Intelligent recording

While writing test sometims I record test to see what suggetions TC would provid. But recently i found those recordings are quite useless. Eg below what i recorded

Sys.Process(None).VCLObject("frmBrowser").Window(None, None, None).VCLObject("hi..AllWindow").VCLObject("pnlMain").VCLObject("pnlBrowser").VCLObject("hi..TreeBrowser").VCLObject("tvMain").Click(94, 55)

put .. to not to reveal certain object names   

 

Samething I wrote manually...

Aliases.MyApp.Browser.MDIClient.WindowAll.tvMain.wChildView[0].ClickCell(0,0)

I did not create or imagine anything new, all information are available in TC
I believe well designed algorithm would do same

2 Comments

  • cunderw's avatar
    cunderw
    Community Hero

    It looks like you simply don't have automatic namemapping turned on. What you provided for wat test complete did is the full path not a mapped path. 

  • NisHera's avatar
    NisHera
    Valued Contributor

    Do you mean this...?

     

    Wouldn't it file up garbage in namemapping file?