Skip to content

If shot had analyzed to remove a user immediately after in itself, it doing operating constantly and you can better

If shot had analyzed to remove a user immediately after in itself, it doing operating constantly and you can better

When you look at the brief, this really is an internal API to which you might posting a beneficial request and you will would individuals steps into application side from the inside the exam. It is reasonably very easy to activate:

QaApiHelper::deleteUser(user_id);

It’s obvious one QaApi can only performs having decide to try pages that’s only available via an enthusiastic intranet.

Stages of Badoo assessment

Nearly at each appointment i give individuals what research grade we provides within team. I’d like to temporarily record those that try of great interest in the angle from Selenium tests:

  • Devel environment analysis: Devel is a copy from manufacturing featuring its very own angles and you can interior characteristics.
  • Shot comparison: Attempt was a launch ecosystem that is available off an enthusiastic intranet via https://datingmentor.org/secret-hacks-to-browse-tinder-anonymously/ a specific Hyperlink, and you may that is a feature from learn password as well as the task getting checked out.
  • Staging comparison: Staging is typically the consequence of an use of the discharge part and grasp.
  • Creation evaluation.

Synchronous Selenium evaluation having membership

Let us get back to our take to. Imagine that you are one thinking-exact same QA professional that is today assigned with training the registration try to function inside parallel on numerous images as well as on staging.

Allow me to prompt you one to images work in a launch environment, in other words, he has got an equivalent representative foot. It is extremely obvious that in the modern set-right up this is simply not you are able to to perform tests inside the parallel. For individuals who stimulate two of these assessment a matter of seconds apart on the other photos, then your second shot tries to manage a profile to the Badoo if the first has recently created one to, and it will usually falter:

How can we solve this issue from ours? How do we make sure that the exam always has actually a great fresh Facebook member?

To start with I attempted to eliminate this issue the simplest way. We authored an mysql table towards which i imported multiple yourself-written Myspace pages and designated their position since ‘available’. The exam took a person out of this table, and you can altered their status so you can ‘busy’. In the event the there clearly was no available associate, the test damaged, providing the related notice.

This product got numerous obvious disadvantages. To begin with, in the event the so many try instances was indeed triggered at the same time, there have been not enough profile available there try no place so you’re able to buy them away from. And, for some reason, the test you will neglect to give-up the consumer at the bottom (for example when it was dropped by pressing ‘Ctrl+C’). Nothing on the try appreciated toward mornings whenever there can be smaller than an hour to go up until the launch deadline.

I soon had sick and tired of unpredictable accidents and you may out-of-control statuses which have Myspace levels and you can started to pick a great most readily useful solution…

The fresh new Graph API

Fb has a beneficial API that allows one do shot pages in order to operate him or her – developers.facebook/docs/graph-api. It’s organized rather simply: you develop the newest demand you prefer then post it to help you the fresh Myspace machine, following the solution returns inside 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).
  • What amount of registrations for each and every software program is minimal. Quote: “For every software you can’t manage more 2000 decide to try profiles.” Conclusion: you should keep amount away from users.
  • A test member with simply come written is only able to work together having one app. In such a case the application ‘s the domain name in which the service can be found. Inside the Badoo, presenting and you will images come into some other domains. Conclusion: once you keep number out-of profiles you should categorise her or him by the app id.

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *