Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inconsistent click on an object
#3
Not Solved
Yes, I did. It shows only the two objects that are indicated in the code example I've provided in my original post: SwfWindow: Report > SwfObject:SwfObject, which is the same as what displays if the Print button/icon is spied on using the .Net Windows Form Spy.

The normal Object Spy reveals a more detailed hierarchy: SwfWindow: Report > SwfObject: ReportUserControl > SwfObject:CrystalReportViewer > SwfObject: ToolBar > SwfObject: SwfObject. I tried adding the additional objects via the Define New Test Object option in the Object Repository, but that didn't help either.

The only thing that has seemed to help is to click on another button/icon on the Crystal Report and then click on the Print button/icon, but QTP is still not consistently clicking both buttons/icons.

It might also be a timing issue as I added a Wait before clicking the buttons/icons to give the report time to load and it has helped somewhat, but the button/icon click events are still not occurring consistently. Thank you!
Reply


Messages In This Thread
Inconsistent click on an object - by sidman - 06-09-2008, 10:05 PM
RE: Inconsistent click on an object - by niranjan - 06-10-2008, 03:39 AM
RE: Inconsistent click on an object - by sidman - 06-10-2008, 05:13 AM
RE: Inconsistent click on an object - by niranjan - 06-10-2008, 07:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Right Click On a Image and Click on a Link in WebElement RameshKrishnan 4 5,434 07-10-2013, 04:13 PM
Last Post: RameshKrishnan
  How do I left click on the right click menu in WinTreeView? RandomGrin 0 3,925 12-22-2012, 04:22 AM
Last Post: RandomGrin
  How do I left click on the Right click menu? RandomGrin 2 4,221 12-18-2012, 09:47 PM
Last Post: RandomGrin
  Click Object hamzaz 3 3,052 07-26-2012, 04:38 PM
Last Post: Arul
Question Inconsistent Class Name Archens 0 2,632 04-20-2012, 07:43 PM
Last Post: Archens

Forum Jump:


Users browsing this thread: 2 Guest(s)