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.

9
  • 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
    Commented Dec 29, 2019 at 10:46
  • Step definition is the protractor code
    – PDHide
    Commented Dec 29, 2019 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
    Commented Dec 29, 2019 at 12:01
  • have you took tfs data before in any other tools ?
    – PDHide
    Commented Dec 29, 2019 at 12:12
  • Yes, Coded UI was using Team foundation Server to fetch automation test case data.
    – Saur100
    Commented Dec 29, 2019 at 13:24

1 Answer 1

1

TSF exposes HTTP endpoints from which you can fetch data.

You can find examples here and here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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