Results 1 to 2 of 2

Thread: Window id

  1. #1
    Junior Member
    Join Date
    Oct 2007
    Answers
    27

    Window id

    window("text:=flight reservation").winobject("attached text:=date of flight:","window id:=0").type "12/12/07"

    dialog("text:=flights table").winlist("attached text:=from","window id:=2001").select"19095 lon 10:24 am lax 01:54 pm af $173.47"

    window("text:=flight reservation").winedit("attached text:=tickets:","window id:=1029").set"2"



    From the above lines tell me clearly abt window id. How u are giving id's like 1014, 1029, 2001. Wat it refers????


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

    Re: Window id

    Hi,

    Window ID would basically be a unique value which retrieves the identity of the current window. This is an integer value which is automatically allocated on creation of a window in the application.

    Every Object displayed in a window would have the same Window ID associated with it.

    We can use the window-id incase they are not dynamic as a supporting Parent Object property for Object Identification

    Incase of dynamic window ID's, we could use a Regular Expression for the same.

    Cheers...


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