This is a migrated thread and some comments may be shown as answers.

Remote issues with data-driven URL's

4 Answers 63 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Donna
Top achievements
Rank 1
Donna asked on 26 Mar 2015, 03:34 PM
We just recently (last week) set up test runner servers and can successfully execute tests on remote machines. Also, I downloaded the latest Test Studio version (151.3.19.0) to  my work machine to keep it on the same version as the new test runner servers. But I am running into issues with URL's on remote machines. I have over 100 URL's against which to test and manage them via two worksheets in one excel spreadsheet. I am using data binding to easily switch to a different site. I have bound the first sheet values to the Test Studio script (URL, Userid, and password) and store all others in the second worksheet. This has been working successfully when running test lists locally. However, when I run my test lists remotely, they seem to be hard-wired to one URL, and not the one defined in the first sheet of the excel spreadsheet. I have verified that both the local and remote spreadsheets have the identical bind values in the worksheet. So what is it doing?

Could someone please explain what happens when a test list is run remotely? It takes a while to lauch it, and a long time before it actually begins executing on the remote test runner, so is it compiling the list of scripts and data and shipping the package to the remote machine? I've verified that both the local and remote data is the same, so where is the remote machine getting its execution scripts and data binding from--from the local machine, from the remote machine, or the Scheduler? 

The log shows the login script accessing the bind variables. So why is it actually using something else?
Thanks.

4 Answers, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 31 Mar 2015, 10:12 AM
Hello Donna,

Before start digging deeper in your case there is something that is not clear to me from your post:

Do you have MS Office installed on the remote machine?

If you don't then you will need to install in order to execute the test list successfully.

The execution on the remote machine is a bit slower since all the content needs to be copied and compiled on the remote machine, afterwards the execution begins.

Looking forward to hearing from you.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Donna
Top achievements
Rank 1
answered on 02 Apr 2015, 03:04 PM
Hi Ivaylo,
Thanks for responding.  It is the machines WITH MS Office that don't switch URL's when I change the data in the excel spreadsheet--at least I can get the tests to run there, just not on the URLs I specify. For some unexplained reason, all of a sudden they DO switch, but I can't determine what finally makes them check the spreadsheet for the new data values. Based on your explanation and live, local executions, the data values should be grabbed from the spreadsheet every time I kick off a remote test list, right? Or is there a case where it doesn't actually recompile that content, but reuses an already compiled version?

MS Office is NOT installed on two additional remote machines (also virtual machines). A blank IE browser comes up for a few seconds, then fails to load the site URL, hence everything else fails as well. I have now asked for MS Office to be installed on those two. A lack of MS Office may explain that behavior.

Thanks again,
Lisa
(for Donna)

0
Donna
Top achievements
Rank 1
answered on 06 Apr 2015, 02:54 PM

Hi Ivaylo,

MS Office has now been installed on the virtual remote machines, but I am seeing the same behavior--the browser appears but no URL is ever displayed and it fails. Our Excel spreadsheet is in the 'Data' sub-folder where it should be. But my Test Studio suite of tests is located under "My Documents". Should it be located elsewhere? Also, is there something in the data binding that  needs to be specified differently when you are running these tests remotely?

Thanks

Lisa Huber

(for Donna)

0
Ivaylo
Telerik team
answered on 07 Apr 2015, 07:54 AM
Hello Donna,

Please provide me with the failure log and the application log from the execution server. Here is a short video on how you can get the application log from the execution server. Please make sure you clear it first, then execute, so the actual exception is logged.

Now for the data binding. Note that the project and all the necessary files are copied to a temp folder on the execution server from where the test is executed. We need to check whether the excel file is copied on the remote machine. Here is a short video (no audio) demonstrating how the project is copied on the remote location and how to check whether the data is present. I will put a manual step which will pause the test, otherwise the files are deleted from the temp folder after the remote execution.

Looking forward to hearing from you.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Donna
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Donna
Top achievements
Rank 1
Share this question
or