Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

How to pass Environment based parameters in jasmine framework #191

Open
prakashomp opened this issue Jul 2, 2014 · 1 comment
Open

How to pass Environment based parameters in jasmine framework #191

prakashomp opened this issue Jul 2, 2014 · 1 comment

Comments

@prakashomp
Copy link

Hi,

I want to pass the arguments to the browser in jasmine frame work configuration file.
like " multiCapabilities: [{
'browserName': 'chrome',
maxInstances: 1,
name:'chrome',
'args': ['user=user1']
}, {
'browserName': 'firefox',
shardTestFiles: true,
maxInstances: 1,
name:'firefox',
'args': ['user=user2']

}
],
and also read in the test file how to read and use according to the browser.

@prakashomp
Copy link
Author

now i can able to get the browser name.
but i can't get the name which is assigned by user
as bellow
multiCapabilities: [{
'browserName': 'chrome',
'name': 'Protractor suite tests',
shardTestFiles: false,
maxInstances: 1

}, {
'browserName': 'firefox',
shardTestFiles: false,
maxInstances: 1,
'name': 'UI Tests2'
}
],

I want to retrieve the name of the instance .
How to get the name of the instance

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant