Lukan Pom uklid VSCode
This commit is contained in:
parent
8c14e872ab
commit
187d46c64c
@ -53,10 +53,17 @@ namespace LukanPOM.PageObjects
|
|||||||
Assert.AreEqual(expectedTitle, actualTitle);
|
Assert.AreEqual(expectedTitle, actualTitle);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
public HomePage Screnshot()
|
||||||
|
{
|
||||||
|
string fileName = "example_" + DateTime.Now.ToString("yyyyMMdd_HHmmss") + ".png";
|
||||||
|
Screenshot screenshot = ((ITakesScreenshot)driver).GetScreenshot();
|
||||||
|
screenshot.SaveAsFile(@"C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\LukanNUnitProject\LukanNUnitProject\Foto\" + fileName, ScreenshotImageFormat.Png);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
public HomePage TestProsel()
|
public HomePage TestProsel()
|
||||||
{
|
{
|
||||||
Console.Write("Test prošel");
|
Console.WriteLine("Test prošel");
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
@echo off
|
@echo off
|
||||||
dotnet test
|
dotnet test
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
2038838343
|
953933157
|
@ -1 +1 @@
|
|||||||
522f0d163e35eed9582db35738b4b15520a680ec
|
92923a155e21ca4813613c0fdb76c81efc35edc7
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user