The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
The "early out" semantics of the logical operators (|| and &&) are the same for C#, C++, Java, and C, and have been well-specified since the First Edition of K&R C. How could the result possibly be unexpected?
We have a third party web app that the business uses, and we support. We have many hooks into, and a lot of web services built around it to get data in and out.
It is possible to use Selenium on pages that do dynamic content loading. It requires a lot of waiting for elements with known IDs or consistent XPaths to be present before proceeding to the next step. At my company we've developed a wrapper toolkit around Selenium (it can use other drivers, too, but I've only experience with the Selenium part) which allows us to write automated tests against that type of site more easily. Unfortunately I can't give you it but I recommend you do something similar, I don't think there are any automated web testing kits that make it straightforward.
Testing this kind of site will always be slow and unreliable, as with any UI testing and particularly network-dependent testing. But it can be automated with Selenium.
That's what I was trying (I believe). I had it load the login page, and was able to get it to fill out the user id/password, and submit.
I then used the F12 tool in Internet Explorer to find the ids of objects that would load after login, and I put in a wait for those, but it always fails. Maybe I'm not waiting long enough like you said. I'll increase the timeout and see what happens.
Also, I've found a series of short waits in a loop to be more reliable than one longer wait.
Odd thing happened this morning, out of the corner of my eye I see a small dark creature whiz by about a foot off the ground. Turns out it was a mouse our cat KC was attempting to teach to fly. He was determined to be successful as he kept at it, scooping the hapless creature up and letting it fly but it wouldn’t catch on and maintain flight.
After reading Griff’s post [^]yesterday and reading the post just below this one, I have the feeling the cats and the rodents are planning a takeover. Coincidence? Let’s hope.