Results 1 to 3 of 3

Thread: How will you handle the situation when object is not captured during record?

  1. #1
    Contributing Member
    Join Date
    Feb 2008
    Answers
    40

    How will you handle the situation when object is not captured during record?

    How will you handle the situation when object is not captured during record?


  2. #2
    Junior Member
    Join Date
    Dec 2007
    Answers
    24

    Re: How will you handle the situation when object is not captured during record?

    Add the objects to Object repository.
    And manually write the code as per the hierarchy of the OR.
    Sometimes it happens that it may be not able to record the evnts performed by you.

    So we need to write script ...it works fine..


  3. #3
    Junior Member
    Join Date
    Jan 2008
    Answers
    18

    Re: How will you handle the situation when object is not captured during record?

    Hi,

    Descriptive Programming can handle this situation,when QTP is not able to record the actions performed in the application.

    Create description method for the object on which the action is performed.
    For Instance,

    Dim WindowDesc
    Set WindowDesc = Description.Create()
    windowDesc("text").value = "Login"
    Dialog(windowDesc).Activate


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