Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88854

VB Macro to upload Test Cases to ALM

$
0
0

I am working on a macro to upload the test cases from excel to ALM using VBA scripting. I got connected to the ALM using the below code:

Set QCConnection = CreateObject("TDApiOle80.TDConnection")
Dim sUserName, sPassword
sUserName = "user name"'-- change me
sPassword = ""'-- change me
QCConnection.InitConnectionEx "ALM bin link"'-- change me
QCConnection.Login sUserName, sPassword

but unable to proceed further. please help me out. Now I know we have an Excel Add In for this but I wanted to do it via my own macro. I have multiple sheets with N number of test cases each. I am aiming a macro that will upload Test Cases from all the Sheets at once.

My Column Structure in Excel looks something like this

Column Snapshot from My Excel


Viewing all articles
Browse latest Browse all 88854


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>