Results 1 to 10 of 10

Thread: QTP- Active Screen

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Dec 2007
    Answers
    5

    QTP- Active Screen

    hey everyone,

    I hv a question regarding Active Screen. Currently in my application when we click on "Change Password" button a new window opens up and we have to type in the password and hit Save.
    QTP is not recording the password window screen. It is only recording the screen prior to it.
    I have selected the "Complete" option regarding Active Screen properties. still no change,

    Can anyone guide me into how to record and store all windows opened by my application

    Thanks in Advance


  2. #2
    Contributing Member
    Join Date
    Nov 2007
    Answers
    48

    Re: QTP- Active Screen

    To record Password change window, you need to perform operation on password change window

    CPS


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

    Re: QTP- Active Screen

    Thanks Sycho,,

    I am performing opeartion(s) on the window. still QTP is not recoding it..
    Itz a 'frame'. I had the same problem with other window of type 'frame'..


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

    Re: QTP- Active Screen

    I find issues like this when I need to do a bitmap checkpoint. Best thing I can suggest is to do more then the one operation in the p/w screen. With the way QTP works your first action would only look at a screen for the last action and when you do just one little thing I find sometimes QTP gets confused. So try doing more than just making it the active screen once, try tab and then active screen again (till you see it has captured it - then delete the junk after).

    Hope this helps.

    J.


  5. #5

    Re: QTP- Active Screen

    or you can use DP:

    Browser("micClass:=Browser").Page("micClass:=Page").WebEdit("name:=somePassword").Set "SomeValue"


  6. #6
    Contributing Member
    Join Date
    Nov 2007
    Answers
    48

    Re: QTP- Active Screen

    Hi, use object spy and note run time properties (at least one) of chnage password window. Suppose you identify text property with value = "changepassword" set desc1 = description.create() set desc2 = description.create() desc1("text").value = "changepassword" desc2("text").value="password" if dialog(desc).exists then dialog(desc1).winedit(desc2).set "newpassword" else msgbox "windows is not recorded" end if this is another way to handle such kind of objects. First one is told be anshoo_arora cheers cps


  7. #7
    Junior Member
    Join Date
    May 2007
    Answers
    3

    Re: QTP- Active Screen

    Hi,
    Try to record in low level recording mode

    regards
    Ketan

    Quote Originally Posted by sameetjoshi View Post
    hey everyone,

    I hv a question regarding Active Screen. Currently in my application when we click on "Change Password" button a new window opens up and we have to type in the password and hit Save.
    QTP is not recording the password window screen. It is only recording the screen prior to it.
    I have selected the "Complete" option regarding Active Screen properties. still no change,

    Can anyone guide me into how to record and store all windows opened by my application

    Thanks in Advance



  8. #8
    Junior Member
    Join Date
    Dec 2007
    Answers
    5
    Hi Ketan,
    Thanks for ur reply. I have recorded in Low level mode and it worked. I can now see all windows.
    However, when I try to Run the test, QTP runs it within 1 sec and Passes it But in actual it is not working.

    Hi Brijesh,
    Thanks for ur reply. I have recorded in Low level mode and it worked. I can now see all windows.
    However, when I try to Run the test, QTP runs it within 1 sec and Passes it But in actual it is not working. I have manually changed the password of a particular user and am using QTP to change it again. But password is not changing.
    I am new to QTP, so still learning about DP.

    Last edited by jainbrijesh; 02-20-2008 at 06:01 AM.

  9. #9
    Junior Member
    Join Date
    May 2007
    Answers
    3

    Re: QTP- Active Screen

    Quote Originally Posted by sameetjoshi View Post
    Hi Ketan,
    Thanks for ur reply. I have recorded in Low level mode and it worked. I can now see all windows.
    However, when I try to Run the test, QTP runs it within 1 sec and Passes it But in actual it is not working.
    Hi,
    Run the script in steps u will know where it is failing


  10. #10
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    Re: QTP- Active Screen

    I think you should try low level recording, but you will not be able to edit the recoded script, or if you will edit it, it may not work.

    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

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