Forum Discussion

fbilac's avatar
12 years ago

Link inside div - Using FindChild function

Hi,



In my test, I need to get a link inside a div and simulate a click.

This link don't have a Id, then I'm using FindChild to find this DIV, and trying to find this link inside.

Ok, the first step is correct, I get the div using FindChild and check your content, but I can't get the link object.



Thanks.
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Francisco,


     


    There is no need to use the FindChild method. According to your screenshot, the panel object you have found is your link that you can click.