Micro Focus QTP (UFT) Forums
QTP feature for application on two systems - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: QTP feature for application on two systems (/Thread-QTP-feature-for-application-on-two-systems)



QTP feature for application on two systems - amelia - 11-29-2009

hi,

Scenario is somewhat like...

If application A is running on one machine and application b is running on another machine.. If after some processing at application A the second process is started at application B i.e. second machine..

Is there any feature that QTP supports to test passing of the values from appln A(1st machine) to the appln B(2nd machine)...

Basically I would like to know how to test Distributed applications using QTP?


RE: QTP feature for application on two systems - venkatbatchu - 11-29-2009

Hi,
Whaterver the values u want to pass from application A first keep this set of values in one common folder to these two machines (Ex: under Network places) so that by acessing these values from the sharing network folder to application B in another machine.

Note: To copy the shared folder to your local system use the

object.CopyFile ( source, destination[, overwrite] )

Thanks,
Venkat.Batchu
Please find the below one

Code:
set fso = createobject("Scripting.FileSystemObject")
fso.CopyFile "C:\Documents and Settings\ADMIN\Desktop\Venkat Batchu.doc","C:\Documents and Settings\ADMIN\Desktop\Venkat Batchu1.doc"
msgbox "Done"