I am having trouble while running excel macros as it causes my UI to freeze.
Consider the following code:
Call Run_Test()
Sub Run_Test()
Set oQTP= CreateObject("Quicktest.Application")
oQTP.Open "<Test Path>"
oQTP.Run"<Test Path>"
End Sub
The problem here is that while running the above Run_Test method "oQTP.Run" takes some time to complete and during this time if click on excel sheet the UI freezes.
So is there any way i can run this method asynchronously and prevent the excel from freezing?
Or Is there any other technique to prevent this?