{"action":"created","issue":{"url":"https://api.github.com/repos/angular/protractor/issues/978","labels_url":"https://api.github.com/repos/angular/protractor/issues/978/labels{/name}","comments_url":"https://api.github.com/repos/angular/protractor/issues/978/comments","events_url":"https://api.github.com/repos/angular/protractor/issues/978/events","html_url":"https://github.com/angular/protractor/issues/978","id":36536166,"number":978,"title":"Include test data file in protractor","user":{"login":"priyabrat1801","id":7915828,"avatar_url":"https://avatars.githubusercontent.com/u/7915828?v=3","gravatar_id":"","url":"https://api.github.com/users/priyabrat1801","html_url":"https://github.com/priyabrat1801","followers_url":"https://api.github.com/users/priyabrat1801/followers","following_url":"https://api.github.com/users/priyabrat1801/following{/other_user}","gists_url":"https://api.github.com/users/priyabrat1801/gists{/gist_id}","starred_url":"https://api.github.com/users/priyabrat1801/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/priyabrat1801/subscriptions","organizations_url":"https://api.github.com/users/priyabrat1801/orgs","repos_url":"https://api.github.com/users/priyabrat1801/repos","events_url":"https://api.github.com/users/priyabrat1801/events{/privacy}","received_events_url":"https://api.github.com/users/priyabrat1801/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/protractor/labels/type:%20question","name":"type: question","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-06-26T00:55:29Z","updated_at":"2015-02-09T16:02:12Z","closed_at":"2014-06-26T22:35:48Z","body":"Is there a way i can put my test data in a json file and use that file in my specs to get the test data. I need to use a lot of hard coded data which i want to put inside the data file. I know karma has the functionality for unit tests but not sure of using in protractor. Any suggestions."},"comment":{"url":"https://api.github.com/repos/angular/protractor/issues/comments/73534024","html_url":"https://github.com/angular/protractor/issues/978#issuecomment-73534024","issue_url":"https://api.github.com/repos/angular/protractor/issues/978","id":73534024,"user":{"login":"nattimorgan","id":9885368,"avatar_url":"https://avatars.githubusercontent.com/u/9885368?v=3","gravatar_id":"","url":"https://api.github.com/users/nattimorgan","html_url":"https://github.com/nattimorgan","followers_url":"https://api.github.com/users/nattimorgan/followers","following_url":"https://api.github.com/users/nattimorgan/following{/other_user}","gists_url":"https://api.github.com/users/nattimorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/nattimorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nattimorgan/subscriptions","organizations_url":"https://api.github.com/users/nattimorgan/orgs","repos_url":"https://api.github.com/users/nattimorgan/repos","events_url":"https://api.github.com/users/nattimorgan/events{/privacy}","received_events_url":"https://api.github.com/users/nattimorgan/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T16:02:12Z","updated_at":"2015-02-09T16:02:12Z","body":"Thanks Suresh, this helped me out big time man!!!  I am now able to create my data driven tests in Protractor. One day, I hope to contribute something as helpful as this. Thanks."}}