console application - load a web page and click a button using c# -


i have requirement automate procedure on web page.

  1. open web page
  2. find input
  3. click on it
  4. close web page

i achieve of above using c# in console application. dont want open browser, code automate process.

i have url web page , id of input element.

what c# code should use achieve this.?

i think able serve purpose.

selenium 1 (selenium rc): selenium server launches , kills browsers, interprets , runs selenese commands passed test program, , acts http proxy, intercepting , verifying http messages passed between browser , aut.

selenium server receives selenium commands test program, interprets them, , reports program results of running tests.

the rc server bundles selenium core , automatically injects browser. occurs when test program opens browser (using client library api function). selenium-core javascript program, set of javascript functions interprets , executes selenese commands using browser’s built-in javascript interpreter.

the server receives selenese commands test program using simple http get/post requests. means can use programming language can send http requests automate selenium tests on browser.

for more: can visit selenium


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -