Results 1 to 4 of 4

Thread: how to get the caption of a window

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Answers
    3

    Post how to get the caption of a window

    hi all,

    Please anybody can tell me how to get child window count. And also how to get the 'Window Caption' of the child window which is presently in focus.

    Thank you in advance.


  2. #2
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    Smile Re: how to get the caption of a window

    Hi,

    Try the win_get_property.

    Pass the Window_name and property to be fetched as parameters. Property could be Label which would be equivalent to Caption.

    Cheers....


  3. #3
    Junior Member
    Join Date
    Dec 2007
    Answers
    3

    Re: how to get the caption of a window

    Thank you very much for ur concern Umesh Krishnan, but my qeustion is: In my application there are nearly 100 child windows, each window has some edit fileds blah blah........., i have to change all the edit fields.....,
    Now my doubt is: i dont know which window will pop up, so as soon as a child window pops up i want to get the caption of that window and proceed next.


  4. #4
    Junior Member
    Join Date
    Dec 2007
    Answers
    3

    Re: how to get the caption of a window

    Please anybody can tell me the solution. Becuase its quite urgent.


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