Question #197423 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/197423
Status: Answered => Open
kishore is still having a problem:
Raiman,
I tried the following code by using function to pass the url but i am
getting the following error
Function
def OpenBrowser(url):
print(url)
myApp = App("iexplore")
if not myApp.window(): # no window(0) - Firefox not open
App.open("C:\Program Files\Internet Explorer\iexplore.exe")
wait(8)
myApp.focus()
wait(1)
type("l", KEY_CTRL)
type(url+Key.ENTER)
wait(10)
Note : Url value getting from .xls file
main script : Global.OpenBrowser(url)
Error : type(url+Key.ENTER) TypeError: unsupported operand type(s) for
+: 'NoneType' and 'unicode'
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp