0 references error throwing in VSTS selenium C# programming in Nunit -


using system; using system.collections.generic; using system.linq; using system.text; using nunit.framework; using openqa.selenium; using openqa.selenium.firefox;  namespace fr_sel_supranet {     [testfixture]     public class trtests     {         //error:     when run code displaying 0 references before  [test]         [test]         public void tclogin()         {             string url = "https://kapsupranet01.test.suprakim.com/pages/kwm_203.aspx?member=33";             string loginname = "vs";             string password = "supraqa1!";              iwebdriver webdvr = new firefoxdriver();             webdvr.navigate().gotourl(url);             webdvr.findelement(by.id("txtusername")).sendkeys(loginname);             webdvr.findelement(by.id("txtpassword")).sendkeys(password);             webdvr.findelement(by.id("btnlogin")).click();         }          [test]         public void tcmember()         {         }     } } 

this picture enter image description here

this quote

//error: when run code displaying 0 references before [test]

and fail run code , error "the geckodriver.exe file not exist in current directory or in directory on path environment variable."


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -