Forum Discussion

Anabelle's avatar
Anabelle
Occasional Contributor
11 months ago
Solved

My object does'nt exist

Hi all,

 

I am new in TC and I am sorry for my english.

 

I have a problem with name mapping. TC does'nt find the page (pageGaaLoc2) after connection.

 

My URL is dynamic for information. Is it the problem ?

 

 

I need some help please, I am blocked.

 

Thank you so much

 

Anabelle

 

6 Replies

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Check your name mapping corresponds to the UI control. For example,

    Ideally, you should only have one name mapping for each UI control and TestComplete will use this name mapping to identify the control you are interacting with.

     

    See Name Mapping, it is vital to understand how this works.

    • Anabelle's avatar
      Anabelle
      Occasional Contributor

      My page's name is GAA-LOC

      I should rename it ?
      I have read the documentation and try breakpoint and debug. I will read again

       

      If someone has an idea, I will be grateful

       

      Thanks

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Properties (and their values) make up the name mapping,

     

    You have name mappings called pageGaaLoc and pageGaaLoc2, if there property values are not correctly defined, then TestComplete will not know which object you are referring to.

     

    I suggest you also read through Object Browser Naming Notation

    • Anabelle's avatar
      Anabelle
      Occasional Contributor

      I have this configuration for pageGaaLoc2

      Thanks a lot for the documentation, I am reading it now

       

      For you, it is not the problem of  "dynamic" URL ? it is composed by : url + uuid ( this uuid changes each time I run my test)

       

       

    • Anabelle's avatar
      Anabelle
      Occasional Contributor

      Thank you so much !

      Another step, another problem now !