← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #238036]: How to test the application in Google chrome

 

Question #238036 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/238036

shalini posted a new comment:
Hi Raiman
when i typed 
type("C:\Program Files\Mozilla Firefox\firefox.exe",KeyModifier.CTRL)
paste("http://10.74.28.53:8084/CustomerPortal/Home.jsp";)

sikuli gives error on line 1:
An error occurs at line 1
[error] Error message: Traceback (most recent call last):
 File "C:\Users\shalini_tiwari01\AppData\Local\Temp\sikuli-tmp2965878224352622627.py", line 1, in 
 type("C:\Program Files\Mozilla Firefox\firefox.exe", KeyModifier.CTRL)
 at org.sikuli.script.Key.toJavaKeyCode(Key.java:284) 
at org.sikuli.script.DesktopRobot.typeChar(DesktopRobot.java:118) 
at org.sikuli.script.Region.type(Region.java:810) 
at org.sikuli.script.Region.type(Region.java:794) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Cannot convert character 


kinldly solve my problem.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.