I can not select new window after clicking on lookup icon
*** Settings ***
Suite Setup Run Keywords Test_Setup AND Salesorce_Auth
*** Test Cases ***
Create_Contact
Click Element //*[@id="Contact_Tab"]/a
Click Button //input[contains(@name,'new')]
Sleep 5s
Click Element //img[@alt='Account Name Lookup (New Window)']
sleep 15s
Select Window title=Search ~ Salesforce - Developer Edition
Sleep 5s
Select Frame //frame[@id="searchFrame"]
Getting the following error:
NoSuchWindowException: Message: no such window
Is a better way to input text on lookup window or perform lookup search using Robot Framework?
Also looks like "get window titles" does not return titles of the browser windows after i click on the lookup icon. (But it displays one item prior to clicking on the lookup icon)