? QA Design Gurus: Telerik Test Studio Tip: Be cautious while dealing with pop-ups

Jul 21, 2015

Telerik Test Studio Tip: Be cautious while dealing with pop-ups

Handing pop-ups is one more crucial part in test case  where we generally encounter synchronization problem due to lack of focus when pop-ups are loading. In general, we have a default mindset that the pop-ups will be loaded when we perform respective actions such as  after clicking on Delete button, Delete confirmation pop-up box will be loaded. This is not always true because pop-up loading is purely depend on how developers are handling pop-ups. They may have loaded initially while page loading, but made it visible based on respective actions. In such cases, if we write verification or wait for exists statement on elements of pop-up those will be always success even pop-up is not popped-up because pop-up was already loaded on page loading itself. We can write verification or wait for visibility instead of wait for exists on those cases, but if pop-up was not loaded initially then it may have a chance to fail because if we are writing wait for visibility then Telerik Test Studio assumes that DOM is already loaded successfully. The best practice always I recommend is when there are any pop-ups in the page, keep in mind when they are loading and chose the test steps accordingly.

No comments:

Post a Comment