In the event that decide to try had read so you can delete a user once by itself, they undertaking functioning consistently and you will well

In the event that decide to try had read so you can delete a user once by itself, they undertaking functioning consistently and you will well

During the short term, this is exactly an inside API that you could upload a good consult and you can carry out some measures toward application side from within the test. It can be an easy task to turn on:

QaApiHelper::deleteUser(user_id);

It’s obvious you to definitely QaApi can only just functions which have take to pages which will be merely obtainable thru an enthusiastic intranet.

Grade regarding Badoo review

Almost at every meeting i give anybody what evaluation stages i provides inside our providers. Let me temporarily number those which are of interest throughout the angle regarding Selenium tests:

  • Devel ecosystem research: Devel is a copy away from manufacturing along with its own angles and inner attributes.
  • Test analysis: Sample are a launch ecosystem that’s available away from a keen intranet via a specific Hyperlink, and you can which is a merge out-of master code additionally the activity becoming checked out.
  • Staging review: Staging is usually caused by a feature of your own launch department while the learn.
  • Production testing.

Parallel Selenium evaluation to own subscription

Let’s go back to our very own try. Imagine that you are you to definitely mind-same QA professional who is now assigned with training the new subscription shot to work inside the synchronous for the several photos and on staging.

Let me prompt you you to definitely images work in a release environment, frankly, he has a similar associate legs. It is reasonably apparent one to in the present lay-upwards that isn’t it is possible to to perform evaluation during the parallel. If you turn on two of these types of evaluation a couple of seconds apart toward various other photos, then the next decide to try attempts to do a visibility to your Badoo if basic has recently authored that, and it’ll inevitably falter:

How do we resolve this issue of ours? How do we make sure the test constantly possess a fresh Facebook user?

At first I attempted to settle this problem the easiest way. I composed an enthusiastic mysql dining table to your that i brought in multiple by hand-written Fb users and you may designated the reputation since the ‘available’. The exam took a user from this desk, and changed its position in order to ‘busy’. If you will find zero available member, the test damaged, providing the relevant notice.

This product had numerous clear disadvantages. First and foremost, in the event the too many try times was in fact activated meanwhile, there are shortage of profile available there are no place to buy them out of. Plus, somehow, the exam you are going to don’t stop trying the user towards the bottom (including in the event it was stopped by pressing ‘Ctrl+C’). Nothing from the is enjoyed into mornings whenever there’s shorter than simply an hour commit till the discharge due date.

I pretty soon had fed up with unpredictable accidents and you can out-of-handle statuses that have Fb membership and you can started to see an excellent greatest services…

Brand new Chart API

Myspace have an excellent API that allows you to definitely carry out take to users and perform them – developers.facebook/docs/graph-api. It is organized quite only: your establish the brand new demand you desire after which post it so you can the fresh new Twitter servers, following the answer return for 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).
  • What amount of registrations for every single software program is limited. Quote: “Each app you can not perform more than 2000 shot users.” Conclusion: you need to continue amount from profiles.
  • A test representative with just become created are only able to interact that have that Adventist dating review software. In such a case the program is the website name where services is found. In the Badoo, staging and you will images are in different domain names. Conclusion: after you keep matter off pages you ought to categorise her or him by software id.

Leave a Reply

Your email address will not be published. Required fields are marked *