0

I am using Visual Studio Code, Protractor, Typescript and Jasmine to build test cases fro Angular website. I need to pick test data from Team Foundation server(TFS) only. It was possible in Coded UI with Visual studio. Just wondering if its possible in case of Protractor as well.

  • Hi how are you accessing tfs data , as from cucumber data driven is achieved through scenario outline which doesn't support external files . But in step definition you can implement any logic. – PDHide Dec 29 '19 at 10:46
  • Step definition is the protractor code – PDHide Dec 29 '19 at 11:09
  • Hi, I am unable to access data from TFS using Protractor as of now and finding a way to do that. You are right from Step definition I can access the data from scenarios outline, however wondering if test data can be fetched from TFS (since TFS contains my automation test cases data) using Jasmine/Protractor. Any thoughts? – Saur100 Dec 29 '19 at 12:01
  • have you took tfs data before in any other tools ? – PDHide Dec 29 '19 at 12:12
  • Yes, Coded UI was using Team foundation Server to fetch automation test case data. – Saur100 Dec 29 '19 at 13:24
1

TSF exposes HTTP endpoints from which you can fetch data.

You can find examples here and here.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.