Rest API automation framework using .net – Part 4

preview_player
Показать описание
Hello Everyone,

Thank you for watching my Videos on YouTube. Now I am going to start paid online training sessions for Selenium and API automation Testing from 1 Aug 2019.

Regards
Automation Tech Guru

- To Subscribe my channel cilck :

- To View my channel click on below URL:
-Rest api automation framework using .net – Part IV
-Add rest client to get request and response using restsharp in .net
-Add rest Request and response to call get method
-Calling Request and response method into steps
-How to run Test cases from Feature and Test Explorer?
-Some basic mistakes and solutions when test case not run/not added to test explorer
Рекомендации по теме
Комментарии
Автор

At 23:49 you show the Then condition, I think that the way you wrote it, it will pass even if the statusCode is not Ok, because it will not get inside the if, and it will finish the execution normally. Would it be better if you add a Assert/Verify checking if the status is ok too?

deborahdcarlo
Автор

At minute 20:57, I cannot figure out "Run SpecFlow Scenarios" function into the pop up. Please show me how to visible it? Thank you.

john_taylorr
Автор

Thank you for the detailed explanation.

anilinukonda
Автор

Please clarify as to how we can supply the endpoint. I see the baseUrl but what about the endpoint? You mentioned endpoint will be given but I do not see you provided it anywhere. I am new to this so please help me and advise where to supply the endpoint. Much appreciated.

bluecitrine
Автор

Hi there, quick question I followed exactly the same steps but when I ran it I got this error message" A project with an output Type of Class Library cannot be started directly". Can you please help

BriBriForlivie
Автор

The section does not appear: Run SpecFlow scenarios

awekinglinks
Автор

Severity Code Description Project File Line Suppression State
Error CS0234 The type or namespace name does not exist in the namespace 'NUnit.Framework' (are you missing an assembly reference?) mihir 11 Active

fearless_journey
Автор

I get an error:

System.UriFormatException: 'Invalid URI: The format of the URI could not be determined.'#

When debugging, it seems to be line #20 in RestApiHelper.cs:

return client = new RestClient(url);

MVFRLYFE
visit shbcf.ru