Reggio Calabria, Italy
+39 0965 894009
roccoantonio.zoccali@gmail.com

In the event that test got read to erase a user after alone, they performing doing work consistently and you will really

In the event that test got read to erase a user after alone, they performing doing work consistently and you will really

During the short-term, that is an internal API to which you can post a beneficial consult and you can do some methods towards software side from the inside the exam. It is also easy to activate:

QaApiHelper::deleteUser(user_id);

It goes without saying one QaApi can just only functions having decide to try users and is merely available through a keen intranet.

Amount out-of Badoo comparison

Nearly at each and every fulfilling we give people just what analysis degrees i features within team. Let me temporarily checklist those which is actually interesting from the position away from Selenium evaluating:

  • Devel environment testing: Devel try a copy off development using its individual basics and you may interior properties.
  • Test testing: Take to is actually a launch ecosystem which is available from an enthusiastic intranet via a specific Hyperlink, and you can which is an add out of master code and activity getting examined.
  • Staging research: Staging is typically the consequence of an include of the release part and also the master.
  • Creation research.

Parallel Selenium examination getting registration

Why don’t we return to our very own test. Suppose that you’re one to care about-exact same QA professional that is now assigned having knowledge the brand new membership try to get results inside the parallel on numerous shots and on staging.

Let me encourage your you to definitely images work with a launch environment, in other words, he has the same user base. It is very noticeable one in the modern put-right up this is not you are able to to operate tests from inside the synchronous. For folks who stimulate a couple of these evaluating a matter of seconds aside to your different images, then your next sample attempts to would a profile on Badoo when the earliest has recently composed one, and this will usually fail:

How do we solve this problem out-of ours? How do we guarantee that the test constantly enjoys a beneficial fresh Twitter associate?

In the beginning I tried to eliminate this matter the simplest way. I authored an mysql desk towards that we brought in several yourself-authored Facebook profiles and you will marked the standing once the ‘available’. The test got a user from this table, and you can changed the updates in order to ‘busy’. In the event the you will find zero available associate, the test damaged, supplying the relevant alerts.

The program got several apparent disadvantages. First and foremost, if so many sample era had been activated at the same time, there are decreased levels available so there is no place in order to buy them off. Also, for some reason, the exam you’ll don’t give-up the user at the end (such as for instance if it was dropped by clicking ‘Ctrl+C’). Not one for the is actually liked with the mornings when there is certainly quicker than just one hour to visit through to the release deadline.

I pretty soon had tired of erratic accidents and you may aside-of-handle statuses having Twitter levels and you will started to see a good most useful service…

The latest Graph API

Facebook features a good API that allows one to perform test profiles and to jobs them – designers.facebook/docs/graph-api. It is organised pretty simply: your formulate this new request you would like then posting it in order to the fresh new Twitter server, then the answer returns inside 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).
  • How many registrations for every single application is limited. Quote: “Each software you simply can’t would more than 2000 take to pages.” Conclusion: you should continue count from profiles.
  • An examination member which has merely already been authored can just only come together with one to app. In this instance the applying ‘s the domain where in fact the services is. For the Badoo, staging and you can photos come into more domains. Conclusion: after you remain number out of profiles you should categorise him or her by software id.

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *