Jump to content

testing automation new on autoit


 Share

Recommended Posts

Hi. Im tester in one company.

I'm trying to find a program that suits me to work/test application. I have constantly creating new users, and inclusion of the same or similar services. Form is always the same little changes. im trying to speed up my job. Can you help me pls. Is the AutoIt good for me? I need help realy! :) ty

Link to comment
Share on other sites

  • Moderators

Hi, Tia, welcome to the forum. From what little you have described, AutoIt should be well suited to the tasks you're trying to carry out. We always sugges the Help file, along with the Wiki, as a place to start - there are a number of great tutorials out there (even some on YouTube if you'd rather watch than read).

Once you've taken a look at these, try something out on your own. If you get stuck, feel free to post your script here (even if it isn't doing what you would like it to) and we'll do our best to help :)

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Do not laugh at me, i use this ower a month. it is ok but i do this 50 maybe 60 times a day. I really like to put some excel file with name, last name ect. and to this in one hit, but i dont now how. Im not programmer :) can you pls answer me to this. Ty

Sleep(1000)
MouseClickDrag("left" , 555, 230, 630, 230)

MouseClick("left", 350, 540, 1, 3) ; select person
Sleep(1500) ;

;$prezime = InputBox("prezime" , "unesi prezime" , "ii")
MouseClick("left", 460, 260, 1, 3) ; last  name
send("one")
Sleep(1000)

$ime = InputBox("ime" , "unesi ime" , "bill")
MouseClick("left", 460, 285, 1, 3) ; name
send($ime)
Sleep(1000)

MouseClick("left", 460, 355, 1, 3) ; oib
send (random (1100000000, 9999999999, 1) &0)
Sleep(1000)

MouseClick("left", 460, 380, 1, 3) ; click on address
Sleep(1000)

;$grad = InputBox("Zagreb")
MouseClick("left", 480, 367, 1, 3) ; city
send("Zagreb")
Sleep(1000)


MouseClick("left", 845, 320, 1, 3) ; city
Sleep(1000)

;$ulica = InputBox("ime ulice" , "mala")
MouseClick("left", 480, 400, 1, 3) ; streat
send("domobranska")
Sleep(1000)

MouseClick("left", 845, 320, 1, 3) ; street
Sleep(1000)

$broj_ulice = InputBox("broj ulice" , "unesi broj ulice 4")
MouseClick("left", 480, 423, 1, 3) ; number street
send($broj_ulice)
Sleep(1000)

; potvrda
MouseClick("left", 700, 580, 1, 3) 
Sleep(1000)
MouseClick("left", 980, 550, 1, 3) ; gsm zazeleni
Sleep(1000)
MouseClick("left", 925, 590, 1, 3) ; gsm zazeleni
Sleep(1000)

send ("099" &random (0100000, 0999999, 1))
Sleep(1000)
MouseClick("left", 1085, 640, 1, 3) ; nema email

MsgBox(0, "is everything ok?", "is everything ok?")
Sleep(1000)

;check
MouseClick ("left", 700, 640, 1, 3) ; check
Link to comment
Share on other sites

Depending on what you are doing, there is an excel udf standard with AutoIt3.

Go to help file on index tab and type "_excel" for some examples.

Chances are you will find a way to complete your tasks in a manner that does not use mouse.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

  • Moderators

As JohnOne states, is looks like you're shooting for excel, but is a little hard to tell from the example you post. We see a lot of mouseclicks, but not the name of the application. Can you tell us, what application is the info coming from (spreadsheet, web page, pdf form, etc.), and what application you want to post the info to? This will help us direct you to the best resources. Also, any screenshots you can share, so we can see what you're seeing, would be great.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...