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 8827819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:27:46+00:00 2026-06-14T07:27:46+00:00

I am updating a CodedUI test program. Part of the update I have been

  • 0

I am updating a CodedUI test program. Part of the update I have been working on is threading the test so that I can cancel the test, when necessary, without needing to kill the test program. The Task I create works fine until the CodedUI test copies data to the Clipboard then tries to retrieve that so it can dump it to a database. Without the task, this works with no issues, but with the task, Clipboard.GetData(DataFormats.Text) returns null.

Because Keyboard.SendKeys is used before the Clipboard request, I tried CodedUI Test: Keyboard.SendKeys not working to see if that would help, but it did not.

  • 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-14T07:27:47+00:00Added an answer on June 14, 2026 at 7:27 am

    Getting data off the Clipboard inside a BackgroundWorker solved the issue. Though nothing threw errors relating to the Thread Apartment State, setting it to STA makes things work.

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

Sidebar

Related Questions

Since updating a working MonoTouch 3.x app to MonoTouch 4.0, I have been getting
Updating an object with MVC3 I have a model that I can modify, please
Updating live tiles from Background audio agent? I know that you can update Liva
Updating a column that is part of your selection criteria should be no problem
after updating my ruby to 1.9.3 and rails to 3.2.3 I have been trying
After updating my iPhone 4S to iOS 6, I have noticed that in my
Since updating to the latest JQuery I have noticed that all my getJson calls
I'm working on updating a system that stores financial information and am using a
After updating a bundle, you will have some gems that may be obsolete --
Since updating to version 3.0.1 of MonoDevelop, I've been unable to work with layout

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.