Comments Source: Read MoreÂ
Development
TypeScript offers powerful type manipulation capabilities that allow developers to create more flexible and maintainable code. Three key features that…
Quick Overview When setting up client search, we usually rely on string comparison methods like indexOf, contains, etc. These methods…
The Singapore Cyber Emergency Response Team (SingCERT) has issued a warning regarding the rise in fraudulent emails, with scammers impersonating…
The Malaysia Computer Emergency Response Team (MyCERT) has reported several Drupal vulnerabilities within its AI module, specifically affecting versions prior to…
The news can’t have come too soon for the many Chromecast users who have found themselves unable to stream their…
The Indian – Computer Emergency Response Team (CERT-In) issued a critical vulnerability note, CIVN-2025-0048, detailing several vulnerabilities in the Rising…
Whether you’re downloading a video from YouTube or converting a Word document into a PDF file, there’s a chance that…
Cybersecurity researchers are calling attention to an incident in which the popular GitHub Action tj-actions/changed-files was compromised to leak secrets…
AWS Database Migration Service is a cloud service designed to simplify the process of migrating and replicating databases, data warehouses…
Modern VLMs struggle with tasks requiring complex visual reasoning, where understanding an image alone is insufficient, and deeper interpretation is…
Stereo depth estimation plays a crucial role in computer vision by allowing machines to infer depth from two images. This…
Artificial Neural Networks (ANNs) have revolutionized computer vision with great performance, but their “black-box” nature creates significant challenges in domains…
I was using below code to download attachments for test cases at the HP ALM TestLab folder,
But then I find out that attachments can be available at the step level too.
So is there any way to download attachments for test steps?
I tried with changing 2nd line to
TDAPIOLELib.StepFactory tsTestFact = tDConnection.StepFactory;
But it was not working.
public void DownloadTestAttachments_FromVB_TestLab()
{
String AttachmentDownloadPath = @”C:temp”;
TDAPIOLELib.TSTestFactory tsTestFact = tDConnection.TSTestFactory;
TDAPIOLELib.List tsTestList = tsTestFact.NewList(“”);
TDAPIOLELib.AttachmentFactory attFact;
TDAPIOLELib.List attList;
Console.WriteLine(“Downloading attachments for the Tests : ” + AttachmentDownloadPath);
try
{
foreach (TDAPIOLELib.TSTest tsItem in tsTestList)
{
if (tsItem.HasAttachment == true)
{
attFact = tsItem.Attachments;
attList = attFact.NewList(“”);
foreach (TDAPIOLELib.Attachment attItem in attList)
{
attItem.Load(true, AttachmentDownloadPath + “\” + attItem.Name);
}
}
}
}
catch (Exception x)
{
Console.WriteLine(x.ToString());
}
}
Discover the top 10 AI code review tools for 2025, including GitHub Copilot, CodeScene, and PullReview. Learn how these tools…
Learn effective prompt engineering techniques for AI code generation in WordPress. Discover best practices, examples, and tips for creating clean,…
Coding has become one of the most common tasks in modern society. With computers now central to almost every field,…
When working with the FormData interface in JavaScript, where data is appended as key/value pairs, there’s no built-in way to…
Whenever I publish a new article, I receive countless emails and DMs across social media asking, “How can I become…
I’ve been writing a lot of articles lately on Agile methodologies. And for this one, I wanted to cover how…