QTP tool for GUI testing, you are sayng you know VBScript (or other scripting language), use it, don't use QTP for testing a file existence. If you want to report results in QC, you can use QC API directly, withou QTP.
On Wed, Oct 14, 2009 at 3:47 PM, MHGL <[email protected]> wrote: > > Greetings all. I'm a consultant that just got staffed on a project > performing automated testing on Windows Server 2008 deployments. We > are designing this process from the ground up and utilizing QTP and > Quality Center for the testing. > > I am extremely familiar with VBScript, WMI, and PowerShell and I can > complete the majority of my testing using one of these tools. The part > that I'm fuzzy on is how to report pass / fail results back to QTP and > how to spawn the scripts using QTP. > > Example of one of our tests: We will need to check for the existence > of a large number of files. What I'm envisioning is that QTP calls a > VBScript script and passes it the path and filename of the file to > check. The VBScript will then verify if the file exists and return > true or false. > > Another example that is very similiar is checking for the existence of > registry keys and checking to be sure the keys are set for the proper > values. > > Any help is greatly appreciated. > > Thanks all, > > MHGL > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -~----------~----~----~----~------~----~------~--~---
