In short-term, this can be an inside API that you might post an effective consult and you can manage various steps towards the application side from within the test. It is extremely very easy to trigger:
QaApiHelper::deleteUser(user_id);
It goes without saying one QaApi are only able to functions that have decide to try pages which will be just obtainable via a keen intranet.
Levels of Badoo research
Almost at each and every fulfilling i tell anybody exactly what research level i enjoys inside our organization. Let me temporarily number people who are interesting regarding position from Selenium examination:
- Devel environment analysis: Devel is actually a duplicate of creation having its very own basics and you will inner characteristics.
- Shot testing: Take to is actually a production ecosystem that is available away from an intranet via a certain Url, and you can that is an integrate of master code together with task being checked.
- Staging research: Presenting is traditionally caused by a provide of your own release branch therefore the grasp.
- Manufacturing review.
Parallel Selenium examination to have registration
Why don’t we get back to our very own try. Imagine that you’re one to self-same QA professional that is today tasked having exercises the fresh new membership take to to operate inside the parallel towards the several shots as well as on staging.
I’d like to remind your you to definitely shots work with a production ecosystem, frankly, he’s an identical associate feet. It is extremely apparent one in today’s put-right up that isn’t you can easily to perform evaluating for the parallel. For individuals who activate a couple of these types of evaluation a couple of seconds aside to your other shots, then next try attempts to would a visibility to your Badoo in the event the very first has already created that, and it will surely inevitably fail:
How do we solve this problem out-of ours? How can we make sure the exam always has actually good new Twitter affiliate?
To start with I attempted to solve this dilemma the easiest way. I written an mysql table into that we brought in several manually-created Myspace profiles and you may designated their updates as the ‘available’. The test got a user from this dining table, and altered its updates so you can ‘busy’. In the event that there can be zero readily available affiliate, the test damaged, supplying the associated alerts.
This product had several evident disadvantages. First and foremost, in the event the so many decide to try times have been activated at the same time, there are lack of levels offered and there is actually nowhere escort girl Austin in order to make them regarding. Also, somehow, the exam might don’t stop an individual towards the bottom (such as for instance in the event it was stopped by clicking ‘Ctrl+C’). None of is actually liked towards mornings when there was quicker than simply one hour commit before the launch deadline.
We pretty soon had tired of unstable crashes and you will aside-of-handle statuses that have Fb levels and you can started to get a hold of a most useful provider…
The new Chart API
Facebook has actually a great API that enables one to create try users and jobs him or her – developers.facebook/docs/graph-api. It is organized pretty merely: your establish the brand new demand you prefer and send they so you’re able to the newest Facebook host, immediately after which the clear answer returns inside 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).
- How many registrations for every single application is limited. Quote: “For every single application you can not manage over 2000 attempt pages.” Conclusion: you should continue count away from profiles.
- A test user which includes merely become authored can simply come together which have one app. In this instance the application form is the domain where in actuality the provider is positioned. In Badoo, staging and you will photos are located in additional domain names. Conclusion: after you continue number of pages you need to categorise him or her by app id.
Recent Comments