Results 1 to 3 of 3

Thread: Execute menu's in Home page

  1. #1
    Expert Member
    Join Date
    Oct 2006
    Answers
    209

    Execute menu's in Home page

    Hi, In QTP, is it possible to execute menu's in Home page?

    NOTE : [This question was asked by madhu]


  2. #2
    Expert Member
    Join Date
    Apr 2008
    Answers
    1,859

    Re: Execute menu's in Home page

    hai friend,

    Will you please let me know what you are expecting actually. Menu in home page really confused.

    Thanks
    Deepa


  3. #3
    Junior Member
    Join Date
    Jun 2009
    Answers
    2

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact