Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Reusing test steps in multiple tests

$
0
0

Maybe I should give a better example. When our sites are taken down for maintenance and then brought back up, they take awhile to spin up. With that being said, my tests fail because the webpage doesn't appear fast enough. I've tried changing the "Wait On Elements" but that doesn't seem to work or I'm using it incorrectly. A co-worker and myself came up with this but I think there's got to be an easier way to do it. I want the test to keep trying to access the URL until it comes up; when the page appears, we are looking for "Password:" to make sure that it's the actual log in page. I need to do this for every single test that I write. That's where the "Test As Step" feature comes in. I've attached a screenshot of what we came up with. Is there a different way to do this without coding?

 

 


Viewing all articles
Browse latest Browse all 94857

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>