Not able to spy objects in ie9 using coded UI Test Builder Spy, giving exception -Interface not registered(Exception from HRESULT:0X....

Not able to spy objects in ie9 using coded UI Test Builder Spy, giving exception - "Interface not registered(Exception from HRESULT:0X...."
I am not able to capture any objects of my web application using coded ui recorder. Even though it is a simple html page, coded ui is showing a message  -"Interface not registered(Exception from HRESULT:0X...."
Please give me solution , why this is hapening. I am having problem with object identification. Even I am not able to identify any object in google.com.
swapnanil sengupta

TechnologyName is displaying as "MSAA" . But my application is a Webapplication.If I try to spy the google .com's search field then also TechnologyName is displaying as "MSAA". Is it any configuration issue of vsts codedui.
swapnanil sengupta

Similar Messages

  • Not able to get group name by using memberof class, getting Total groups as 0 even I am member of that group.

    Not able to get group name by using memberof class, getting Total groups as 0 even I am member of that group. Through this memberof class I am trying to find full qualified name(DN) of my group.
    code I have used:
    //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(CN=Username))";
                   //Specify the Base for the search
                   String searchBase = "";
    Also I have used,
                 String searchFilter = "(&(objectClass=user)(CN=Username))";
                   //Specify the Base for the search
                   String searchBase = "ou=ibmgroups,o=ibm.com";
    But in both cases I am getting value for Total groups as 0.
    Code Reference:
    * memberof.java
    * December 2004
    * Sample JNDI application to determine what groups a user belongs to
    import java.util.Hashtable;
    import javax.naming.*;
    import javax.naming.ldap.*;
    import javax.naming.directory.*;
    public class memberof     {
         public static void main (String[] args)     {
              Hashtable env = new Hashtable();
              String adminName = "CN=Administrator,CN=Users,DC=ANTIPODES,DC=COM";
              String adminPassword = "XXXXXXX";
              String ldapURL = "ldap://mydc.antipodes.com:389";
              env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
              //set security credentials, note using simple cleartext authentication
              env.put(Context.SECURITY_AUTHENTICATION,"simple");
              env.put(Context.SECURITY_PRINCIPAL,adminName);
              env.put(Context.SECURITY_CREDENTIALS,adminPassword);
              //connect to my domain controller
              env.put(Context.PROVIDER_URL,ldapURL);
              try {
                   //Create the initial directory context
                   LdapContext ctx = new InitialLdapContext(env,null);
                   //Create the search controls          
                   SearchControls searchCtls = new SearchControls();
                   //Specify the search scope
                   searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
                   //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(CN=Andrew Anderson))";
                   //Specify the Base for the search
                   String searchBase = "DC=antipodes,DC=com";
                   //initialize counter to total the group members
                   int totalResults = 0;
                   //Specify the attributes to return
                   String returnedAtts[]={"memberOf"};
                   searchCtls.setReturningAttributes(returnedAtts);
                   //Search for objects using the filter
                   NamingEnumeration answer = ctx.search(searchBase, searchFilter, searchCtls);
                   //Loop through the search results
                   while (answer.hasMoreElements()) {
                        SearchResult sr = (SearchResult)answer.next();
                        System.out.println(">>>" + sr.getName());
                        //Print out the groups
                        Attributes attrs = sr.getAttributes();
                        if (attrs != null) {
                             try {
                                  for (NamingEnumeration ae = attrs.getAll();ae.hasMore();) {
                                       Attribute attr = (Attribute)ae.next();
                                       System.out.println("Attribute: " + attr.getID());
                                       for (NamingEnumeration e = attr.getAll();e.hasMore();totalResults++) {
                                            System.out.println(" " +  totalResults + ". " +  e.next());
                             catch (NamingException e)     {
                                  System.err.println("Problem listing membership: " + e);
                   System.out.println("Total groups: " + totalResults);
                   ctx.close();
              catch (NamingException e) {
                   System.err.println("Problem searching directory: " + e);
    Any help will be highly appreciated.

    Not able to get group name by using memberof class, getting Total groups as 0 even I am member of that group. Through this memberof class I am trying to find full qualified name(DN) of my group.
    code I have used:
    //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(CN=Username))";
                   //Specify the Base for the search
                   String searchBase = "";
    Also I have used,
                 String searchFilter = "(&(objectClass=user)(CN=Username))";
                   //Specify the Base for the search
                   String searchBase = "ou=ibmgroups,o=ibm.com";
    But in both cases I am getting value for Total groups as 0.
    Code Reference:
    * memberof.java
    * December 2004
    * Sample JNDI application to determine what groups a user belongs to
    import java.util.Hashtable;
    import javax.naming.*;
    import javax.naming.ldap.*;
    import javax.naming.directory.*;
    public class memberof     {
         public static void main (String[] args)     {
              Hashtable env = new Hashtable();
              String adminName = "CN=Administrator,CN=Users,DC=ANTIPODES,DC=COM";
              String adminPassword = "XXXXXXX";
              String ldapURL = "ldap://mydc.antipodes.com:389";
              env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
              //set security credentials, note using simple cleartext authentication
              env.put(Context.SECURITY_AUTHENTICATION,"simple");
              env.put(Context.SECURITY_PRINCIPAL,adminName);
              env.put(Context.SECURITY_CREDENTIALS,adminPassword);
              //connect to my domain controller
              env.put(Context.PROVIDER_URL,ldapURL);
              try {
                   //Create the initial directory context
                   LdapContext ctx = new InitialLdapContext(env,null);
                   //Create the search controls          
                   SearchControls searchCtls = new SearchControls();
                   //Specify the search scope
                   searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
                   //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(CN=Andrew Anderson))";
                   //Specify the Base for the search
                   String searchBase = "DC=antipodes,DC=com";
                   //initialize counter to total the group members
                   int totalResults = 0;
                   //Specify the attributes to return
                   String returnedAtts[]={"memberOf"};
                   searchCtls.setReturningAttributes(returnedAtts);
                   //Search for objects using the filter
                   NamingEnumeration answer = ctx.search(searchBase, searchFilter, searchCtls);
                   //Loop through the search results
                   while (answer.hasMoreElements()) {
                        SearchResult sr = (SearchResult)answer.next();
                        System.out.println(">>>" + sr.getName());
                        //Print out the groups
                        Attributes attrs = sr.getAttributes();
                        if (attrs != null) {
                             try {
                                  for (NamingEnumeration ae = attrs.getAll();ae.hasMore();) {
                                       Attribute attr = (Attribute)ae.next();
                                       System.out.println("Attribute: " + attr.getID());
                                       for (NamingEnumeration e = attr.getAll();e.hasMore();totalResults++) {
                                            System.out.println(" " +  totalResults + ". " +  e.next());
                             catch (NamingException e)     {
                                  System.err.println("Problem listing membership: " + e);
                   System.out.println("Total groups: " + totalResults);
                   ctx.close();
              catch (NamingException e) {
                   System.err.println("Problem searching directory: " + e);
    Any help will be highly appreciated.

  • Hi iam using iphone 5s which is locked to EE carrer. I am not able to make a conference call using this phone in india

    Hi iam using iphone 5s which is locked to EE carrer. I am not able to make a conference call using this phone in india

    then call EE if they are your carrier

  • Did not know simple things such as removing hyphen from phone numbers will be so complicated. How do i remove the hyphen from stored phone numbers since i am not able to make a phone call using VOIP. Everytime i make a phone call i have to type the number

    Did not know simple things such as removing hyphen from phone numbers will be so complicated. How do i remove the hyphen from stored phone numbers since i am not able to make a phone call using MobileVOIP. Everytime i make a phone call i have to type the number.

    Go into your contacts and edit them.

  • Hello I am not able to published to the web using an FTP the test has a negative response  I do not know what is required in Directory/path Protocol and port

    Hello I am not able to published to the web using an FTP the test has a negative response  I do not know what is required in Directory/path Protocol and port

    If you use FTP then ftp is the protocol and 21 is the port.
    Your webhoster will tell you what path to use.
    You probably can read it in the FAQ/Help/Support pages where you host your website.
    All difficult words are explained in manuals, dictionaries or wikis.

  • I am not able to Sync. My iPOD classic 80Gb. It tells that as iTunes can not read the contents-restore to factory settings- after restoring – it tells that it can not be restore bcause there are files that are used by other application. I am having Widows

    I am not able to Sync. My iPOD classic 80Gb. It tells that as iTunes can not read the contents-restore to factory settings- after restoring – it tells that it can not be restored bcause there are files that are used by other application. My iPOD appears in My Computer in drive H as a mass storage generick volume

    Try disabilng the Enable Disk Use option from under the iPod's Summary tab, applying the changes, and seeing if that helps.
    Otherwise, temporarily disabling any antivirus, security, firewall, or file indexing software that may be running on your system and then try restoring your iPod again.
    B-rock

  • I was charged no my credit card for the app store and i am not able to login, i tried to use the forget password options but it isnt going through

    i was charged no my credit card for the app store registeration and i am not able to login, i tried to use the forget password options but it isnt going through
    Apple id : [email protected]

    If the old ID is yours, and if your current ID was created by editing the details of this old ID (rather than being an entirely new ID), go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • I am not able to login to i cloud using my apple id

    I am not able to login to i cloud using my apple id.

    That's too bad.  Try entering the correct login credentials.

  • HT4623 am not able to download any paid application using ma debit card.... wat can be the problem???

    am not able to download any paid application using ma debit card.... wat can be the problem???

    rahul nair wrote:
    am not able to download any paid application using ma debit card....
    Debit cards are no longer accepted.

  • I am not able to shutdown the database by using stopsap

    Dear all,
    As mentioned in the subject "I am not able to shutdown the database by using stopsap". I am getting the following errors:
    exec(): 0509-036 Cannot load program oracle<SID> because of the following errors:
            0509-150   Dependent module libjox9.a(shr.o) could not be loaded.      
            0509-022 Cannot load module libjox9.a(shr.o).                          
            0509-026 System error: A file or directory in the path name does not exist
    R3 is terminated correctly by using the command stopsap and also I am able to shutdown the database normally by using the SQL command.
    Thanks for your cooperation.
    Maher

    Thank you Nick for your care.
    I will test start/stop manually later; because the system is active and used by the users for testing purpose (not production).
    Yes, LIBPATH is the same for both users.
    The ownership/permisssion for the both files is
    -rwxr-xr-x   1 <SID>adm   sapsys    stopdb
    -rwxr-xr-x   1 <SID>adm   sapsys    startdb
    I compared with production, it seems ok.
    I started DBCheck by using the transaction DB13 and also it failed due to same errors.
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000272, user name ****)
    No application server found on database host
    Execute logical command BRCONNECT On host *******
    Parameters: -u / -c -f check
    BR801I BRCONNECT 6.20 (113)
    exec(): 0509-036 Cannot load program oracle<SID>because of the following errors:
    #0509-150   Dependent module libjox9.a(shr.o) could not be loaded.
    #0509-022 Cannot load module libjox9.a(shr.o).
    #0509-026 System error: A file or directory in the path name does not exist.
    BR805I Start of BRCONNECT processing: cdnybrme.chk 2004-08-11 08.27.04
    exec(): 0509-036 Cannot load program oracle<SID> because of the following errors:
    #0509-150   Dependent module libjox9.a(shr.o) could not be loaded.
    #0509-022 Cannot load module libjox9.a(shr.o).
    #0509-026 System error: A file or directory in the path name does not exist.
    BR280I Time stamp 2004-08-11 08.27.07
    BR301E SQL error -12547 at location db_connect-2
    ORA-12547: TNS:lost contact
    BR310E Connect to database instance <SID> failed
    exec(): 0509-036 Cannot load program oracle<SID> because of the following errors:
    #0509-150   Dependent module libjox9.a(shr.o) could not be loaded.
    #0509-022 Cannot load module libjox9.a(shr.o).
    #0509-026 System error: A file or directory in the path name does not exist.
    BR280I Time stamp 2004-08-11 08.27.07
    BR301E SQL error -12547 at location thr_db_connect-4
    ORA-12547: TNS:lost contact
    BR310E Connect to database instance <SID> failed
    BR806I End of BRCONNECT processing: cdnybrme.chk 2004-08-11 08.27.07
    BR280I Time stamp 2004-08-11 08.27.07
    BR804I BRCONNECT terminated with errors
    External program terminated with exit code 3
    BRCONNECT returned error status E
    Job finished
    Do you think that we need to rebuild the Oracle Software ?
    Thank in advance for your cooperation.
    Maher.
    Message was edited by: Maher M.

  • HT4085 I has a problem and I am not able to solve that when I use sound effect it is showed only headphone even I did not installing the headphone I has a problem and I am not able to solve that I am. Not able to hear the sound without headphone please he

    I has a problem and I am not able to solve that when I use sound effect it is showed only headphone even I did not installing the headphone I has a problem and I am not able to solve that I am. Not able to hear the sound without headphone please help guys

    Sounds to me like a hardware issue or maybe something is stuck in the headphone jack. When you plug in headphones, the jack in the iPad is switched to play only through the headphones and not the iPad's speakers. Sounds like either the jack is faulty or there is something stuck in the headphone jack. Get a flashlight & look inside the jack for anything that looks like it doesn't belong in there.
    Regardless, I'd take it in to an Apple Store if you have one nearby to have it checked.
    EDIT: "Ocean20" had an excellent suggestion above. While doing that, you may also want to rotate/twist the plug in the jack back & forth a few times as well. Dirty contacts can often times be cleared by doing this.

  • I am not able to login to my facebook account and error message reads "This web site does not supply ownership information." Please help

    I am not able to login to my facebook account and error message reads "This web site does not supply ownership information." Please help
    only title bar opens and nothing else....please help

    Normally, when you connect via http, the browser doesn't check for site identity, so I don't understand what's happening there.
    Do you have any security-related add-ons that force popular sites to use a secure connection, or claim to provide anonymous browsing?
    Were you making the connection on your own network or on a public network (e.g., school, coffee shop)? If it was a public network, maybe the error indicates that your traffic was being intercepted???
    Without hands on, this is a tough one to diagnose.

  • My ipod 7th generation is not recognised by itunes and my computer. I am not able to transfer any songs. Please help me on this regard. I tried all the steps from apple website

    my ipod 7th generation is not recognised by itunes and my computer. I am not able to transfer any songs. Please help me on this regard. I tried all the steps from apple website

    This article should give you the options
    https://discussions.apple.com/docs/DOC-3991

  • I am not able to format my ipod classic as it is showing in the widows 7 but not in the itunes and when i try to format it, i am not able to format it

    i am not able to format my ipod classic as it is showing in the widows 7 but not in the itunes and when i try to format it, i am not able to format it i am not able to foramt it..

    Hello Ephremekka
    Start your troubleshooting with the article below to get your iPod Classic to show up in iTunes to be restored.
    iPod: Appears in Windows but not in iTunes
    http://support.apple.com/kb/TS1363
    Regards,
    -Norm G.

  • Air iOS - To use TestFlight Beta Testing, build 1.0.0 must contain the correct beta entitlement.

    Hi,
    I published my iOS app and uploaded it to iTunes Connect to run an external beta test through Apple TestFlight but I got this error:
    To use TestFlight Beta Testing, build 1.0.0 must contain the correct beta entitlement.
    I created my certificate 3 days ago and it contains the beta entitlement.
    I published the iOS app with the latest Flash CC 2014 version on a Mac with Air 15.
    How to fix that error?
    Thanks

    I'm using flasProfesionnalcc 2014, using Air SDK 16... I have the same problem. 
    >In summary... I am using Air SDK 16.0 and added the following to my app xml file:
    <Entitlements>
    <![CDATA[ <key>get-task-allow</key>
    <false/>
    <key>beta-reports-active</key>
    <true/> ]]>
    </Entitlements>
    But when I try to insert the <Entilements> code into de xml file   I receive a error when a try to complile:
    Error application.Entilemens is a unexpected element/atribute
    How to fix that error?
    Thanks

Maybe you are looking for

  • No output for XML Publisher Report using CASE/DECODE in Where Clause

    Hi, I've a business requirement to modify an existing report which has two input parameters, -> p_statcode (Closed Status) which can have values 'Y' or 'N' -> p_overdue (Overdue Flag) which can have values 'Y' or 'N' The Overdue Flag is an evaluated

  • How to display HTML file in forms 6i

    please can any one tell me how i can display normal HTML file in forms 6i this HTML file will be called from help menu. thanks in advance

  • Flash and lightbox. Playing a flash within lightbox

    I'm building a flash that needs to launch lightbox, which I can do no problem thanks to this website: http://blog.codefidelity.com/?p=16 What this site does not tell you, is how to launch a 'flash playing within lightbox' from flash. Does anyone have

  • Cannot write to NFS mount with finder

    hi folks i have moved from a G4 cube running 10.4.9 to a new iMac running os x 10.5.7 (including upgrading from the old machine) the NFS mounts i used to have with my G4 cube are not working properly; new mounts i've created aren't working properly e

  • Simple sorting program for folders/files

    Hello comunity, I would like to make a simple sorting program which will scan through some folder looking for files with different extensions. Then copy files of the same format (example *.pdf) and (create) place them into folder with the name of the