Error test
|
05-27-2014, 06:10 PM
Post: #1
|
|||
|
|||
Error test
Finally i can start my agent but when i try to start test i have an error.
First i see in process_util.js this line Code: var cmd = system_commands.get('get all', [process.getuid()]).split(/\s+/) getuid doesn't work on windows so i try to replace by process.pid and now i have new error ![]() Any idea ? Thnanks |
|||
05-28-2014, 12:39 AM
Post: #2
|
|||
|
|||
RE: Error test
What command-line are you using? It shouldn't be going down that code path for android testing (maybe it's going down the desktop agent code path).
|
|||
05-28-2014, 12:59 AM
Post: #3
|
|||
|
|||
RE: Error test
Thanks patrick
i think i have a problem with my agent or device, maybe a permission problem ? ![]() |
|||
05-28-2014, 06:44 PM
Post: #4
|
|||
|
|||
RE: Error test
i specify that i've modify wptdriver.bat to pass my own parameters
like this : Code: set AGENT=%~dp0 |
|||
05-29-2014, 06:02 AM
Post: #5
|
|||
|
|||
RE: Error test
Why did you modify the batch file? That's only going to cause you grief down the road. All of the parameters of interest should be able to be passed as command-line options to the batch file.
|
|||
05-30-2014, 05:54 PM
Post: #6
|
|||
|
|||
RE: Error test
I modify to reset the catch file as the begining and i pass parameters now
but i'va the same error D May_30_09:41:50.216 C:\wamp\www\webpagetest_2.14\mobile\src\process_utils.js:2 53 unknown : Exec with timeout(10000): wpr status E May_30_09:41:50.218 C:\wamp\www\webpagetest_2.14\mobile\src\process_utils.js:3 33 ChildProcess.<anonymous> : wpr status failed with exception: spawn ENOENT |
|||
05-30-2014, 07:37 PM
Post: #7
|
|||
|
|||
RE: Error test
I uninstall nodejs and install it again, and now i think it'sz better (i see on my android, chrome kill)
but i have a new error The test failed to run. Unexpected 'su' output: /system/bin/sh: su: not found So i know, it's cause my device is not root. But i have questions, what are features who need that's device is root ? Can i have result test without root my android ? |
|||
05-31-2014, 12:24 AM
Post: #8
|
|||
|
|||
RE: Error test
You need to root the device. Right now the agent is expecting it to be able to clear the profile/cache, enable remote debugging and possibly a few other things. It might be possible to get bits and pieces working without root but it's not something we have focused on.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)