lundi 21 décembre 2020

Find new elements in selenium testing

Héy guys , first time here and wanted to ask about one question , i made a selenium test case where : sign in outlook -> send a message -> go to "sent messages" -> delete the message

problem here is every new message has a new element (id or xpath or class..) so i always have to change it in my code , my question is do you guys know any way to do it (test case) without constently changing the element in my java code ? Many thanks in advance !

Aucun commentaire:

Enregistrer un commentaire