Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP not identifying the Windows objects
#8
Not Solved
If all the objects are identifying uniquely then you can go for discriptive programming with the help of index.
for example

Consider the HTML code given below

Code:
<INPUT type=”textbox” name=”txt_Name”>
<INPUT type=”textbox” name=”txt_Name”>

Now the html code has two objects with same description. So distinguish between these 2 objects we will use the “index” property. Here is the description for both the object

Code:
For 1st textbox:
    obj_Desc(“html tag”).value= “INPUT”
obj_Desc(“name”).value= “txt_Name”
obj_Desc(“index”).value= “0”

For 2nd textbox:
    obj_Desc(“html tag”).value= “INPUT”
obj_Desc(“name”).value= “txt_Name”
obj_Desc(“index”).value= “1”

If you go through the Descriptive programming fully i think you might get some new ideas.
I am also a begineer so my apologies if I said some thing wrong.
Reply


Messages In This Thread
QTP not identifying the Windows objects - by Tinu - 01-23-2008, 08:43 PM
RE: QTP not identifying the Windows objects - by Rajesh - 01-25-2008, 08:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Facing a problem while identifying Angular JS objects in a web page vangasantosh 0 1,220 12-20-2017, 01:26 PM
Last Post: vangasantosh
  UFT 11.53 not identifying VB objects wrapped in activeX controls jainrash 0 2,603 07-02-2014, 03:07 PM
Last Post: jainrash
  QTP Flex plug-in not identifying custom objects kamalteja 0 2,805 10-19-2012, 09:00 PM
Last Post: kamalteja
  QTP doesn't identify C# objects OR interrupts windows messages? Nom1fan 0 2,581 09-10-2012, 05:08 PM
Last Post: Nom1fan
  QTP 11 not identifying web objects using string based DP ankit5815 1 3,383 07-16-2012, 10:36 AM
Last Post: sshukla12

Forum Jump:


Users browsing this thread: 1 Guest(s)