Tests don't start on FireFox

1 Answer 42 Views
Test Execution VS Plugin
Gadi
Top achievements
Rank 1
Gadi asked on 20 Sep 2024, 12:55 PM

Hi,

I use Firefox v. 130.0.1 (64-bit), Test Studio 231.3.29.0, plugin for Firefox is v. 2023.1.703.1. And yesterday I came across a problem: I run tests, but Firefox even not opens. 
In the report I see following: see attachment.

 

In this test I need to download files with original names. As I understood some time ago, I asked here about this (Ticket 1580780), there is no opportunity to download a file with original name using Chrome without extension, it requires to give a new name for the file. So, Firefox was  the only one browser which I could use for this test and now it also doesn't work. 

Can you help?

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 23 Sep 2024, 09:33 AM

Hi Gadi,

Test Studio supports the latest browser versions and this can be expected in the latest product version. Based on your notes you have a Test Studio from over an year ago (March 2023) and use it with the most recent version of Firefox. It's not impossible that such setup isn't working as you expect it. 

What I can confirm, though, is that latest Test Studio version fully supports latest version of Firefox. Let me know if you need assistance on renewing your license. 

And here are few notes about the case with downloading files discussed in the mentioned ticket - there are couple of requirements from Test Studio perspective to ensure flawless automation. One of these is to always ask for the download location of the files to save which requires to have a full file path including the name of the file. These settings are applied as part of the browser calibration whcih is built-in for Edge and Chrome browsers, and manual for Firefox. It seems that this is the sort of workaround you found to not comply with the mentioned requirement and use the browser automatic download feature. However, I have to add that this is a scenario for which we can't guarantee if it completes successfully, 

Our recommendation is to use the browsers fully calibrated - that way you will not be limited to using only Firefox, and adjust the test download to generate the file name dynamically. As my colleague Plamen suggested back then in the mentioned ticket you can use a coded step to tailor up the name of the downloaded files. Here are few topics which can be of further help for setting up the test as recommended: 

  1. Generate current date step and store it into variable. 
  2. Generate random string step or random number step.
  3. Use the generated variables in code.
  4. Use string concatenation in the coded step to join the different variables and create the name of the file to download.  
  5. Once the full file path is set in the code, assign it to a variable and use the variable to data drive the 'Handle download' step (the example test in step 3. shows the end-to-end scenario). 

I hope the provided information is of further help for you. Don't hesitate to follow in case of additional questions. 

Regards,
Elena
Progress Telerik

Virtual Classroom is the free self-paced technical training portal that gets you up to speed with Telerik and Kendo UI products including Telerik Test Studio! Check it out at https://learn.telerik.com/.
Tags
Test Execution VS Plugin
Asked by
Gadi
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or