Contributions
Re: Sectionalized, Distributed, and Automated Testing
Tonya, Thank you for helping us out with this. We really appreciate it as our test suite is rather large and i don't want to redo everything. I was able to take a look at the function you used to call a test group, but we are using visual basic. Do you have an example of the same script in VB? Thanks for your help.1.6KViews0likes0CommentsSharing Project Items
I am working on Test Complete again, trying to make our tests more efficient and automated, but have have run into a few problems. Up until recently we have had all of our Tests in one project in one project suite. I have decided to break our tests up into different projects int he same project suite. For example: In our GMS Project Suite, we will have a Projects Called: -Build -Tutorials -Training -Bugs -Source I have decided to go this route to make it so that if we only one to run our tutorial tests we can call it from the command line and vice versa. While Attempting to do this i ran into a couple of problems. Our Tests Use the same list of tested apps. This being so i don't want to create for different tested apps files that i have to change whenever anything is updated. There would be a lot of room for error there. So i want to Create one TestedApps.tcTAs and share it between all the projects in the project suite. Whenever i try to do this Test Complete pops up an error sayings: In my projects in the project suite i want to share my TestedApps.tcAPs, my NameMapping.tcNM, my Stores.tcStores, and my Events.tcAX. (basically everything except the scripts) This would ensure that as i make changes in one project it will make all the changes in the other projects causing less errors if i forget to update something. I have been unable to do this because of the error above. Is there any way around this? What exactly is the point of being able to have multiple projects in the same project suite if i can't share the tested apps and other items? I hope that you can help me. I would really appreciate it! I look forward to anything you can do for me!5.8KViews0likes5CommentsComparing
In all the documentation on the SmartBear website it talks about being able to update the files or regions from the test log. It says that if you click on the additional info you will see a link that says <update region/file> but i have been trying to find it and i can't find it anywhere. Any suggestions as to where i can turn this feature on or why i can't access it? I have Test Complete 9.3(what ever the most recent version is)4.5KViews0likes1Comment- 2KViews0likes0Comments
If... Statements
Whenever i write an If.. Statment to check if a dialog window exists, it always tells me that there is an error: For Example: Sub Test Call Sys.Process("xms").Window("#32770", "*").Window("Button", "OK").ClickButton If Sys.Process("xms").Window("#32770", "Times Series Plot", 1).Exists Then Log.Message("This Is a Bug and We Need To Report It") End If Call....(continue the test) Now This is causing problems cause i don't want it to show an error but if the window isn't there, it logs an error.7.3KViews0likes9CommentsRe: Resizing Windows
I have a graphics window and there are coordinate clicks in my tests. so when i change the size of the screen the test no longer clicks the correct location. For Example.. Before: Call Aliases.TestProgram.Window.Click(55, 80) After:(With a Bigger Screen) Call Aliases.TestProgram.Window.Click(65, 90) But Untill i can change the tests i need the screen to resize to its original size...2.2KViews0likes0CommentsResizing Windows
Is there a way of Resizing the Dialog Window that you are testing? For Example i'm testing my program Test.exe, and i want the dialog to be set to a certain size. I want to set it by pixel. so i need it to be 760 x 1024 px. I just got a bigger screen so i need to change all my tests but while i'm doing that i want to keep my screen at the same size so i can take my tiime in fixing them.7.1KViews0likes3CommentsAuto Time-Out
Is there a way to set the auto time out for a specific test using a script method? For example i want the time out for a test to be 5 minutes usually but sometimes if a certain file exists i want it to be 10 minutes If C:\temp\file.exists Then Test1.Timeout = 5min Else Test1.Timeout = 10min End If Does That Make Sense?6.6KViews0likes4Comments