Thank you for the information, Naveen, I guess it's better to add assertions and verify the link broken, in that case, fail the test case. If you do manual testing, u see that the link is broken. but thru automation, if you want to verify... we need to create assertions
Naveen it will just iterate till list size and will not include all the links. As it will randomly generate the ramdom and driver will hit that url....so iteration will definitely upto list size... but what if we want to add one more condition to randomly click all the links and without repetition...is this possible?
Thats the purpose of heatmap area on the website. Its not for all the links on the page, its specific to area on the page. If you want to take all the links on the page, you can use tagName("a") and click on links randomly, generate a random number upto total links on the page with a condition that once random number is used, it can not be used one more time.
Excellent content on Heat Area or Monkey testing in Selenium..!! 👌👏
Superb video Naveen! Thanks for sharing such scenarios. ❤️
Thank you for the information, Naveen, I guess it's better to add assertions and verify the link broken, in that case, fail the test case.
If you do manual testing, u see that the link is broken.
but thru automation, if you want to verify... we need to create assertions
Thanks a lot for covering different scenarios . 🙏
Learned something new today...Thanks Naveen
Thank you so much for this valuable content 😍😍😍😍
Naveen, Instaed of using Random concept, We can iterate the list. So that we can cover all links and avoid duplicates as well.
Nice..your contents are very useful Naveen😊
Thanks, Naveen out of the box scenario. can we do chaos testing also with Selenium
Great great video👍
Hi, Naveen. Thanks.
After click, assertion or validation is missing.Without any validation how does it help/ works for testers???
you can always use the broken link logic or null title/url checks in the form of assertion.
Naveen it will just iterate till list size and will not include all the links.
As it will randomly generate the ramdom and driver will hit that url....so iteration will definitely upto list size...
but what if we want to add one more condition to randomly click all the links and without repetition...is this possible?
Thats the purpose of heatmap area on the website. Its not for all the links on the page, its specific to area on the page. If you want to take all the links on the page, you can use tagName("a") and click on links randomly, generate a random number upto total links on the page with a condition that once random number is used, it can not be used one more time.
@@naveenautomationlabs Great thanks :)
As a validation point, we may do some broken link check in this scenario
yes, broken link logic can also be added.
😎cool monkey testing...
Gremlins is new one I found ..but it can integrated with selenium
Thank you
Thanks again , could you please provide these kind of scenarios quite often . 🫶🏽