arfilon/Ratchet

Mohammad Saleem

Automation Engineer
Software Architect
Software Engineer
C#
Test
Visual Studio Code

Ratchet

End to end test For asp.Net in one Process without web-server (Like IIS or Kestrel) or browser (like chrome or IE).

c# Sample

var browser = new Ratchet<WebApplication.Startup>(); await browser.OpenUrl("/home/About"); var Document = await browser.WaitDocumentLoad(); var DocumentText = Document.TextContent; var c = browser.WaitNextConsoleLog(); browser.ExecuteJavaScript("console.log('Hello World');"); TestContext.WriteLine("con: " + await c);
TestContext Output : Hello World
Partner With Mohammad
View Services

More Projects by Mohammad