Posts: 19
Threads: 7
Joined: Oct 2009
Reputation:
0
11-11-2009, 08:36 PM
Hi Guys
I am working with a .net windows application
I am not able to record most of the screens. i was able to record the first screen though. i have also checked the record & run settings
i am not able to record buttons too
when i tried descriptive programming
swfwindow("x").Swfbutton("y").click
i get the error "object does not support this method or property"
pls help me out in these issues
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
11-12-2009, 10:42 AM
Check If you have .Net Addin properly loaded.
Posts: 159
Threads: 0
Joined: Mar 2009
Reputation:
0
11-12-2009, 12:19 PM
Though not sure, try registering your windows application as a browser from the following
C:\Program Files\Mercury Interactive\QuickTest Professional\bin\SettingNewBrowserControlApplication.exe
Posts: 19
Threads: 7
Joined: Oct 2009
Reputation:
0
11-12-2009, 06:10 PM
(This post was last modified: 11-12-2009, 06:17 PM by sk.aravind.)
I have added the .net add in properly
i have also registered the application as mentioned in the above post
but i still face the same problem
i am able to record the first 2 screens. not able to record from the 3 rd screen
has it got anything to do with infragistic tool. i dont have it
Thanks
Aravind
i forgot to mention one more thing
when i remove the .net add in
I am able to record these screens as
window(..)winobject(..)
but when i add .net add in I am not able to record the same screen which i had recorded without .net add in.
Thanks
Aravind
Posts: 19
Threads: 7
Joined: Oct 2009
Reputation:
0
11-13-2009, 07:56 PM
Thanks sreekanth. will use it and let u know the status
Thanks
Aravind
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
11-20-2009, 12:02 PM
(This post was last modified: 11-20-2009, 12:03 PM by basanth27.)
Arvind -
What made you guess that this could be related to infragistics ?
Let me also add, Inspite of you having infragistics add-in QTP will not perform Record & Playback on that object. You will have to do it programatically.
First step is to talk to your dev lead as to what is the presentation layer or the GUI architecture.
Second step is to use the Object spy on the objects you feel are causing issues. Look for description fields or file reference rows which will clue you to the third party controls used if any.
A further guide is to use the .Net object spy to frame your script programatically.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 49
Threads: 0
Joined: Nov 2009
Reputation:
0
11-20-2009, 01:13 PM
There is a error in the QTP that some times it won't recoganize .new controls as physical objects. it will record all objects as swfobject. the below steps may help you to solve this issue(temporary solution)
1. Close the application and QTP window.
2. Open the QTP application ( .net addin selected)
3. Now open the test application.