Inside brief, this might be an internal API to which you could potentially post a beneficial consult and you may create certain strategies to the app top from inside the exam. It is also an easy task to activate:
QaApiHelper::deleteUser(user_id);
It’s a given you to QaApi can only just works having test pages which is only accessible through a keen intranet.
Values away from Badoo review
Almost at every meeting we tell someone just what assessment amounts we enjoys within our team. I want to briefly number people who try interesting regarding direction out of Selenium testing:
- Devel environment research: Devel is a duplicate from manufacturing along with its own bases and you may internal features.
- Shot assessment: Take to is actually a release ecosystem that is obtainable out of a keen intranet thru a certain Hyperlink, and you can that’s a feature off learn code and also the activity are tested.
- Presenting research: Staging try usually the consequence of an add of the discharge department and master.
- Creation review.
Parallel Selenium assessment to possess subscription
Why don’t we go back to the attempt. Suppose that you’re you to self-same QA professional who is now tasked with knowledge the subscription try be effective for the synchronous towards several photos and on presenting.
Let me encourage you one photos are employed in a release environment, in other words, he has got an identical associate ft. It is very obvious that in the present set-upwards that isn’t you’ll be able to to perform tests within the synchronous. For those who turn on a couple of such screening a couple of seconds aside to the additional shots, then the 2nd test tries to manage a visibility for the Badoo in the event that basic has authored that, and it will surely invariably falter:
How do we resolve this issue off ours? How can we ensure that the test always has a new Myspace affiliate?
Initially I tried to eliminate this problem the easiest way. We written an enthusiastic mysql table into that we brought in multiple yourself-composed Fb pages and you can noted the position since the ‘available’. The exam got a user from this table, and changed its reputation so you’re able to ‘busy’. In the event the you will find zero offered user, the exam damaged, giving the related notice.
This product had multiple clear downsides. First, if way too many test days was basically triggered at the same time, there had been not enough account readily available and there are nowhere to help you make them out-of. Also, for some reason, the exam you’ll fail to stop the user at the end (eg if this are stopped by pressing ‘Ctrl+C’). Nothing from the try preferred for the days whenever there is certainly smaller than simply one hour going until the launch deadline.
We pretty soon got tired of unstable accidents and you can away-of-control statuses that have Fb levels and you can started to get a hold of a great most useful services airg mobil sitesi…
This new Chart API
Myspace possess an effective API that allows that would decide to try users in order to jobs her or him – developers.facebook/docs/graph-api. It is organized rather simply: your establish the fresh new consult you would like and post they to help you this new Twitter server, following the solution return within the json structure.
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).
- How many registrations for each and every application is restricted. Quote: “Each app you can’t perform more than 2000 test users.” Conclusion: you will want to continue count off users.
- An examination representative which has just come composed can just only come together that have one app. In this case the application form is the website name where the services is positioned. Into the Badoo, staging and shots can be found in various other domains. Conclusion: when you continue count off users you ought to categorise her or him by the software id.