Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Execute menu's in Home page within the QTP forums, part of the Software Testing category; Hi, In QTP, is it possible to execute menu's in Home page? NOTE : [This question was asked by madhu]...
|
|||||||
|
|||
|
Re: Execute menu's in Home page
option explicit
dim a,b,c,odesc,i set odesc=Description.create() odesc("micclass").value="Link" set a=Browser("name:=Google").page("name:=Google").Childobjects(Odesc) b=a.count for i=1 to b step 1 set a=Browser("name:=Google").page("name:=Google").Childobjects(Odesc) a(i).Click next "here it will count all links in the Home page and depending upon the loop it will click all links it is sample example,try same code with your menus application. it will work or else correct me. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Test through menu's | Lokesh M | Testing Issues | 1 | 12-16-2006 06:56 AM |
| QTP 8.2 on Windows XP Home Edition | Lokesh M | QTP | 1 | 12-08-2006 01:20 AM |
| Work at Home Opportunities | admin | Companies | 5 | 10-09-2006 03:52 PM |
| Home-made Paneer | Lokesh M | Geeks Lounge | 0 | 10-08-2006 02:50 PM |
| Page Designer | Lokesh M | HTML & CSS | 0 | 06-26-2006 08:33 AM |