Child Process Error: Empty results, most likely test (SeleniumExecutor) failed.

103 views
Skip to first unread message

maklakova...@gmail.com

unread,
May 4, 2017, 8:53:29 AM5/4/17
to codename-taurus, Dmytro Kiro
Hi all,

I get "Child Process Error: Empty results, most likely test (SeleniumExecutor) failed." error message when running Taurus test with Selenium. 

I created quick Selenium test to make sure I can load test more complex scenarios later.
First thing, I had to put everything in one class because when I use page object model and call page classes in my test class, Taurus can find path to them.  
 
So I decided to go with only one class for now. When running the test I get error message "Child Process Error: Empty results, most likely test (SeleniumExecutor) failed.". Taurus UI would open for a second but browser would never open at all, then process shuts down.
C:\Users\kmaklakova\IdeaProjects\TaurusDemo>  bzt C:\Users\kmaklakova\IdeaProjects\TaurusDemo\src\test\taurus\seleniumTest.yml
08:30:09 INFO: Taurus CLI Tool v1.9.1
08:30:09 INFO: Starting with configs: ['C:\\Users\\kmaklakova\\IdeaProjects\\TaurusDemo\\src\\test\\taurus\\seleniumTest.yml']
08:30:09 INFO: No personal config: C:\Users\kmaklakova\.bzt-rc
08:30:09 INFO: Configuring...
08:30:09 INFO: Artifacts dir: C:\Users\kmaklakova\IdeaProjects\TaurusDemo\2017-05-04_08-30-09.522000
08:30:09 INFO: Preparing...
08:30:11 INFO: Compiling .java files completed
08:30:12 INFO: Making .jar file completed
08:30:12 INFO: Starting...
08:30:12 INFO: Waiting for results...
08:30:12 INFO: Did not mute console logging
08:30:12 INFO: Waiting for finish...
08:30:13 WARNING: Please wait for graceful shutdown...
08:30:13 INFO: Shutting down...
08:30:13 INFO: Post-processing...
08:30:13 INFO: Test duration: 0:00:01
08:30:13 ERROR: Child Process Error: Empty results, most likely test (SeleniumExecutor) failed. Actual reason for this can be found in logs under C:\Users\kmaklakova\IdeaProjects\TaurusDemo\2017-05-04_08-30-09.522000
08:30:13 INFO: Artifacts dir: C:\Users\kmaklakova\IdeaProjects\TaurusDemo\2017-05-04_08-30-09.522000
08:30:13 WARNING: Done performing with code: 1

In this case I also use Selenide, which is Selenium wrapper but I also tried with Selenium only and got the same error message.
Here are my test class, yml file and log file. 







Dmitri Pribysh

unread,
May 4, 2017, 9:03:16 AM5/4/17
to maklakova...@gmail.com, codename-taurus, Dmytro Kiro

Hi,

Please, post a '.err' and '.out' files from the artifacts dir here. This should give us some info about the crash.


  Dmitri

--
You received this message because you are subscribed to the Google Groups "codename-taurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/de8438d1-168b-417e-a819-6a7fae0cdbf0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

maklakova...@gmail.com

unread,
May 4, 2017, 9:24:52 AM5/4/17
to codename-taurus, maklakova...@gmail.com, dimaki...@gmail.com

maklakova...@gmail.com

unread,
May 9, 2017, 2:18:06 PM5/9/17
to codename-taurus, maklakova...@gmail.com, dimaki...@gmail.com
Were you guys able to find the reason of crash? 


On Thursday, May 4, 2017 at 9:03:16 AM UTC-4, Dmitri Pribysh wrote:

ta...@blazemeter.com

unread,
May 10, 2017, 5:16:09 AM5/10/17
to codename-taurus, maklakova...@gmail.com, dimaki...@gmail.com
Hi.
I don't see any crash. But also I can't see any tests in your java script. What case do you want to test with it?

---
Taras

maklakova...@gmail.com

unread,
May 10, 2017, 9:22:07 AM5/10/17
to codename-taurus, maklakova...@gmail.com, dimaki...@gmail.com
There is one test in file, look at test class in the first post. 
@Test(priority = 1)
    void LoginAdmin2() {

        open("https://enterprise-demo.orangehrmlive.com/auth/login");
        login("Admin", "admin");
        Assert.assertEquals(getUserManagementText(), "User Management");
        System.out.println("Logged in successfully");
    }
This is really just a demo test of dummy site for testing, I created it to make sure that I can use Selenium tests with Taurus. And I usually use page object model but I had to put everythinh in one class because Taurus can't find imports if i divide pages and tests. 

Were you able to run Selenium test with Taurus at all?

ta...@blazemeter.com

unread,
May 11, 2017, 1:31:19 AM5/11/17
to codename-taurus, maklakova...@gmail.com, dimaki...@gmail.com
Hi.
Yes, you're right, I've missed that annotation. 
I can recommend you the follow steps:
1. fix indentation in yaml file ('modules' part)
2. remove selenide from yaml and java.
3. try to run taurus and give us packed artifacts dir
4. would be nice if you could run java file with pure selenium (without taurus)

---
Taras

maklakova...@gmail.com

unread,
May 15, 2017, 4:40:44 PM5/15/17
to codename-taurus, maklakova...@gmail.com, dimaki...@gmail.com
Hi, I removed every single import of Selenide and now everything is working. Thank you.

Karina
Reply all
Reply to author
Forward
0 new messages