If decide to try got learnt in order to remove a person just after alone, it carrying out performing continuously and well

Inside temporary, this really is an internal API to which you might post an excellent request and create various steps toward application side from the inside the test. It can be very easy to trigger:

QaApiHelper::deleteUser(user_id);

It’s understandable that QaApi could only performs with take to users that is simply obtainable via an enthusiastic intranet.

Amount off Badoo assessment

Almost at each fulfilling i tell people exactly what research degree we possess within company. I’d like to briefly number those that is interesting on the perspective off Selenium tests:

Synchronous Selenium evaluation to have registration

Let us return to our very own shot. Imagine that you are one to worry about-exact same QA engineer that is today tasked with practise the newest registration attempt to focus in the parallel to your multiple shots as well as on staging.

Let me encourage your one images are employed in a launch ecosystem, frankly, he’s an identical representative feet. It is extremely obvious www.datingmentor.org/pl/afroromance-recenzja/ one to in the modern set-right up it is not you are able to to operate screening into the synchronous. For individuals who activate two of these types of testing a few seconds aside toward more photos, then second test tries to manage a profile towards the Badoo in the event that very first has recently written you to definitely, and it’ll usually fail:

How can we solve this problem out-of ours? How do we make certain that the test constantly possess a fresh Myspace representative?

In the beginning I tried to eliminate this dilemma the easiest way. We created a keen mysql dining table toward which i brought in multiple manually-authored Twitter pages and you can noted their standing as ‘available’. The test got a person from this table, and you may changed their reputation to help you ‘busy’. If you will find no offered associate, the test crashed, giving the associated notice.

This system had multiple obvious disadvantages. First and foremost, in the event the unnecessary take to instances was activated at the same time, there had been decreased accounts readily available and there are no place in order to get them out of. And additionally, somehow, the exam you will are not able to stop the user at the bottom (such as if it is dropped by pressing ‘Ctrl+C’). None with the is actually liked to your mornings whenever there is certainly shorter than an hour or so to visit before the launch deadline.

We pretty soon got sick of volatile crashes and you will aside-of-handle statuses with Twitter accounts and you may started to see a beneficial ideal solution…

The fresh Graph API

Facebook keeps a API that enables you to definitely perform decide to try pages also to operate him or her – builders.facebook/docs/graph-api. It is organized pretty only: you formulate the newest request need right after which publish it to help you the brand new Facebook server, following the clear answer returns inside 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).

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *