How to detect Modal window without title?

While recording I am entering details in sign-in modal window which has no title hence execution time, tool is not able to identify where to insert login credentials and failed.

I tried to use switchToWindowTitle with blank title but didn’t work.

How to handle such case for automation testing?

Thanks for your answer but its throwing me an error “java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String”

Is there an answer to this? I cannot see it if there is.

Hi there,

We are very sorry for this issue. We’ve notified this and will upload another hotfix as soon as possible to fix the error so that you can work on ‘Modal Window’.

Hi there,

Using ‘Authenticate’ keyword is the best way to handle your scenario. More details of how to use that keyword is available from document’s page: http://docs.katalon.com/display/KD/%5BWebUI%5D+Authenticate

have you tried switchtowindowindex and when you script to new window you can use any verify option is available on the page. I hope these two links can help you

https://docs.katalon.com/display/KD/Using+Web+Service+in+Test+Case

https://docs.katalon.com/display/KD/Handle+Response+Messages