Multiple batch files


Author
Message
Mbrantang
Mbrantang
Associate Member (204 reputation)Associate Member (204 reputation)Associate Member (204 reputation)Associate Member (204 reputation)Associate Member (204 reputation)Associate Member (204 reputation)Associate Member (204 reputation)Associate Member (204 reputation)Associate Member (204 reputation)
Group: Forum Members
Posts: 3, Visits: 14
Hi, 
I'm trying top put my study online with a randomized order of my conditions. Currently I'm using multiple batch files one for each condition and selecting manually. I am trying to make a batch file to randomly select one of condition batch files. I read in "howto" that this feature is not available at the moment but will be a future option. Is this still the case? Alternatively do someone know of another option for achieving the same result without starting from scratch. 

Thanks,

Magnus
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K
Mbrantang - 11/16/2019
Hi, 
I'm trying top put my study online with a randomized order of my conditions. Currently I'm using multiple batch files one for each condition and selecting manually. I am trying to make a batch file to randomly select one of condition batch files. I read in "howto" that this feature is not available at the moment but will be a future option. Is this still the case? Alternatively do someone know of another option for achieving the same result without starting from scratch. 

Thanks,

Magnus

You can in fact define multiple conditions in a single batch script like so:

order 1: A -> B
<batch>
/ subjects = (1 of 2)
/ groupassignment = subjectnumber OR groupnumber OR random
/ file = "a.iqx"
/ file = "b.iqx"
</batch>

order 2: B -> A
<batch>
/ subjects = (2 of 2)
/ groupassignment = subjectnumber OR groupnumber OR random
/ file = "b.iqx"
/ file = "a.iqx"
</batch>

Choose the appropriate condition assignment method -- by subject number, by group number, or random -- for your purposes in the /groupassignment attribute.

Mbrantang
Mbrantang
Associate Member (204 reputation)Associate Member (204 reputation)Associate Member (204 reputation)Associate Member (204 reputation)Associate Member (204 reputation)Associate Member (204 reputation)Associate Member (204 reputation)Associate Member (204 reputation)Associate Member (204 reputation)
Group: Forum Members
Posts: 3, Visits: 14
Dave - 11/18/2019
Mbrantang - 11/16/2019
Hi, 
I'm trying top put my study online with a randomized order of my conditions. Currently I'm using multiple batch files one for each condition and selecting manually. I am trying to make a batch file to randomly select one of condition batch files. I read in "howto" that this feature is not available at the moment but will be a future option. Is this still the case? Alternatively do someone know of another option for achieving the same result without starting from scratch. 

Thanks,

Magnus

You can in fact define multiple conditions in a single batch script like so:

order 1: A -> B
<batch>
/ subjects = (1 of 2)
/ groupassignment = subjectnumber OR groupnumber OR random
/ file = "a.iqx"
/ file = "b.iqx"
</batch>

order 2: B -> A
<batch>
/ subjects = (2 of 2)
/ groupassignment = subjectnumber OR groupnumber OR random
/ file = "b.iqx"
/ file = "a.iqx"
</batch>

Choose the appropriate condition assignment method -- by subject number, by group number, or random -- for your purposes in the /groupassignment attribute.
Thanks for the response, Will this select one condition or will it run multiple? I trying to make it run one condition (file) for each time the web test starts and ideally randomly assign said file.  
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K
Mbrantang - 11/24/2019
Dave - 11/18/2019
Mbrantang - 11/16/2019
Hi, 
I'm trying top put my study online with a randomized order of my conditions. Currently I'm using multiple batch files one for each condition and selecting manually. I am trying to make a batch file to randomly select one of condition batch files. I read in "howto" that this feature is not available at the moment but will be a future option. Is this still the case? Alternatively do someone know of another option for achieving the same result without starting from scratch. 

Thanks,

Magnus

You can in fact define multiple conditions in a single batch script like so:

order 1: A -> B
<batch>
/ subjects = (1 of 2)
/ groupassignment = subjectnumber OR groupnumber OR random
/ file = "a.iqx"
/ file = "b.iqx"
</batch>

order 2: B -> A
<batch>
/ subjects = (2 of 2)
/ groupassignment = subjectnumber OR groupnumber OR random
/ file = "b.iqx"
/ file = "a.iqx"
</batch>

Choose the appropriate condition assignment method -- by subject number, by group number, or random -- for your purposes in the /groupassignment attribute.
Thanks for the response, Will this select one condition or will it run multiple? I trying to make it run one condition (file) for each time the web test starts and ideally randomly assign said file.  

It will run one condition.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search