Professional Documents
Culture Documents
Problem Statement:
As an ALM User, if Im not having Test Cases Excel which was written by some person,
and if it needs Modification in ALM, I need to go in Excel and individually go in each Test
Case to perform an Update.
If update is minute and of repetitive nature then it becomes time consuming. Lets see
this with an illustration
Suppose we are having test case wherein we are mentioning one Sheet name which
<Sheet Name <XYZ>> was not defined while upload and after few sprints these
requirements were changed and we have sheet name as <ABC>.
Now we need to Modify Test Cases as per sheet Name <ABC>, I need to manually go to
each Test case and in each step wherever Test Author has mentioned Sheet Name as
<XYZ>
Step 1: Open Sheet <XYZ>
There are ALM Add-ins provided for Uploading the Test Cases to ALM but
what if User needs to Import/Download the test Cases in Excel and upload it
back after making some Amendments/Changes/Modification.
This was the challenge faced while updating the test cases for EY project,
FSAM under SAT module wherein some requirements were updated as per
the latest DD document and changes were very minute and involved two
three steps update but there were 170 test cases and thus the problem was
identified.
Solution Proposed:
An Excel Based Macro which will get all the test cases in pre-defined format for test
cases in different Excel by that Project with use of User Form and itll be initiated by One
Click provided by Visual Basic Script.
As to become more User friendly and involving less headache One Click functionality
was required. With this User needs to click once and the User form will be displayed
which will get the basic details like ALM credentials, Domain and Project Name along
with the Test Plan Folder Name.
After providing these details User needs to click the Generate Test Cases Button which
will in turn, run the Functionality in background and gives user an Excel file in which all
the Test Cases will be generated along with the specified format.
After performing an update we can use ALM Add-in Tool to Upload the Test cases in ALM
as usual. Mapping of the Fields are as usual and any method from eliminating previously
updated Test Cases can be applied to remove Older Test Cases and place Updated Test
Cases in ALM
C. Once User is shown with the Pop-up saying All Test Cases are downloaded with
Test Steps. User needs to Navigate to the TestCases Folder created in C:/
Directory, There user will find an Excel named Test Cases.xls with Sheet Test
Cases Sheet in which all the Test Cases will be present.
D. After Updating Sheet, User can successfully upload the Test Cases using ALM Add In
Setting up an Installer file for doing the Manual work of Creating the folder under
the Specified directory mentioned by User and likewise setting that User provided
Path of Setup in VBA and VBS file
Providing List of All Available Project and Domain which User has access for to
avoid manual input in User Form
Providing a Tree Structure in the User form so that User will get convenience of
selecting the right path visually and a piece of code that converts that selection
into a String of Path in background which will be fed to VBA for Test cases
Extraction.
Providing the Feature Auto-shutdown for VBS Script post confirmation of User.
When Pop-up appears with All Test Cases Downloaded Successfully, then script
should display the excel for decreasing the manual effort of Navigating to the
Generated Test Cases Excel file.
Handling File Operations in case the Excel is already present with the same name
so to handle this Renaming Option can be provided. Providing User feasibility for
saving Test Cases with their Custom Names in the Custom Folders<If access to
other directory is provided> e.g. Test Cases Module1.xls, Test Cases Module2.xls
are segregated as per Module Name and likewise can be saved in
C:/Test_Cases_Edit_Pending Folder
Making it fully Automatic, like after the Editing/Updating One more VBS file can be
initiated which will ask for One Time Setup of ALM Add-in, post which every time
User will drag and drop the File which needs to be uploaded will be dragged or
Path will be provided in another User Form and with One Click, Script will take
care of uploading Test Cases in designated folder and will override ALM Add-in
with Code thereby reducing Manual delays and 8 Steps Clicks which User has to
do in ALM Add-in.
Conclusion:
With limitation to the time in which weve to complete the assignments of
updating 170 Test Cases with this Problem, we managed to get the solution which
is working a decent job and making life bit easier with few manual interventions.
With this Solution
1>We propose a Utility by which Updates in the Test Cases can be achieved in
Time efficient and effective manner and providing a convenient way for
Testers/BA/Managers/Reviewer who has to go through the test cases manually
in ALM for various purposes and now they can download the Test Cases offline
in case of limited connectivity to Internet to access web application ALM and
carry out activities which can be done offline.
2>In Case we are not having Excel of Test cases developed by
Author(BA/Tester/Contractor) who has left the organization so this Dependency
is eliminated by this solution
Our Alignment with EY, for a continuing effort to evolve and going by the vision of
EY, be it Quality in Everything we do or Building a better working world we are
trying to put our solutions as TCSs vision Experience Certainty to achieve the
objective in best way possible.