If shot got learned so you’re able to delete a user shortly after itself, they carrying out performing constantly and you may well

If shot got learned so you’re able to delete a user shortly after itself, they carrying out performing constantly and you may well

Into the short-term, this is an inside API that you might publish a great demand and you may carry out various actions on the application side from within the test. It is quite an easy task to activate:

QaApiHelper::deleteUser(user_id);

It’s a given one QaApi could only really works which have take to profiles which is just available via an intranet.

Stages out of Badoo testing

Almost at each and every appointment i share with people what research degree we has within organization. Let me temporarily number people who was of interest throughout the angle off Selenium evaluation:

  • Devel environment comparison: Devel is actually a copy of creation featuring its individual basics and you can interior attributes.
  • Sample comparison: Test try a launch environment that is obtainable out of a keen intranet through a particular Url, and you may that’s an include regarding grasp password as well as the activity getting checked-out.
  • Staging investigations: Staging was traditionally caused by an integrate of one’s discharge department while the learn.
  • Production evaluation.

Parallel Selenium screening for registration

Let us get back to the test. That is amazing you’re one worry about-same QA professional who’s today assigned which have training brand new subscription decide to try to your workplace from inside the parallel with the numerous images as well as on staging.

Allow me to encourage your that photos work with a release environment, frankly, they have the same user legs. It can be visible you to definitely in the current put-right up that isn’t you can to run evaluating in parallel. For people who turn on two of these evaluating a few seconds aside into the different images, then second attempt attempts to create a visibility towards the Badoo in the event the very first has written one, and this will usually falter:

How can we resolve this dilemma from ours? How do we ensure that the test constantly possess good new Twitter associate?

At first I attempted to settle this matter the easiest way. I written an mysql table toward that i imported multiple yourself-created Facebook profiles and designated their status since ‘available’. The test got a user from this dining table, and changed their updates to help you ‘busy’. In the event that discover no readily available affiliate, the exam damaged, supplying the associated notification.

This program got several apparent drawbacks. First of all, if so many shot era have been activated meanwhile, there are insufficient accounts offered there is nowhere to help you buy them out-of. And, somehow, the exam might don’t throw in the towel an individual at the end (eg in the event it is stopped by pressing ‘Ctrl+C’). None with the was preferred for the days whenever there’s less than an hour or so to visit before the discharge due date.

We pretty soon had sick and tired of volatile injuries and you will away-of-manage statuses that have Facebook account and you can started to pick a great better services…

This new Chart API

Fb enjoys a great API that allows that manage decide to try profiles also to work her or him – builders.facebook/docs/graph-api. It’s organised very simply: your formulate new demand need immediately after which posting they so you’re able to the fresh new Twitter servers, after which the solution returns in the json style.


You receive an application id and secret when you register your application on FB (for more details see here Heterosexual dating dating review - developers.facebook/docs/facebook-login/overview).
  • What number of registrations per software program is limited. Quote: “For every application you cannot perform over 2000 shot profiles.” Conclusion: you really need to keep amount off pages.
  • An examination affiliate with simply been written can only just collaborate with you to application. In cases like this the program is the domain name where in actuality the services is based. From inside the Badoo, presenting and photos come in more domain names. Conclusion: after you remain count of pages you ought to categorise her or him because of the software id.