Contributions
Re: Referencing Keyword Test from one project into another project
Thanks Helen for your reply! Then, I will create only 1 project so that I call required Scripts or Keyword Test without bothering about which variables I am using inside those. May be I will use "Folder" to group similar tasks. Now, another question comes up that when and why should we create multi-project project-suite?1.2KViews0likes0CommentsReferencing Keyword Test from one project into another project
Hi, I have created different projects to test my application using Test Complete. The project suitehierarchyis as shown below. ProjectSuite ProjectCommon Advanced Script CommonScript (This updates project level variable) Keyword Test SaveFile OpenFile ProjectTest Advanced Script CommonScript (Referenced from ProjectCommonusing "Add -> Existing Item...") Keyword Test SaveFile (Referenced from ProjectCommon using "Add -> Existing Item...") OpenFile (Referenced from ProjectCommon using "Add -> Existing Item...") SaveOpen (Local test which calls CommonScript, SaveFile and OpenFile) Problem: 1) When I run CommonScript from ProjectCommon, it runs fine. But when I try to run same CommonScript from ProjectTest (in SaveOpen test), it searches for project level variable in ProjectTest. Actually, I intend to update ProjectCommon variables using CommonScript. 2) When I call SaveFile from ProjectTest, I expect SaveFile to use Namemapping file from ProjectCommon where it is created\exists. But this doesn't work unless I merge ProjectCommon namemapping file into ProjectTest namemapping file. I expected it to work same as how C# project works when we reference 1 project into another. Thanks!18KViews0likes3CommentsRe: How to use Data Driven loop for multiple Excel Sheet?
If I create separate Data Driven for each sheet, then I will have copy and paste all steps that should be performed inside Data Driven loop. This is not a good practice. If, in future, I have to modify a step inside Data Driven Loop, I will have to make changes in all instances of Data Driven Loop. If you know some solution, would it be possible for you to post a small algorithm for doing same? Thanks in advance!1.8KViews0likes0CommentsHow to use Data Driven loop for multiple Excel Sheet?
Hi, I am using Test Complete to automate a test case. Test steps are as follows: 1) Open application 2) Select a range[1-10, 1-50, 1-100 etc] from a combo-box. 3) Enter a number in a textbox. 4) Click on Apply button to verify whether input is valid or not. I have a Excel WorkBook containing numbers to be tested for each range specified in separate WorkSheet. Now, I want to add a Data Driven Loop to fetch these input numbers for selected range from separate sheet. Here, I can use Data Driven Loop to fetch input numbers from 1 worksheet, but for next range, I can't use next sheet for same Data Driven Loop.18KViews0likes5Comments