Boa tarde pessoal, tudo bem? Estou nesse processo de automação com o robot e gostaria de uma ajuda, se puderem. Eu preciso que quando acesse em uma pagina, clique no título. Conforme anexo, não tem ID e nome, estão copie o xpath:
Click Element xpath=//*[@id=“root”]/div/ion-app/ion-router-outlet/div/ion-content/div[1]/div[2]/p
Sorry I don’t speak Portuguese, but will try to help.
That xpath does not match your screenshot
Click Element xpath=//*[@id=“root”] should be Click Element xpath://*[@id=“root”] or Click Element //*[@id=“root”]
Based on the screenshot the xpath should be //div[@id=“root”]/div/div[2]
but if you want a more reliable method of using an xpath I would suggest you try something like this //*[@id=“root”]//div[text()="Serviços"] then you can put it into a variable like this
${title}= Serviços
Click Element //*[@id=“root”]//div[text()="${title}"]