Chrome browser really slow (Start from jenkins, RELH machine using xvfb display)

261 views
Skip to first unread message

Drumaster

unread,
Mar 14, 2017, 3:25:48 PM3/14/17
to robotframework-users
Hi all,

I'm facing problem with my chrome browser.
I have start my test suite from jenkins running in Firefox duration is 45 mins. But when i start the same suite under Chrome its takes 10 hours.
Could somebody help me with this problem
Thanks in advance 

Tatu Aalto

unread,
Mar 15, 2017, 3:08:37 AM3/15/17
to carlo...@gmail.com, robotframework-users
Ugh

The Selenium2Library CI runs acceptance test by using xvfb and chrome. Those tests execution time is about the same as in my PC and therefore there is a good chance to get it working. But have you investigated what actually consumes the extra time in the test?

-Tatu
Send from my mobile

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Drumaster

unread,
Mar 15, 2017, 5:07:13 PM3/15/17
to robotframework-users, carlo...@gmail.com

What is saw in the report that takes 7 mins for clicking on element under chrome, under firefox its 5s same keyword, same id.
Use the keyword Click element  "id=login"

Op woensdag 15 maart 2017 08:08:37 UTC+1 schreef Tatu Aalto:
Ugh

The Selenium2Library CI runs acceptance test by using xvfb and chrome. Those tests execution time is about the same as in my PC and therefore there is a good chance to get it working. But have you investigated what actually consumes the extra time in the test?

-Tatu
Send from my mobile
On Mar 14, 2017 21:25, "Drumaster" <carlo...@gmail.com> wrote:
Hi all,

I'm facing problem with my chrome browser.
I have start my test suite from jenkins running in Firefox duration is 45 mins. But when i start the same suite under Chrome its takes 10 hours.
Could somebody help me with this problem
Thanks in advance 

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.

Tatu Aalto

unread,
Mar 17, 2017, 2:11:49 AM3/17/17
to carlo...@gmail.com, robotframework-users
Ugh

I recall that once I did have a problem xvfb. It takes some time for xvfb to start the virtual display and therefore there was problems with the browser. I did resolved the problem by sleep few seconds after starting the xvfb.

-Tatu
Send from my mobile
On Mar 15, 2017 23:07, "Drumaster" <carlo...@gmail.com> wrote:

What is saw in the report that takes 7 mins for clicking on element under chrome, under firefox its 5s same keyword, same id.
Use the keyword Click element  "id=login"

Op woensdag 15 maart 2017 08:08:37 UTC+1 schreef Tatu Aalto:
Ugh

The Selenium2Library CI runs acceptance test by using xvfb and chrome. Those tests execution time is about the same as in my PC and therefore there is a good chance to get it working. But have you investigated what actually consumes the extra time in the test?

-Tatu
Send from my mobile
On Mar 14, 2017 21:25, "Drumaster" <carlo...@gmail.com> wrote:
Hi all,

I'm facing problem with my chrome browser.
I have start my test suite from jenkins running in Firefox duration is 45 mins. But when i start the same suite under Chrome its takes 10 hours.
Could somebody help me with this problem
Thanks in advance 

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsubscrib...@googlegroups.com.

To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.

Drumaster

unread,
Mar 17, 2017, 7:58:24 AM3/17/17
to robotframework-users, carlo...@gmail.com
Did you use the  XvfbRobot library so that you could at sleep before the script start ?
Because i'm using the xvfb plugin of Jenkins not sure where to add the sleep

Op vrijdag 17 maart 2017 07:11:49 UTC+1 schreef Tatu Aalto:
Ugh

I recall that once I did have a problem xvfb. It takes some time for xvfb to start the virtual display and therefore there was problems with the browser. I did resolved the problem by sleep few seconds after starting the xvfb.

-Tatu
Send from my mobile
On Mar 15, 2017 23:07, "Drumaster" <carlo...@gmail.com> wrote:

What is saw in the report that takes 7 mins for clicking on element under chrome, under firefox its 5s same keyword, same id.
Use the keyword Click element  "id=login"

Op woensdag 15 maart 2017 08:08:37 UTC+1 schreef Tatu Aalto:
Ugh

The Selenium2Library CI runs acceptance test by using xvfb and chrome. Those tests execution time is about the same as in my PC and therefore there is a good chance to get it working. But have you investigated what actually consumes the extra time in the test?

-Tatu
Send from my mobile
On Mar 14, 2017 21:25, "Drumaster" <carlo...@gmail.com> wrote:
Hi all,

I'm facing problem with my chrome browser.
I have start my test suite from jenkins running in Firefox duration is 45 mins. But when i start the same suite under Chrome its takes 10 hours.
Could somebody help me with this problem
Thanks in advance 

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.

Tatu Aalto

unread,
Mar 17, 2017, 11:45:41 AM3/17/17
to carlo...@gmail.com, robotframework-users
Ugh

I did have a script which did setup automatically. After the script and before the test startup, I did small sleep to ensure xvfb had started properly. I guess you could but the sleep before you run the test with Jenkins.


-Tatu
Send from my mobile
On Mar 17, 2017 13:58, "Drumaster" <carlo...@gmail.com> wrote:
Did you use the  XvfbRobot library so that you could at sleep before the script start ?
Because i'm using the xvfb plugin of Jenkins not sure where to add the sleep

Op vrijdag 17 maart 2017 07:11:49 UTC+1 schreef Tatu Aalto:
Ugh

I recall that once I did have a problem xvfb. It takes some time for xvfb to start the virtual display and therefore there was problems with the browser. I did resolved the problem by sleep few seconds after starting the xvfb.

-Tatu
Send from my mobile
On Mar 15, 2017 23:07, "Drumaster" <carlo...@gmail.com> wrote:

What is saw in the report that takes 7 mins for clicking on element under chrome, under firefox its 5s same keyword, same id.
Use the keyword Click element  "id=login"

Op woensdag 15 maart 2017 08:08:37 UTC+1 schreef Tatu Aalto:
Ugh

The Selenium2Library CI runs acceptance test by using xvfb and chrome. Those tests execution time is about the same as in my PC and therefore there is a good chance to get it working. But have you investigated what actually consumes the extra time in the test?

-Tatu
Send from my mobile
On Mar 14, 2017 21:25, "Drumaster" <carlo...@gmail.com> wrote:
Hi all,

I'm facing problem with my chrome browser.
I have start my test suite from jenkins running in Firefox duration is 45 mins. But when i start the same suite under Chrome its takes 10 hours.
Could somebody help me with this problem
Thanks in advance 

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsubscrib...@googlegroups.com.

To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsubscrib...@googlegroups.com.

To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.

Tatu Aalto

unread,
Apr 10, 2017, 2:51:48 PM4/10/17
to Carlo Belfor, robotframework-users
Ugh

I don't have any good ideas how to solve your problem. I hope someone else in the user group is able to help you.


-Tatu
Send from my mobile

On Apr 10, 2017 16:35, "Carlo Belfor" <carlo...@gmail.com> wrote:

sorry for my late response had training

But also try with sleep before the virtual display start but still slow in chrome take 2 mins for clicking on element

 

Output.xml{

<kw name="Click Element" library="Selenium2Library">

<doc>Click element identified by `locator`.</doc>

<arguments>

<arg>id=carPolicybtn</arg>

</arguments>

<msg timestamp="20170410 12:34:04.607" level="INFO">Clicking element 'id=carPolicybtn'.</msg>

<status status="PASS" endtime="20170410 12:36:12.200" starttime="20170410 12:34:04.606"></status>

</kw>

}

 

 

Verzonden vanuit Mail voor Windows 10

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages