Welcome, Guest. Please login or register.
Login with username, password and session length

 
Advanced search

18539 Posts in 4847 Topics- by 32743 Members - Latest Member: watty
 

AdvancedQTP forums have been nominated as a finalist in ATI’s 2nd annual automation honors awards!

We’d like to thank you for your continued support and participation, and urge you to hurry and vote.

Make you voice count! 


Pages: [1]   Go Down
Print
0 Members and 1 Guest are viewing this topic.
Author Topic: autoit from qtp    (Read 1172 times)
joe loyzaga
FRProject
Advanced User
*
Offline Offline

Posts: 524

I live in Sydney


« on: March 23, 2009, 04:38:56 PM »

Can I run an autoit script from qtp and retrieve the entry values directly into variables?
Logged
Meir Bar-Tal
Administrator
Advanced User
*****
Offline Offline

Posts: 1285



WWW
« Reply #1 on: March 26, 2009, 12:37:46 PM »

It's unclear.
Do you mean to get the returned value from the AutoIt script?
Or to pass parameters to the AutoIt script?
Logged

Best Regards,

Meir Bar-Tal
AdvancedQTP Chief Editor & Forums Administrator
joe loyzaga
FRProject
Advanced User
*
Offline Offline

Posts: 524

I live in Sydney


« Reply #2 on: March 26, 2009, 02:13:49 PM »

I mean say I run a script form QTP and it created some variables (Environment) then can I access those variables from Autoit? Rewriting their values?
Logged
Meir Bar-Tal
Administrator
Advanced User
*****
Offline Offline

Posts: 1285



WWW
« Reply #3 on: March 26, 2009, 10:49:31 PM »

Environment is a QTP object. Perhaps there's a way, but I don't think it's worth researching.
A better approach is to use the OS environment variables which are visible to all applications through the Wscript.Shell object.
Logged

Best Regards,

Meir Bar-Tal
AdvancedQTP Chief Editor & Forums Administrator
Pages: [1]   Go Up
Print
Jump to: