Forum Discussion

jackson_1's avatar
jackson_1
Frequent Contributor
13 years ago

a question of TestedApps object

hi,



i have a question of TestedApps object in test complete. in my script i use this following script to launch a application and do something.

Sub LaunchApp

Win32API.WinExec(apppath, SW_SHOW)

'Sys.OleObject['WScript.Shell'].Run( AppPath);

End Sub

i found that there are some object's property will not find via above method to open the process.



so i tried to use testedApps object to open the application and found that object can be find in this way.



sometimes, i would like to use the windows API or Shell script in my script. so anybody can clarify what's the differcens between this two method?







1 Reply