c# - Setting textbox innertext of an externally loaded webpage using AgilityPack -


i trying write code automatically fills in textbox inside of external webpage. write code below inside of buttonclick event , want is, load external webpage , fill existing textbox text. however, couldn't working. doesn't set @ all.

    string url2dehands = "http://www.hereisthewebsite.be";     htmlweb mvweb = new htmlweb();     htmldocument doc = mvweb.load(url2dehands);     htmlnode mvtextbox = doc.documentnode.selectsinglenode("//input[@id='id_ofthe_textbox']");     mvtextbox.innerhtml= "assdsda";  

i think need might http://docs.seleniumhq.org/

selenium automates browsers. that's it. power entirely you. automating web applications testing purposes, not limited that. boring web-based administration tasks can (and should!) automated well.

also, can use selenium ide. write code in set of different languages. can use code automate process.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -