I am attempting to automate the process of logging into gmail and sending an email out. I am able to write a test with correct steps, but they are not working all of the time because gmail seems to have a dynamic id assignment. The trouble I am having is after clicking compose, the "send to" field find logic is id=:8t, tagname=TextArea. Other times the "send to" field is id=:86, tagname=TextArea, other times id=:92. The results are, sometimes the test will work perfect and send the email, but other times it won't be able to find the "Send to" element after the "click compose email" step.
Do you have any suggestions as to how I should change the find logic on the "Send To" "Subject" and "Field" Elements of a composing email on gmail so that I can get a consistent element find?
Do you have any suggestions as to how I should change the find logic on the "Send To" "Subject" and "Field" Elements of a composing email on gmail so that I can get a consistent element find?