Object Identification Issue for Silver light 5 Controls in QTP 11
I am automating the .Net based Web application which has Silver light 5 controls using QTP 11. QTP is able to identify the Silver light controls without any issues if i follow the below approach for launching the application,
Launch the Internet explorer and load the application URL.Application will launch directly using windows Login credentials.In this case QTP is able to identify the Silver light objects successfully and i don't find any issues in automating the application.
But the usual way of launching the application is different, when i launch using the below approach, Silver light Objects are identified just as a Web Element and not as Silver light objects.
Please find the below the steps for launching the application,
1) We have a .bat file which actually launches the Command Prompt window for entering the password to launch the Internet Explorer. (Since Login Prompt is disabled in our organization in IE 7 for some security purpose, we need to pass the User Id/password for the app in this way)
2) Load the Application URL in the Opened IE window.
3) Navigate to Silver light Page.
I am not sure about why I am not able to identify the Silver light objects if the app is launched in the way I explained above. Let me know your valuable thoughts/approach to resolve this issue?