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

  • Home
  • SEARCH
  • 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 9121157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:47:47+00:00 2026-06-17T05:47:47+00:00

I am creating a Ranorex Checkbox object and then grabbing the appropriate checkbox using

  • 0

I am creating a Ranorex Checkbox object and then grabbing the appropriate checkbox using Ranorexpath. But I am unable to check this checkbox using the CheckBox.Check() event. On the UI, a tick mark appears on the checkbox but in reality the checkbox remains unchecked and as a result the expected messages do not appear on the screen and the test fails. Please let me know what I am doing wrong. Code snipped below:

                if(value=="99283" || value =="99281")
                {
                    Ranorex.CheckBox EMlevelReason="/dom[@domain='"+domain+"']//object[#'slApp']/form/form[1]/form/list[@automationid='lstOuter']/listitem[4]/list/listitem[4]/checkbox[@name='Single xray']";                      
                    EMlevelReason.Focus();                     
                    if(EMlevelReason.Checked!=true)
                    {
                        EMlevelReason.Focus();
                        EMlevelReason.Check();  // doesn't work. the checkbox appears checked on the UI but actually remains unchecked                  
                    }
                }
  • 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-17T05:47:48+00:00Added an answer on June 17, 2026 at 5:47 am

    We were able to develop a workaround for this. We used the click() event instead of check()
    i.e. in the above code we just replaced EMlevelReason.Check() with EMlevelReason.Click()
    Don’t know why but it works now 🙂

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

Sidebar

Related Questions

Creating extensions got much easier with Vs2010, but this seems not to be the
Creating an object and giving ownership to a container using a unique_ptr is no
Creating servlet that implements contextInitializer interface in this code, then accessing file inside contextinitialized()
creating users through mysql admin, but unable to login mysql command line following on-line
Creating a website using simple html(not html5) and css but got stock in mouseover
Creating an object with two properties address and distance . Pushing this object into
(creating a separate question after comments on this: Javascript redeclared global variable overrides old
Creating a simple RPG game, first time using XNA. Trying to get my character
I creating a web application using JSF,Hibernate,Spring. I have added a filter for checking
Creating a Blackberry app. Just a beginner, I have searched but couldn't find a

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.