Question about Referencing
Hi,
I am planning to create an Automation Framework
with excel where the user will enter the data for creating the test cases. Then
i will have a script developed in TestComplete, which will read these steps and
create an Automated script(in VB). I will be creating two files, one file(File
1) which will contain the steps of the test case and another file(File 2) which
will contain all the common functions.
a) Now
I want the user to see only File 1 and File 2 should be referenced from file 1.
Is there a functionality in TC by which I can create a reference library and
Keep File 2 there? My whole purpose is the user will find it easy to decode code
of File 1 and the complex code of File 2 should be kept away from the user. Is
there a way to achieve this?
b) Also,as
part of my execution i read a lot of values from the screen and use them later
on during the execution. What would you recommend for storing these values at
runtime? Should I store these values as project variables or should I store them
in excel and retrieving it(as and when required)?
I tried finding the answer to these questions on the forum , but i was not able to find the answer and hence this post
Thanks,
Shiv