Hi Ankur and All,
Pls. Sort out my problem,
QTP does not able to recognise the object in Window application. The applicatin in .Net. While writing Description Programming, I am facing prblem of creating object.
Winb object is not recognise by QTP. My dead line of 25/4/08. Pls. help me out.
Pls. Sort out my problem,
QTP does not able to recognise the object in Window application. The applicatin in .Net. While writing Description Programming, I am facing prblem of creating object.
Code:
Set mywin = Description.Create ()
mywin("Class Name").value="Window"
mywin("windowstyle").value="382337024"
Set mywin1 = Description.Create ()
mywin1("Class Name").value="WinObject"
Set winb = Description.Create ()
winb("Class Name").value="WinButton"
winb("Name").value="Family History"
Window(mywin).Activate
Window(mywin).WinObject(mywin1).Static(winb).click