Sign in to follow this  
Followers 0
KingPin

Need some help with auto increment

7 posts in this topic

#1 ·  Posted (edited)

I am working on a test script that helps me test database/webserver load. it asks for text and then posts the text every so often(i randomized it), but the thing is for the real load test I need to differentiate the words a bit per post (for the indexing system to get stressed a bit) how do I add auto incrementing numbers after the text?

im using IE.au3, using

_IEFormElementSetValue()
where message is the message I input into a text box before the program begins.

ofcourse great would be to ask what number to begin at.. so I could add another text box to the gui this one asking what number to begin incrementing from....

Any help is very much appreciated...

Edited by KingPin

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

$indexnum = 1
Send("WORDHERE" & $indexnum)
$indexnum = $indexnum + 1

Would this work maybe(You'd have to change send with whatever your using.)?

Edited by dandymcgee

- Dan [Website]

Share this post


Link to post
Share on other sites

I will try that, and respond once I get more time and actually get to implement this (still at work on optimising mysql on all 3 DB servers so I get time here and there to work on this). thank you tho :)

Share this post


Link to post
Share on other sites

still at work on optimising mysql on all 3 DB servers so I get time here and there to work on this)

Wish I knew what that meant, lol. If it works, glad I could help. I'm still not great when it comes to understanding anything to do with internet/HTML/servers. :)

- Dan [Website]

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

heh, well Im working on the implementation so far and it added the 1 but didnt increment to 2 ... will work on that maybe I put it in wrong. will post back with results...Works perfectly, thank you :)

Edited by KingPin

Share this post


Link to post
Share on other sites

Sure, no problem :P. Glad I could help, even though I don't have the slightest idea what your doing...lol. You stated your question very clearly, and I knew exactly what you needed. If you ask a clear question, you are much more likely to get a clear and fast reply. Hope everything works out with whatever your making :)


- Dan [Website]

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

heh yeah I know how I feel when someone from our staff calls in and tell me something ambiguous like my computers not working omg! please help, and then they hangup.... now I wont know whats going on nor do I know what to take with me since I dont know if its a hardware/software problem or just a I.D.1.0.T. error :D hence when I want help, I try to be descriptive... :) anyhoo thanx for your help :P

Edited by KingPin

Share this post


Link to post
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
Sign in to follow this  
Followers 0