
Less waiting, More Testing with Geetha Achutuni
TestGuild Automation Podcast
00:00
How to Optimize Your Code for Automation
The explicit weight is a built-in function that comes with Selenium but the expected conditions. So based on the element that we are interacting we have multiple methods already built into the accelerator so we can use the appropriate one for our test. We need to use proper data structures like lists or maps or dictionaries which are very advanced and then we need to ensure that we make minimum HTTP calls or DB calls. And also we have seen a few cases where testers tend to ignore the else conditions for every if condition. The other rate is to optimize your code.
Play episode from 07:42
Transcript


