Forum Discussion

vthomeschoolmom's avatar
vthomeschoolmom
Super Contributor
11 years ago

Name mapping best practice

I am curious why, when I map an object, do some parent objects get mapped and others do not. I have an input box on my web page whose FullName property is

 

Sys.Browser("iexplore").Page("<myappurl>/").Frame("Login").Panel("divRight").Form("Form1").Panel(0).Table("Table3").Cell(3, 2).Textbox("Username")

 

In the objct browser, I see the entire tree with each parnet object of the text box. When I mapped the object, I see

 

Sys/browser/Page/Frame/form/textbox

 

Where Panel(0), Table("Table3"), Cell(3.2) are all missing. Extended Find is selected for the form and textbox objects which means it searches all children right?

 

I am trying to understand how and why it is doing this so that I can have the most table object recognition. Thanks.

 

1 Reply

  • Marsha_R's avatar
    Marsha_R
    Icon for Champion Level 3 rankChampion Level 3

    I would be suspicious of that mapping.  

     

    If you go to Sys/browser/Page/Frame/form/textbox and try to highlight the object, is it the textbox that you were expecting?