Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Prome has some good suggestions below. You could also suggest removing 113 lower priority tests to reduce the execution time to 2 hours (keeping 37 high priority tests). Seems weird to me that a test manager is concerned about execution time more than test coverage. Can you run them overnight? Can you meet in the middle (with four hours)? Why is time so important here?
Hey @PDHide, thanks for your help yesterday - I've gone with a different solution which avoids having to find and store the value. Instead, I'm defining it at the start of the script with email_address = "trash.panda+#{Time.now.to_i}@searchingyourbins.com", and then calling it when needed with .send_keys(email_address) and #{email_address} :) Happy to accept your answer though as I'm sure it'll be correct for someone who's better with Ruby!
Thanks for your response. I was getting the same results with both single and double quotes, but have switched them to single as it looks like it's best practice? I've also edited the question - I'm trying to get (like copy or store) the email address and not just find the element. My apologies, I should have made it clearer.