I am new to Moly and trying to do some simple tests.
When I record a simple test and replay it, a page that is launched from a click command is not recorded as loaded by Moly. I added a 'waitForPageToLoad' command following the 'click' command and a 'Pause' command (both time out). I can see that the page has loaded in my browser when running the test. The next commands reference elements on the requested page and fail with 'Not Found'. Why does Moly think the page has not loaded even though I can see that it has.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am new to Moly and trying to do some simple tests.
When I record a simple test and replay it, a page that is launched from a click command is not recorded as loaded by Moly. I added a 'waitForPageToLoad' command following the 'click' command and a 'Pause' command (both time out). I can see that the page has loaded in my browser when running the test. The next commands reference elements on the requested page and fail with 'Not Found'. Why does Moly think the page has not loaded even though I can see that it has.
I was able to get around this by reading this resolved issue MOLYB-119.
I added to three commands to my test.
Pause(10000) to wait for page to finish loading
RegisterFocusedBrowserWindow(key)
SelectWindow(key)