Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Auto Pilot script in C#

Auto Pilot script in C#

Scheduled Pinned Locked Moved C#
csharptoolshelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    ravi3984
    wrote on last edited by
    #1

    Hi, I want to create a auto pilot script in c# window. the functionality will be - i will add list of url in notepad file and i can use either web browser control to show the content of website. when the page will be loaded first i want to click on register page, after than auto fill register form and third step will be click on register button, is there any one who can share any code. I have done something, my program is in three parts right now 1. First i have coding to click on register button 2. under webbrowser_loaded event i have assigned value to text boxes by finding get element by name 3. and in third step i click on register button if i put all coding in webbrowser_loaded event it always click on register button and program goes into loop. if i manually click on register button the next step program do automatically. then i manually click on register button can any one help me out where i put all three steps so that system wont go into loop thanks and regards

    S 1 Reply Last reply
    0
    • R ravi3984

      Hi, I want to create a auto pilot script in c# window. the functionality will be - i will add list of url in notepad file and i can use either web browser control to show the content of website. when the page will be loaded first i want to click on register page, after than auto fill register form and third step will be click on register button, is there any one who can share any code. I have done something, my program is in three parts right now 1. First i have coding to click on register button 2. under webbrowser_loaded event i have assigned value to text boxes by finding get element by name 3. and in third step i click on register button if i put all coding in webbrowser_loaded event it always click on register button and program goes into loop. if i manually click on register button the next step program do automatically. then i manually click on register button can any one help me out where i put all three steps so that system wont go into loop thanks and regards

      S Offline
      S Offline
      Satish Pai
      wrote on last edited by
      #2

      Hi, Use a flag variables such as Boolean type. If the Register button is already clicked then, our boolean will have a true value saying this is already registered. & it won't execute the code again. Regards, Satish

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups