If the try had studied in order to delete a person just after alone, they starting performing consistently and you can really

If the try had studied in order to delete a person just after alone, they starting performing consistently and you can really

For the short term, this really is an internal API that you might upload a great demand and you may would certain actions toward software top from inside the exam. It is quite simple to turn on:

QaApiHelper::deleteUser(user_id);

It goes without saying one to QaApi can simply really works which have shot profiles which is merely accessible via an enthusiastic intranet.

Degree out of Badoo analysis

Almost at each and every meeting we share with some body just what investigations level we features within team. Let me briefly record those which are of interest regarding angle off Selenium screening:

Parallel Selenium screening to possess membership

Why don’t we go back to the try. Imagine that you’re one to self-exact same QA engineer that is now assigned having practise the fresh new registration shot to operate inside synchronous with the multiple images and on staging.

I’d like to prompt you you to photos operate in a release ecosystem, that is to say, he has got a similar affiliate base. It is reasonably visible one to in the current place-upwards this is simply not you are able to to run tests inside parallel. For folks who activate two of these types of examination a matter of seconds aside into various other shots, then your 2nd decide to try attempts to do a profile into the Badoo if first has authored you to, and this will invariably falter:

How can we resolve this problem regarding ours? How can we guarantee that the exam constantly has actually a fresh Twitter user?

To start with I tried to solve this issue the best way. I authored a keen mysql desk on which i imported numerous by hand-created Twitter profiles and you may noted its condition once the ‘available’. The test took a person out of this desk, and you may altered the position in order to ‘busy’. In the event the discover zero available user, the exam crashed, providing the related notification.

This product got multiple apparent disadvantages. Firstly, if the unnecessary decide to try period was in fact triggered meanwhile, there had been diminished accounts available there was nowhere to help you buy them off. Plus, somehow, the test you will are not able to give-up the user at the end (particularly whether or not it is stopped by clicking ‘Ctrl+C’). None of are preferred with the days when you will find less than simply an hour to go through to the launch deadline.

We pretty soon had sick of unstable accidents and you will out-of-control statuses that have Fb levels and you may began to come across a good greatest provider…

The fresh Graph API

Twitter possess a beneficial API that enables one to manage attempt pages and work her or him – developers.facebook/docs/graph-api. It’s organized fairly just: your develop brand new request you prefer right after which send they so you’re able to the new Myspace servers, following the solution return inside json style.


You receive an application id and secret when you register your application on FB (for more details see here - developers.facebook/docs/facebook-login/overview).