Ask a Question

Performance issue before opening the page into the browser

SOLVED
simonaferrara
Frequent Contributor

Performance issue before opening the page into the browser

Hi all,

 

I've got some performance issues when the UI tests are executed into the release machine, on the initial phase execution: the browser is opened, but then it remains in Playback for lot of seconds (at least 15-20 seconds) before writing the url. Just to explain better:

- Test Execute is started

- The browser is opened (I'm using Edge)

- Test Execute remains with the "Playback" information, and the browser displays the browser home page (about:blank for me)

- after lot of seconds, the url is finally written and the page is opened

 

It appens only if I execute the tests on the release machine, it doesn't appens on my local machine.

 

What could be the reason why Test Execute takes long time to write the url in the browser and it remain in Playback status?

 

Thanks a lot

Simona

 

8 REPLIES 8
Marsha_R
Community Hero

Does this happen on the release machine if you use a different browser?


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
simonaferrara
Frequent Contributor

Hi @Marsha_R , 

 

do you think that it could be an issue coming only with Edge browser?

I've not the possibility to quickly try with another browser, but if you need a test I will do it.

 

Thanks

Simona

 

Could be, but maybe first just check that your browser versions are the same on the machine where it works and where it doesn't.  Since your test runs on other machines, we need to figure out what's different between those and the one where it doesn't work.

 


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
simonaferrara
Frequent Contributor

It is the same version on both machines: Microsoft Edge 87.0.664.75 (64 bit).

 

On the release machine (where there is the performance issue), I'm launching the tests using the "Visual Studio Test" task for Test Plan.

 

 

Can we see the code for starting TestExecute please?


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
simonaferrara
Frequent Contributor

I think Test Execute is automatically launched by the AzureDevOps task, is it not so?

 

I've added the TestComplete test adapter installed, by specifying TestExecute:

simonaferrara_0-1610700035075.pngsimonaferrara_1-1610700053894.png

and then the Visual Studio test task to run the Test Plan:

 

simonaferrara_2-1610700089303.pngsimonaferrara_3-1610700098775.png

 

Is there any other way to get the real code that starts Test Execute, as you asked?

 

Regards,

Simona

 

Hi all, 

 

any suggestion about this topic?

 

Thanks!

Simona

Hi Simona,

 

I would ask Support...

https://support.smartbear.com/testcomplete/message/

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: