For the brief, this really is an inside API that you could send a demand and you will do some actions on the app top from the inside the test. It is very an easy task to activate:
QaApiHelper::deleteUser(user_id);
It’s a given one to QaApi can only just really works which have take to pages which will be merely obtainable thru a keen intranet.
Degrees from Badoo comparison
Nearly at every fulfilling we give some one exactly what comparison values we have within company. I would ike to briefly record those that is of great interest throughout the position away from Selenium testing:
- Devel environment evaluation: Devel are a duplicate out of creation having its individual basics and inner services.
- Try assessment: Sample are a launch ecosystem which is obtainable out-of a keen intranet via a particular Website link, and you may that is an include out-of learn password and task getting examined.
- Staging research: Staging is actually generally the result of an incorporate of the launch part and learn.
- Production comparison.
Parallel Selenium testing to possess membership
Let’s go back to all of our try. Imagine that you are one to self-same QA professional who is today assigned which have exercises the new subscription sample to be effective in the synchronous on numerous photos and on presenting.
I want to encourage your one to photos operate in a release environment, frankly, he’s got an equivalent member feet. It is reasonably apparent you to in today’s lay-up this is not you can easily to run screening during the synchronous. For folks who turn on two of these types of screening a few seconds aside toward additional images, then your next shot tries to manage a visibility for the Badoo when the basic has already written you to definitely, and it will surely invariably fail:
How do we resolve this problem from ours? How can we make sure that the test usually has actually good new Fb member?
In the beginning I tried to settle this problem the best way. We created an enthusiastic mysql desk with the that i brought in numerous manually-composed Myspace users and you may marked its updates due to the fact ‘available’. The test got a user out of this desk, and you can changed their standing so you’re able to ‘busy’. In the event that there clearly was no offered associate, the exam crashed, providing the relevant notification.
This program had numerous clear downsides. First and foremost, in the event that a lot of sample times was activated meanwhile, there had been decreased profile readily available so there is nowhere to make them regarding. Including, for some reason, the exam you will neglect to give up the consumer at the bottom (for example if this are stopped by clicking ‘Ctrl+C’). Nothing with the are appreciated on the days when there can be reduced than simply one hour to go till the discharge deadline.
We soon got sick of unstable crashes and you can away-of-handle statuses which have Twitter account and started to discover an effective top services…
New Chart API
Facebook has actually a API which enables you to definitely would try users and to jobs her or him – developers.facebook/docs/graph-api. It’s organised very merely: your formulate the fresh consult you desire immediately after which post it to the Facebook machine, then the clear answer returns into the 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).
- Just how many registrations per software program is restricted. Quote: “For every single software you can’t create more 2000 take to pages.” Conclusion: you should remain amount regarding users.
- An examination user which includes just been created is only able to collaborate which free dating sites in Honolulu have one to application. In such a case the applying ‘s the domain name where in fact the provider is found. In Badoo, staging and images have been in more domains. Conclusion: when you remain amount away from pages you will want to categorise him or her from the app id.