Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Want to Automate clicking on Menu items
#6
Solved: 10 Years, 9 Months, 2 Weeks ago
In my framework, I have a search page for text function that uses the page innertext and a INSTR function. It doesn't really care about objects, just text and is a lot faster than the childobject method. It might suit your needs.

AJAX can be tough because the html objects don't exist until later. Try doing a page.sync then a search and click on the object you need. That might work. I know in QTP10 there is a new dev application called the Web Extensibility that is suppose to be able to test ajax, but I haven't used it much and it probably won't work well with 9.2. Best bet is going to be the sync then click. It depends on how the popup is coded. If it's a hidden div that just becomes visible, QTP can find it. If it's a javascript function that builds and adds HTML it might be more difficult, but I still think QTP will find it if you use the right object. Try my click framework, see if it works.
Reply


Messages In This Thread
RE: Want to Automate clicking on Menu items - by jsknight1969 - 09-09-2010, 08:29 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to fetch items from WpfList in UFT saurabhkumar_gupta 0 2,286 03-08-2015, 09:17 PM
Last Post: saurabhkumar_gupta
  Can't locate items on Win7 Desktop RandomGrin 0 1,981 01-30-2015, 10:55 PM
Last Post: RandomGrin
  QTP not clicking on the flex button sudheerch 2 3,442 12-03-2013, 12:56 PM
Last Post: sudheerch
  Clicking command button in accesss form mark_cielos24@yahoo.com 1 3,186 05-07-2013, 10:52 PM
Last Post: agarwl.anurag
  Problem in selecting multiple items in the weblist vijay44 7 17,535 08-10-2011, 06:22 PM
Last Post: gaveyom

Forum Jump:


Users browsing this thread: 1 Guest(s)