Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error in the class name for objects through spy
#1
Not Solved
Hi ankur and All,
When i develop the applicaiton in Flex and record that through qtp the spy is not recognizing it as flex onject instead it is recognizing as win object
Below are the mentioned screen shots i n the attachement


Attached Files
.doc   ERROR CLASS NAME.doc (Size: 258 KB / Downloads: 93)
Reply
#2
Not Solved
One question have you opened the QTP first and Flex Appliation next.

Do you have proper Add ins for this.

These two are the possible reasons for Object being not recognised
Reply
#3
Not Solved
I have oped the flex applicaiton and then qtp

what do you want me to do?
Reply
#4
Not Solved
even if i open qtp frst then flext still it is recognizing as win object no t flex
Reply
#5
Not Solved
what surya no reply
Reply
#6
Not Solved
Have you installed the Adobe Flex add-in?
Reply
#7
Not Solved
yes i have installed
Reply
#8
Not Solved
It is recommended that while testing the application by using QTP. QTP should be opened first then open the IE and ur application url.

Regards
Raj
Reply
#9
Not Solved
yes i have done similarly qtp frst and application nxt
Reply
#10
Not Solved
Hi below mentioned is the code for flex sample applicaiotn
Here we have a Emede function that embedes a
pluginspage="http://www.adobe.com/go/getflashplayer">
codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
Flexshowcase.swf file
so i beleive it is nto the full code source for the link
It is retrieved from some other flash application so i believe we need to do coding first in the flash tool then in the flex tool.
jsut try any one pl,s

<!-- saved from url=(0014)about:internet -->
Code:
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>FlexStore</title>
<script src="AC_OETags.js" language="javascript"></script>
<style>
body { margin: 0px; overflow:hidden }
</style>
</head>

<body scroll='no'>
<script language="JavaScript" type="text/javascript">
<!--
        AC_FL_RunContent(
                    "src", "flexstore",
                    "width", "100%",
                    "height", "100%",
                    "align", "middle",
                    "id", "flexstore",
                    "quality", "high",
                    "bgcolor", "#869ca7",
                    "name", "flexstore",
                    "allowScriptAccess","sameDomain",
                    "type", "application/x-shockwave-flash",
                    "pluginspage", "http://www.adobe.com/go/getflashplayer"
    );
// -->
</script>
<noscript>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
            id="flexstore" width="100%" height="100%"
            codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
            <param name="movie" value="flexstore.swf" />
            <param name="quality" value="high" />
            <param name="bgcolor" value="#869ca7" />
            <param name="allowScriptAccess" value="sameDomain" />
            <embed src="flexstore.swf" quality="high" bgcolor="#869ca7"
                width="100%" height="100%" name="flexstore" align="middle"
                play="true"
                loop="false"
                quality="high"
                allowScriptAccess="sameDomain"
                type="application/x-shockwave-flash"
                pluginspage="http://www.adobe.com/go/getflashplayer">
            </embed>
    </object>
</noscript>
</body>
</html>
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Object Spy window is not getting hidden Neetha 2 2,939 08-28-2015, 01:27 PM
Last Post: balak89
  UFT 12.50 unable to recognize child objects from a Dialog Class in Firefox jesusisaac 1 3,802 08-20-2015, 11:39 PM
Last Post: ADITI1992
  Object Spy not detecting items in C ICL AndyBSG 5 4,347 11-28-2014, 09:32 PM
Last Post: AndyBSG
  Drop down list class is a link thotamurali 2 4,171 08-22-2014, 05:48 PM
Last Post: thotamurali
  Webobjects are not identified by Spy in QTP 10 in IE8 Aakash142 1 2,375 02-18-2014, 01:19 AM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)