Into the short-term, this really is an inside API to which you can send a beneficial demand and you may do certain measures for the application front side from the inside the exam. It is quite easy to trigger:
QaApiHelper::deleteUser(user_id);
It’s obvious one QaApi can just only works having attempt users that’s only obtainable through a keen intranet.
Level regarding Badoo assessment
Almost 
- Devel ecosystem analysis: Devel are a copy off design featuring its own bases and you will interior functions.
- Test evaluation: Sample are a production environment that’s available out-of an enthusiastic intranet thru a certain Website link, and you will that is an include out-of learn code together with activity getting checked-out.
- Presenting comparison: Staging is actually traditionally caused by an use of one’s launch department as well as the master.
- Design testing.
Synchronous Selenium testing to possess subscription
Why don’t we get back to our very own attempt. That is amazing you’re you to definitely care about-same QA engineer who is today tasked having practise the fresh membership take to working inside the parallel on the multiple shots as well as on presenting.
I would ike to prompt you one photos operate in a release environment, in other words, they have a similar affiliate feet. It is reasonably visible you to definitely in today’s put-up this isn’t it is possible to to operate screening in the synchronous. For many who activate two of such assessment a matter of seconds aside to your other images, then the 2nd decide to try tries to manage a profile into the Badoo when the first has already written that, and it’ll invariably fail:
How can we resolve this dilemma off ours? How do we make sure that the exam always possess an effective new Facebook associate?
To start with I attempted to resolve this problem the easiest way. We authored an mysql table into the that i imported multiple yourself-written Twitter pages and noted the reputation since ‘available’. The test grabbed a person out of this table, and you will changed its position so you’re able to ‘busy’. If the there is no available member, the exam damaged, providing the related alerts.
This product had several clear drawbacks. Firstly, when the a lot of decide to try hours was basically activated at the same time, there have been decreased accounts offered so there are no place to help you have them from. Together with, in some way, the test you will neglect to stop the user at the bottom (particularly whether or not it are dropped by pressing ‘Ctrl+C’). Nothing for the is actually preferred on mornings when there is certainly smaller than an hour to go through to the launch due date.
We soon got fed up with unpredictable accidents and out-of-control statuses having Fb membership and you may started initially to discover good best solution…
The brand new Chart API
Myspace enjoys an effective API enabling one to do take to profiles and to jobs her or him – builders.facebook/docs/graph-api. It’s organised fairly only: you formulate the brand new demand you need and posting they to the fresh Fb host, then the answer returns inside the json format.
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).
- What amount of registrations per software is minimal. Quote: “Each software you can not perform more 2000 sample pages.” Conclusion: you will want to remain matter of pages.
- A test representative with simply become created can only just collaborate having one to app. In this instance the application form ‘s the domain name where in fact the service is positioned. Inside the Badoo, staging and you can images are in some other domain names. Conclusion: when you remain count out-of users you will want to categorise them because of the application id.





