Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8110673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T01:50:17+00:00 2026-06-06T01:50:17+00:00

I am having a namespace extension implemented, which is visible in MY Computer. I

  • 0

I am having a namespace extension implemented, which is visible in “MY Computer”. I want to write automated test cases to browse through the same. I am able to open the explorer window till the namespace extension. as –

Process.Start("explorer.exe", "shell:::{CLSID of my namespace }")

next I want to search for a particular folder name inside the window opened. For example if i give input as “temp”, then my mouse should move to “temp” folder in the namespace explorer window. then I double click on the mouse’s current position and enter that folder. next i give input as “doc1.doc”, then my mouse should be able to locate & move to “doc1.doc” file.
Also getDirectory or GetFile etc APIs won’t work because I don’t have a standard drive associated with my namespace & don’t have a relative path either.

Please help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T01:50:19+00:00Added an answer on June 6, 2026 at 1:50 am

    I was able to achieve the browsing part of my namesapce extension by using sendkeys command. I used it to open the explorer window first (Win + E). Next I try simulating the keypress, say if i have to double click a folder called ‘temp’, I send ‘temp’ as keystrokes and press ‘Enter’. The ‘Input Simulator‘ proved very helpful in achieving the same.

    Doing a mouse simulation seemed very tricky and risky, as read from a number of posts, so avoided that.

    I did not want to execute my code directly (for that I already have unit tests written), but I wanted to simulate the way user works and that would fire my code internally.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Having a program like this: #include <iostream> #include <string> using namespace std; class test
I have a XML file having default namespace and empty namespaces which need to
I want to manipulate xml doc having default namespace but no prefix. Is there
I am having a JavaScript namespace say A={ CA: function() { this.B(); }, B:
I am getting into C# and I am having this issue: namespace MyDataLayer {
I am having trouble creating an XML document that contains a default namespace and
i am having a problem in adding the image files to project namespace. I'm
I am frequently having naming conflicts between a namespace and a class within that
Why It's not legal having int inside a namespace? int is a type. right?
I'm having unexpected results when converting a namespaced object to an array. <?php namespace

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.