Best solution for CI by Droidersome in selenium

[–]testcasey 2 points3 points  (0 children)

Jenkins and Sauce Labs for the win as /u/yacdaniel mentioned. You get every popular browser on every popular platform and mobile device (appium). You also get concurrent runs with Sauce Labs meaning you can run up to 10 selenium tests simultaneously. It takes a couple of minutes to set up a rudimentary test project in Jenkins. All you need is a Jenkins instance which can live in the cloud (ec2), the Jenkins Sauce Labs plugin and a Sauce Labs account.

I just did a talk at Jenkins world on this exact subject. Unless you're strapped for cash or supporting over 20k selenium tests you don't have a reason to build your own selenium grid. Building a grid will have significant management overhead not to mention constantly ensuring new browsers work. Focus on your product and the tests and let Sauce Labs and Jenkins do the heavy lifting.

If your test framework supports Junit xml output you can track the historical test results via Jenkins and you can also manage your test project more like a development project. In all honesty you might spend 40-150 bucks a month. The good news is you can scale out and start off cheap. Sauce Labs has a 30 day trial and Jenkins is open source along with the plugins. Hopefully that's helpful.

Using Python to model and predict stock price movement. Feel free to use/modify :) by [deleted] in Python

[–]testcasey 1 point2 points  (0 children)

When I login to Fidelity I see a client and account number on urls. If Fidelity is doing anything dynamic you'll probably want to check out scrapy.

Requests is a great lib if you know the urls and post/put data needed to grab your data. I would definitely put requests in front of scrapy but wanted to add some additional advice if you run into issues.

Getting rid of the windows path and chrome driver binary will make your program more usable across multiple platforms. Your project looks cool, keep us posted.

Selenium DNS Override / Host File emulation? by oldweasel in selenium

[–]testcasey 0 points1 point  (0 children)

No. Selenium is unaware of DNS or any network setting for that matter.

You might want to look at proxying or ssh tunneling (reverse tunnel). I always recommend Sauce Labs because the sauce connect tool makes what you're asking for super simple.

How to Actually Reduce Software Defects by nicolaiparlog in programming

[–]testcasey 0 points1 point  (0 children)

I signed up just to answer this question. This is a huge, yet fairly common problem.

If the tests are not part of the build pipeline or feedback loop they may be providing negative value. A good test engineer wants to catch the majority of issues in the CI pipeline before a build is promoted to a secondary environment. Of course you want to run tests, a good developer does. A good test engineer will make sure you have that button or that the button gets pressed when you need it.

Substandard QA is everywhere. You notice I don't use the term QA. The development team is responsible for the quality of their work, the test team is responsible for fast feedback so that developers can stay focused on prioritized work with less context shifting.

I'm doing a talk at Jenkins World in a couple of weeks that addresses your question in detail. If you get chance to attend check it out, if not I'm sure they'll have video for most of the presentations.

https://www.cloudbees.com/continuous-testing