Forum Discussion

KB1's avatar
KB1
Champion Level 2
2 years ago
Solved

TypeError: Cannot read property 'Navigate' of null

I accidentally deleted all of the  namemapping objects. and after setting the back up back into testcomplete i keep getting this error with every step. This happens at the very first step.   ...
  • rraghvani's avatar
    2 years ago

    For the web application I'm automating, extended find is disabled,

    I only map the names for the controls I'm interacting with only - e.g. right click on the control and select Map Object

    Select the last option

    I let TC choose the default names, but the last item name I change to something meaningful. Once my objects are all mapped, I then drag them into Aliases mapped object to build a tree structure

     

    I do scripting, and this is the best method I have found, that works for me. I also use TFS as source control.