I’m using Badboy version 2.0.7. In this version, Spider tool only handles one level of spidering. Spidering, in badboy is a feature that helps us navigate every link that is possible on a page.
I’ve heard that in badboy version 2.0.8, spidering will be enhanced and will be able to walk through every link on a page and also descend into the child pages.
For users who use 2.0.7 version, this is not possible. However, I’ve created a set of step with which we can implement the multi-level spidering in older versions too. This is done with the help of variables and steps(that can be iterated).
The step hierarchy of the solution is shown in the picture(This is not a general solution, its specific to my problem scenario. However, with little modification, it can be made useful in other specific situations).
However, this solution still has some limitations. First, The number of child steps needs to be known previously. That means it will not work if u want to go endlessly by clicking child of child and so on. For now, I know that piece of information, so its working fine for me.
Second, for every number of Loop step, we need to create 2 variables ‘gotoLink’ and ‘goBackLink’ with loop number appended at last.
I’ll try to find a way out the way by which we can avoid this necessity of knowing the number of child steps in advance.