Forum Discussion

SmartUrsula's avatar
SmartUrsula
Occasional Contributor
7 years ago

Clicking on new Object not yet mapped

Hey all, I am trying to set up a test that clicks through pages on a screen. I have it set up so that buttons along the bottom of the screen are used to navigate (so for example something with 4 pages will have four buttons, each directing you to their respective pages). However, I want the script to be able to click on the button that belongs to a new page, but I am having problems as the new button has not been mapped so I can't use the alias.

 

Thanks for any help

1 Reply

  • NisHera's avatar
    NisHera
    Valued Contributor

    You can do click without name mapping but you have to know exact unique properties of the button you are trying to click.

    Fo eg new page is mapped = aliases.myApplicatio.newpage

    you can use aliases.myApplicatio.newpage. findchild("");

    for more info please read this