We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More

Forum Discussion

komalak11's avatar
komalak11
Contributor
6 years ago
Solved

Check boxes on installation wizard

Hi,

 

I am automating the following checkboxes for a installation wizard, problem is i am unable to select the check boxes items separately. ObjectSpy is just recognizing the window around it. Is there any other way to go about it?

 

Object FullName = Sys.Process("*",2).VCLObject("WizardForm").VCLObject("FOuterNotebook").VCLObject("FInnerPage").VCLObject("FInnerNotebook").VCLObject("FSelectComponentsPage").VCLObject("FComponentsList")

 

Can I add this VCLObject class name in the pro

 

 

Additionally, i want to know if we can launch powershell script in administration mode from TestComplete?

 

  • For the checkboxes: maybe MSAA? but even then, most likely would recognize the text values not the radio boxes: http://support.smartbear.com/testcomplete/docs/testing-with/object-identification/msaa/index.html

    See if enabling support for * in MSAA of (tools-currentprojectproperties-openapplications-msaa) helps the object spy see the individual texts.

    For launching powershell: https://support.smartbear.com/testcomplete/docs/reference/program-objects/wshshell/index.html

5 Replies

  • For the checkboxes: maybe MSAA? but even then, most likely would recognize the text values not the radio boxes: http://support.smartbear.com/testcomplete/docs/testing-with/object-identification/msaa/index.html

    See if enabling support for * in MSAA of (tools-currentprojectproperties-openapplications-msaa) helps the object spy see the individual texts.

    For launching powershell: https://support.smartbear.com/testcomplete/docs/reference/program-objects/wshshell/index.html

  • AlexKaras's avatar
    AlexKaras
    Community Hero

    Hi,

     

    >  if we can launch powershell script in administration mode from TestComplete?

    Yes, like from any command-line tool. "-verb RunAs" parameter is the key. For example: https://stackoverflow.com/questions/45813787/execute-powershell-script-with-administrator-privileges-on-windows-2012-r2-witho

     

    • sonya_m's avatar
      sonya_m
      Icon for Alumni rankAlumni

      Justin, Alex, thank you!

       

      komalak11 Did the suggestions help? Please mark the best one as a solution!

      • smithanair's avatar
        smithanair
        Occasional Contributor

        komalak11  how you solved this issue.After enabling msaa(*) still i am facing this issue

        Thanks

        Smitha