Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 21061

TestedApps object properties

$
0
0

I am trying to create Tested app runrime, i am trying to cover below scenario..

 

If MyTestedApp Exist in project -> update properties

If MyTestedApp not Exist in project -> Create My Tested App with specific properties.

 

Here i am trying to create my tested app with below specified properties but failed to create it with specifies properties..

 

Requirement:

Name= Mytestedapp

Runmode = simple
Count = 1
autorun application on recording = false
launch application from tests = false
application: ..\..\..\..\Applications\InDMSApp_QA\bin\start_dms.bat
command-line parameters:
working folder: E:\AutomationDir

 

Actually created with below properties:

Name= Mytestedapp
Runmode = simple
Count = 1
autorun application on recording = false
launch application from tests = false
application:
command-line parameters: ..\..\..\..\Applications\InDMSApp_QA\bin\start_dms.bat
working folder: 

 

Below is the code i used:

sAutoAppPath = "E:\AutomationDir\start_dms.bat"

ind = TestedApps.Add(sAppName, Application = sAutoAppPath , count = 1, launch = True, WorkDir = "E:\AutomationDir ")

 

Can anyone please suggest how to update application parameter(highlighted below) through code ?

 

Untitled1.jpg


Viewing all articles
Browse latest Browse all 21061

Trending Articles