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

Tests not running when scheduled

2 Answers 86 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pravallika
Top achievements
Rank 1
Pravallika asked on 10 Jun 2015, 10:06 AM

Hi,

 I am trying to run a test list in TTS using the below steps:

1.      Logged into a remote machine and launched TTS
2.      Created a schedule with 10 tests to run on Firefox browser and scheduled it for a particular time
3.      When the schedule gets triggered, browser is launched for each test but its closing immediately.
4.      At the end of the schedule (After completion of 10 tests), the below popup appears showing an error and I receive the schedule result report.5.      When I run the tests individually one by one, all are passing.
6.      When I do not schedule a test list but click on ‘Run List’, it works perfectly fine.

 

Kindly provide a solution for this ASAP.

2 Answers, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 15 Jun 2015, 05:55 AM
Hello,

You are working on this internally with Daniel, let's keep the communication in the newsgroup.

Thank you.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Pravallika
Top achievements
Rank 1
answered on 16 Jun 2015, 12:01 PM

Hi Team,

I'm stuck with following issue for scheduling test lists. 

My line of code to call the test at relative path is:

activeTest.ExecuteTest(activeTest.ExecutionContext.DeploymentDirectory +"\\src\\progress\\cs\\pacificconsole\\login\\Login.tstest");
where activeTest is an object created in a constructor of my utility class as below:

public Isv_Utilities(BaseWebAiiTest callingTest)      
{
     activeTest = callingTest;
}

When a test is referencing using relative path, I suppose that the storage device is not able to recognize the relative path since it picks up from the Temp\Projects folder.

Could you please let me know how to reference the same in the coded step of utility class, in order to be recognized by the scheduler?

 

Thanks,

Pravallika.

Tags
General Discussions
Asked by
Pravallika
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Pravallika
Top achievements
Rank 1
Share this question
or