Good morning! I’m trying to use WebTestIt to connect to Microsoft Azure and download a file. With some fiddling, I got it to log in and navigate to the relevant page - great. However, it consistently times out with “Expected condition failed: waiting for visibility of element…” even with a ten minute timeout set on the page. Watching the process in Diagnostic Mode, I can see it getting to the correct page, with the download button clearly visible (and it works, if I click it manually). What else might be causing this problem?
I’ve tried referencing the button in question via CSS and also XPath; no change.
The one thing that’s a bit odd is that a couple seconds after navigating to the page (https://cloudpartner.azure.com/#insights/payout), the button in question (“CSV”) switches to a loading animation. That takes a few seconds, then it returns to normal. Just in case that’s a problem, I tried adding a 30-second delay after loading the page and before trying to click the button. No change to the error message.
Any ideas? I understand that downloads in general are often a problem. I have downloads set to automatic, so the Save File dialog does not pop up at all.
The server is an Amazon EDS machine, running Windows. I’m using WebTestIt 1.9.1, and Selenium. The browser is Chrome. Running the test manually works perfectly; it’s just a problem in WebTestIt.