Forum Discussion

jim_2's avatar
jim_2
New Contributor
12 years ago

Recording Navigation Issues


While recording a test, after login I get to the dashboard and click on a few elements that have a priority.



If that priority has changed by the next time I run the test (meaning the element has changed position) it clicks on whatever element is now at the old priority, instead of the last element I clicked.



Does anyone know how to solve this issue?


  • jose_pita's avatar
    jose_pita
    Super Contributor
    Go to those elements on the name mapping, see what property they are saved with, if they are saved with some kind of index of a table or cell, there's your answer.



    In order to click on the previously clicked objects, you need to change the way you map the objects, maybe by ID, objectIdentifier or by contentText...
  • jim_2's avatar
    jim_2
    New Contributor
    HI



    The objectidentifier is the ID i have assigned to the field.



    I have a panel on my page with id="Profile"

    when i go to the nameMapping the object type is panel and the object identifier is Profile. To me this seems correct, still not working though



    This is my item

    page.form.panelBody.sectionContentWrapper.navClearFix.sectionProgressContainer.asideCircleList.panelProfile.textnodeProfile.Click(65, 20);



    Sometimes i see the mapped item has the Extended Find attribute enabled, but even when it isnt, it still doesnt work