G-wagon
6 years agoRegular Contributor
TestComplete 14 -Unable to Enter Username & Password
I created a simplet keyword test which launches a webpage in chrome and enters username & password. The keyword test passed confirming the keyboard input was successful however the text field for username and password in the browser was all blank.
When the test runs, I do not see the username and password being entered on screen. I have used 'Key' operations to enter the text.
Any suggestions as to what could be possible wrong here ?
hmmm
If You want to work with Project Script files You need to use an absolute path.
You can get path to You to project with this method: aqFileSystem.GetCurrentFolder();
let pathToFile = aqFileSystem.GetCurrentFolder(); let writeToFile = aqFile.WriteToTextFile( pathToFile + "\\script\\" + fileName + ".js", str, aqFile.ctUTF8, true );