programit Posted October 23, 2008 Share Posted October 23, 2008 I am writing a series of Automated tests that are contained in 5-8 different au3 files. File 1 might include file 2 & 3. File 2 might include file 4 file 3 might include file 5 File 4 might include file 6 When I attempt to build each one of these files. I get a TON of warnings thrown talking of undefined functions/globals. Usually I can just say continue and it runs fine. It seems as though it has a hard time trying to connect the lines when building. Any solution to this? Thanks, Programit What I'm using AutoIt for: I was hired as QA to write automated tests for our software. So I macro any possible situation/process a user could get themselves into, and then check to see that the outcome is what I expect. Link to comment Share on other sites More sharing options...
Szhlopp Posted October 23, 2008 Share Posted October 23, 2008 I am writing a series of Automated tests that are contained in 5-8 different au3 files. File 1 might include file 2 & 3.File 2 might include file 4file 3 might include file 5File 4 might include file 6When I attempt to build each one of these files. I get a TON of warnings thrown talking of undefined functions/globals. Usually I can just say continue and it runs fine. It seems as though it has a hard time trying to connect the lines when building. Any solution to this?Thanks,ProgramitWe really can't do anything to help you until you post the code. RegEx/RegExRep Tester!Nerd Olympics - Community App!Login UDFMemory UDF - "Game.exe+753EC" - CE pointer to AU3Password Manager W/ SourceDataFiler - Include files in your au3!--- Was I helpful? Click the little green '+' Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 23, 2008 Share Posted October 23, 2008 I am writing a series of Automated tests that are contained in 5-8 different au3 files. File 1 might include file 2 & 3.File 2 might include file 4file 3 might include file 5File 4 might include file 6When I attempt to build each one of these files. I get a TON of warnings thrown talking of undefined functions/globals. Usually I can just say continue and it runs fine. It seems as though it has a hard time trying to connect the lines when building. Any solution to this?Thanks,ProgramitSciTE will correctly parse all those includes for the variables, but if they are declared CONDITIONALLY or INSIDE FUNCTIONS, you will still get warnings whether they are in include files or not. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
programit Posted October 23, 2008 Author Share Posted October 23, 2008 SciTE will correctly parse all those includes for the variables, but if they are declared CONDITIONALLY or INSIDE FUNCTIONS, you will still get warnings whether they are in include files or not. Ok thanks. Not really a HUGE deal, but if I could make my stuff look/run more professionally I would have liked to. Click Continue pas 14 errors doesn't look good. What I'm using AutoIt for: I was hired as QA to write automated tests for our software. So I macro any possible situation/process a user could get themselves into, and then check to see that the outcome is what I expect. Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 23, 2008 Share Posted October 23, 2008 Ok thanks. Not really a HUGE deal, but if I could make my stuff look/run more professionally I would have liked to. Click Continue pas 14 errors doesn't look good.Then don't declare your Global variables inside conditional statements or functions... Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Developers Jos Posted October 23, 2008 Developers Share Posted October 23, 2008 Ok thanks. Not really a HUGE deal, but if I could make my stuff look/run more professionally I would have liked to. Click Continue pas 14 errors doesn't look good.When AU3Check reports errors it means you do have some sort of design issue in your script. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now