Epic and Qualcomm are joining forces to make Fortnite available for Windows PCs on Arm-based Snapdragon processors. The process includes…
In a recent blog, Microsoft revealed that both the Notepad app and the Snipping tool will get new useful features.…
The March update for Windows 11 already had many issues with Roblox and Citrix, but now it seems that Microsoft’s…
Mozilla is developing a new feature in the Firefox browser on Windows 11 called “Taskbar Tabs,” which will enhance user…
A week ago, Google released the new Gemini 2.0 Flash model’s image generation feature. With this new addition, the model…
Intel’s next-generation Core Ultra processors codenamed Panther Lake, will most likely hit the market in the first quarter of 2026.…
Comments Source: Read MoreÂ
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());
}
}