Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to add hidden object to object repository?
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
In a web browser, I need to add the box that pops up when hovering over an icon indicating the text in a WebEdit object is invalid, so I can validate that the "popup' text is correct. But it is only visible when I hover over the icon, so cannot add it to the object repository - as soon as I try by clicking the QTP add object icon, the box I want to add disappears and QTP doesn't see it. Any ideas?

And related to that, when the error icon appears (because the user entered invalid data in the WebEdit object), the WebEdit object has a red box around it that I also need to validate that it's there....but QTP doesn't recognize it either, even though it stays visible. How do I get QTP to see the red box around the WebEdit object?

Thanks in advance for any responses!


Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
First record only that mouse hovering action and you will see some fire event code generated.
Copy that and use in your script.
The error image must also be coming from some javascript event, try it out
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  object spy not recognizing object.. pleaseeeee help Sonia Sadeque 3 3,439 12-22-2016, 02:42 PM
Last Post: ishan.mahajan@adp.com
  Do we need object repository?? subhashinid 0 1,958 07-06-2016, 10:07 AM
Last Post: subhashinid
  When trying to recognize the object in QTP, each object is recognized as “WinObject:S geetasarvadnya 2 3,764 10-28-2015, 12:34 PM
Last Post: vinod123
  How to identify hidden objects shinoj123@gmail.com 1 4,259 09-13-2015, 01:21 AM
Last Post: ADITI1992
  Object Spy window is not getting hidden Neetha 2 2,941 08-28-2015, 01:27 PM
Last Post: balak89

Forum Jump:


Users browsing this thread: 1 Guest(s)