Getting error message "Lineage Glue Rule" while running the test scripts

Ask general questions here.
premravi
Posts: 78
Joined: Tue Jan 08, 2019 1:55 pm

Getting error message "Lineage Glue Rule" while running the test scripts

Post by premravi » Fri May 24, 2019 2:21 pm

Hi,

I am getting an error "Lineage Glue Rule" on WinForms

Because of this issue my test suite is not running properly

It will successfully execute first test case and then it will fail from second test case on the login screen itself

The issue is reproducible every time

I am currently working on Ranorex 9.0.1

Please let me know for more info

Please help me with the solution of this issue

Regards

User avatar
Support Team
Site Admin
Site Admin
Posts: 11963
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Getting error message "Lineage Glue Rule" while running the test scripts

Post by Support Team » Mon May 27, 2019 8:59 am

Hello premravi,

Thank you for your post.
It will successfully execute first test case and then it will fail from second test case on the login screen itself
It seems like your application under test is restarted during the test run. Please ensure the app gets properly closed. Also, add a Delay() after starting the application. The duration should match the duration of the startup of your application.

Sincerely,
Robert
.
Image

premravi
Posts: 78
Joined: Tue Jan 08, 2019 1:55 pm

Re: Getting error message "Lineage Glue Rule" while running the test scripts

Post by premravi » Wed May 29, 2019 12:57 pm

Hi,

Thanks for the resolution,

That's correct the browser was not closing successfully because I was using "ALT+F4" shortcut key to close the browser

Now I am handling it using Host.Current.CLoseApplication(repo.self, duration());

And it is working fine so far

Regards
Ravindra