How to Refe DataPool which is in other Script
User Sayana, Anantha (firstname.lastname@example.org) posted:
How to refer DataPool (XL file) which is in Script1, by
another script Script2.
when run in winrunner we have given relative path like
table = getvar("testname") &
"\\..\\Script1\\DataPool", This will run in winrunner.
similer directories were created in Test Director and ran
through TD, then Script2 is not able to find the DataPool.
WARNING: The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this message
by anyone else is unauthorised. If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message in
error. Thank you.
Re: How to Refe DataPool which is in other Script
User Roman Zilber (email@example.com) posted:
1. add -
table = "\"" & table & "\"";
(if you have spaces in the path)
2. where you store the XL file? And where the script2 stored? Is this path
still actual in other machine?