YouWhy Posted January 17, 2019 Share Posted January 17, 2019 I have this very simple robot script to launch notepad.exe and type some text. The Test passes, but it doesnt launch notepad. I am using Windows 10, python 3.7.1 and here are my versions of python packages: Appium-Python-Client==0.31 decorator==4.3.0 docutils==0.14 kitchen==1.2.5 Pillow==5.4.1 pywin32==224 robotframework==3.0.4 robotframework-appiumlibrary==1.5.0.1 robotframework-autoitlibrary==1.2.2 robotframework-seleniumlibrary==3.2.0 selenium==3.141.0 six==1.11.0 urllib3==1.24.1 My robot scripts reads like this: *** Settings *** Library AutoItLibrary *** Test Cases *** AutoIT Notepad Test Run notepad.exe Wait For Active Window Untitled - Notepad Send This is some text Troubleshooting Done so far: 1. I removed the Run notepad.exe step, launch notepad manually, then this script works. 2. I give absolute path Run C:\\Windows\\notepad.exe, still the test passes, but NotePad doesnt show up. 3. I gave an invalid app name Run C:\\Windows\\note.exe. The test fails as expected. 4. I launched the Scite.exe app from Run C:\\Program...........\Scite.exe. This passes. The Scite editor is launched. Dont know what is going on here. I am very confused. Please help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now