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

Cannot execute testlist in IE using Artoftest.Runner

3 Answers 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Madhusmita
Top achievements
Rank 1
Madhusmita asked on 19 Oct 2016, 09:54 AM
Query 1:
From the IDE I have set the default browser to be IE for the testlist. Then through a bat file I execute the test list. It opens a blank IE screen and then nothing happens. The same test runs successfully using Chrome. So Wanted to know what is missing in case of IE browser when trying to execute using ArtofTest.Runner. Following is the snapshot of the bat file I use.

 

Query 2:

I have multiple test lists (segregated based on the functionality of the software.) How can I execute all the testlists under the TestList folder using ArtofTestRunner?

IF EXIST "C:\Program Files (x86)\Telerik\Test Studio\Bin" goto :a
echo not found
pause
exit
:a
setlocal
path=C:\Program Files (x86)\Telerik\Test Studio\Bin;%path%
call ArtOfTest.Runner.exe list="C:\TFS\TestWare\Branches\10.1\Automated testing\Level7FO\TestLists\%%I"

 

 

3 Answers, 1 is accepted

Sort by
0
Madhusmita
Top achievements
Rank 1
answered on 19 Oct 2016, 09:56 AM

The Bat file I'm using

IF EXIST "C:\Program Files (x86)\Telerik\Test Studio\Bin" goto :a
echo not found
pause
exit
:a
setlocal
path=C:\Program Files (x86)\Telerik\Test Studio\Bin;%path%
call ArtOfTest.Runner.exe list="C:\TFS\TestWare\Branches\10.1\Automated testing\Level7FO\TestLists\test.aiilist"

0
Madhusmita
Top achievements
Rank 1
answered on 19 Oct 2016, 09:56 AM

The bat file I'm using

IF EXIST "C:\Program Files (x86)\Telerik\Test Studio\Bin" goto :a
echo not found
pause
exit
:a
setlocal
path=C:\Program Files (x86)\Telerik\Test Studio\Bin;%path%
call ArtOfTest.Runner.exe list="C:\TFS\TestWare\Branches\10.1\Automated testing\Level7FO\TestLists\test.aiilist"

0
Elena
Telerik team
answered on 24 Oct 2016, 06:54 AM
Hi Madhusmita,

Have you tried to run the command prompt with admin privilege and then call the ArtOfTest.Runner and run the test list in IE? Since the test list could be executed in Chrome there might be some security settings applied to IE that prevent the ArtOfTest.Runner to execute in IE. 

Regards,
Elena Tsvetkova
Telerik by Progress
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Madhusmita
Top achievements
Rank 1
Answers by
Madhusmita
Top achievements
Rank 1
Elena
Telerik team
Share this question
or