{"id":15782164,"url":"https://github.com/miyabis/seleniumtestassist","last_synced_at":"2026-05-06T04:03:40.102Z","repository":{"id":146157010,"uuid":"45328824","full_name":"miyabis/SeleniumTestAssist","owner":"miyabis","description":"assist automatic test using Selenium","archived":false,"fork":false,"pushed_at":"2015-12-19T18:24:02.000Z","size":705,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T14:22:08.770Z","etag":null,"topics":["c-sharp","nuget","selenium","vb"],"latest_commit_sha":null,"homepage":"http://miyabis.github.io/SeleniumTestAssist/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"ms-pl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miyabis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-01T05:01:57.000Z","updated_at":"2017-08-11T01:47:43.000Z","dependencies_parsed_at":"2023-03-30T09:35:23.105Z","dependency_job_id":null,"html_url":"https://github.com/miyabis/SeleniumTestAssist","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/miyabis/SeleniumTestAssist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyabis%2FSeleniumTestAssist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyabis%2FSeleniumTestAssist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyabis%2FSeleniumTestAssist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyabis%2FSeleniumTestAssist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miyabis","download_url":"https://codeload.github.com/miyabis/SeleniumTestAssist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyabis%2FSeleniumTestAssist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32677933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-sharp","nuget","selenium","vb"],"created_at":"2024-10-04T19:04:06.181Z","updated_at":"2026-05-06T04:03:40.082Z","avatar_url":"https://github.com/miyabis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SeleniumTestAssist\n\n[![Build status](https://ci.appveyor.com/api/projects/status/kew6mx25v90xylxc?svg=true)](https://ci.appveyor.com/project/miyabis/seleniumtestassist)\n[![NuGet](https://img.shields.io/nuget/v/MiYABiS.SeleniumTestAssist.svg)](https://www.nuget.org/packages/MiYABiS.SeleniumTestAssist/)\n\nIt is a wrapper library to use Selenium in MSTest.  \nPreparing such as Selenium is a little easier.  \nThe screenshot will be output to the result of MSTest when you use the method that was prepared.  \nGet a screen shot that is output as Excel.  \n\n\nHow to get\n==========\n\nURL:https://www.nuget.org/packages/MiYABiS.SeleniumTestAssist/\n```\nPM\u003e Install-Package MiYABiS.SeleniumTestAssist\n```\n\nClass creation template\n=======================\nPlease add the extension of the following If you use a template.\n\n* VS2012 Or later : [Moca.NET Templates](https://visualstudiogallery.msdn.microsoft.com/7735e52f-74f2-4ac7-8172-11cde77e6290)\n* VS2010 : [Moca.NET Templates 2010](https://visualstudiogallery.msdn.microsoft.com/f97a7486-560b-425a-aa05-528dd397f5ba)\n\n\nTest in IE\n=======\n\nWhen testing in IE requires drivers.  \nPlease search for , such as \" iedriver \" in NuGet.\n\n\nTest in Chrome\n=======\n\nThe same is true when you want to test in Chrome.  \nPlease search for , such as \" chromedriver \" in NuGet.\n\nProgramming\n=======\n\nPlease be inherited by the test class \"AbstractSeleniumTest\" class.  \n\n```vb\n\u003cTestClass()\u003e\nPublic Class UnitTest1\n    Inherits AbstractSeleniumTest\n\nEnd Class\n```\n\nIn the method of initialization and termination of the attributes of the test , you run the following methods.\nIt is already mounted if you use the \" Selenium test class \" of the template.\n\n* ClassInitialize : SeleniumInitialize\n* ClassCleanup : SeleniumCleanup\n* TestInitialize : Selenium Browser Initialize methods\n* TestCleanup : base.TestCleanup\n\n```vb\n    \u003cClassInitialize()\u003e\n    Public Shared Sub ClassInitialize(ByVal testContext As TestContext)\n        SeleniumInitialize(\"http://localhost:8080/\")\n    End Sub\n\n    \u003cClassCleanup()\u003e\n    Public Shared Sub ClassCleanup()\n        SeleniumCleanup()\n    End Sub\n\n   \u003cTestInitialize()\u003e\n    Public Overrides Sub TestInitialize()\n        MyBase.TestInitialize()\n    End Sub\n\n    \u003cTestCleanup()\u003e\n    Public Overrides Sub TestCleanup()\n        MyBase.TestCleanup()\n    End Sub\n```\n\nPreparation method of Selenium is as follows .  \nIt runs at initialization method or in each test gave a TestInitialize attribute .\n\n**Initialization of when running in local**\n\n* IEInitialize\n* EdgeInitialize\n* FirefoxInitialize\n* ChromeInitialize\n\n```vb\n    \u003cTestMethod()\u003e\n    Public Sub TestMethod1()\n        IEInitialize()\n\n        Open(\"Default.aspx\", 1000, 1000)\n\n        ...\n\n    End Sub\n```\n\n**Initialization of when running in SeleniumRC**\n\n* IERemoteInitialize\n* EdgeRemoteInitialize\n* FirefoxRemoteInitialize\n* ChromeRemoteInitialize\n\n```vb\n    \u003cTestMethod()\u003e\n    Public Sub TestMethod1()\n        IERemoteInitialize(\"http://grid.selenium.server:4444/wd/hub\")\n\n        Open(\"Default.aspx\", 1000, 1000)\n\n        ...\n\n    End Sub\n```\n\n[Sample Code](https://github.com/miyabis/SeleniumTestAssist/blob/master/WebAppSeleniumTest/UnitTest1.vb)\n\nScreenshot\n=======\nThe screenshot will be output to the result of MSTest when you use the method that was prepared .  \nGet a screen shot that is output as Excel.  \nTo Excel output , please run the base.TestCleanup and SeleniumCleanup.  \nExcel output uses a [EPPlus](http://epplus.codeplex.com).\n\n```vb\nMe.getScreenshot(\"add filename suffix\")\n```\n\n[Sample Code](https://github.com/miyabis/SeleniumTestAssist/blob/master/WebAppSeleniumTest/UnitTest1.vb) \n[Sample Excel](https://github.com/miyabis/SeleniumTestAssist/blob/master/WebAppSeleniumTest/UnitTest1.xlsx)\n\n\n\nLaunch the IISExpress\n=======\nPlease use the \" IISExpressManager \" class to also start IISExpress in the test.\n\n```vb\n    \u003cClassInitialize()\u003e\n    Public Shared Sub ClassInitialize(ByVal testContext As TestContext)\n        IISExpressManager.ProjectName = \"WebApp\"\n        IISExpressManager.Port = \"8080\"\n        IISExpressManager.Start()\n\n        SeleniumInitialize(\"http://localhost:8080/\")\n    End Sub\n\n    \u003cClassCleanup()\u003e\n    Public Shared Sub ClassCleanup()\n        Try\n            SeleniumCleanup()\n        Finally\n            IISExpressManager.Stop()\n        End Try\n    End Sub\n```\n\nLicense\n=======\n\nMicrosoft Public License (MS-PL)\n\nhttp://opensource.org/licenses/MS-PL\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyabis%2Fseleniumtestassist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiyabis%2Fseleniumtestassist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyabis%2Fseleniumtestassist/lists"}