incorrect layout problem

134 views
Skip to first unread message

jagod...@sofomo.eu

unread,
May 24, 2016, 11:04:48 AM5/24/16
to Galen Framework
hello I have a problem with Galen using Java + testNg . When I run 'galen-java-sample-test' (from your repo in github) I have problem : java.lang.RuntimeException: Incorrect layout: Check layout /specs/welcomePage.spec do you know how fix this? I have bad configuration or other problem with environment? ( I run in intelliJ idea). And please tell me what you set run configuration in TestNG in IntelliJ because maybe I choose bad method to configuration

Ivan Shubin

unread,
May 25, 2016, 7:07:51 AM5/25/16
to Galen Framework
Hi, 

Everything is right. That error in layout there was added on purpose so that you can get the idea of how the error reporting looks like :). You can open a generated galen html report (target/galen-html-report/report.html) and see what the error is and you can fix it in welcomePage.spec file.

Kind regards,
Ivan

swapnilnan...@gmail.com

unread,
Mar 10, 2017, 4:16:46 AM3/10/17
to Galen Framework
Hi Ivan,

My script is getting 'java.lang.RuntimeException: Incorrect layout: Check layout /..........', I can understand that there is something wrong with Element locator or the condition on the locator but report should be generated, but in here report is not having passed/failed TC. Please help.

Thanks
Swapnil N
Reply all
Reply to author
Forward
0 new messages