-
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
-
Re: QTP- Active Screen
To record Password change window, you need to perform operation on password change window
[B][COLOR="Blue"]CPS[/COLOR][/B]
-
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'..
-
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.
-
Re: QTP- Active Screen
or you can use DP:
Browser("micClass:=Browser").Page("micClass:=Page").WebEdit("name:=somePassword").Set "SomeValue"
-
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 [b][color="black"]anshoo_arora[/color][/b] cheers cps
-
Re: QTP- Active Screen
Hi,
Try to record in low level recording mode
regards
Ketan
[QUOTE=sameetjoshi;21869]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[/QUOTE]
-
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.
-
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.
-
Re: QTP- Active Screen
[QUOTE=sameetjoshi;23743]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.[/QUOTE]
Hi,
Run the script in steps u will know where it is failing