Web GUI | Unable to click on a web element

Issue:
There are 2 frames on the web page. I used the Switch Frame activity and then used Web Spy to generate the Web Click activity, but it did not work.

How to Reproduce:
To begin, switch the default frame to the first frame.
Then, try to switch to the second frame.
Resolution:
We can't switch frames directly from one to another. First, we need to switch to the default frame. Then we are able to switch to the next frame.