Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Identifying Dynamic Objects in QTP
#1
Not Solved Rolleyes 
Hi All,
Can any body tell me how can I identify Dynamic objects in QTP and perform action on that using descriptive programming?
Actually i am struck, waiting for reply!!!!!!!!!!!

Thanks in advance
Reply
#2
Not Solved
Hi Ritu,

Can you give me more details. Actually by using DP and Regular expressions we can work with Dynamic Objects in QTP.

Provide me you exact requirement so that i can help you.
Thanks,
SUpputuri
Reply
#3
Not Solved
Hi QTPKing,

Actually i want to identify some text like "My Certifications (48)" , "1 - 48 of 48 records". these both are recognized as single objects. Here numeric values are dynamic, I want to recognize this objects and then want to fetch the new count to verify my case

Thanks
Reply
#4
Not Solved
Hi Ritu,

Use Regular Expression for this numeric values .
for eg: in the object repository for the object set the property value as \d and enable the regular expression.This syntax will accept 0-9 digits.

Regards
Bala
Reply
#5
Not Solved
Hi Bala,
Thanks for ur reply
Can u tell me the way to do through descriptive programming, actually i dont want keep my object in Object repository.
Regds,
Ritu
Reply
#6
Not Solved
Hi Ritu,

Eg:-
Windows("value:=\d").click

like this script use in your application
kindly let me know if u have anyquery

Regards
Bala
Reply
#7
Not Solved
Hi Bala,

I used it this way but its not working

Code:
WebElement("htmltag:=B","innertext:=My Certifications (^\d$)")

Please look into this
Reply
#8
Not Solved
Hi Ritu,

using the object spy capture the webelement in ur application , so the webelement have some properties if the webelement have value property set like this,

eg:
WebElement("htmltag:=B","value:=\d")

kindly let me know if u have anyquery


Regards
Bala
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Facing a problem while identifying Angular JS objects in a web page vangasantosh 0 1,227 12-20-2017, 01:26 PM
Last Post: vangasantosh
  UFT 11.53 not identifying VB objects wrapped in activeX controls jainrash 0 2,608 07-02-2014, 03:07 PM
Last Post: jainrash
  QTP Flex plug-in not identifying custom objects kamalteja 0 2,806 10-19-2012, 09:00 PM
Last Post: kamalteja
  QTP not identifying the Windows objects Tinu 9 9,580 09-07-2012, 12:40 PM
Last Post: anushachanda
  QTP 11 not identifying web objects using string based DP ankit5815 1 3,391 07-16-2012, 10:36 AM
Last Post: sshukla12

Forum Jump:


Users browsing this thread: 1 Guest(s)