Hi,
I am facing some issues with QTP test automation for Lotus Notes.QTP is not able to identify the objects in notes uniquely
1>>>>>>>
In the 1st screen shot you can see tabs such as "product codes","process class".... and so on, QTP takes all of them as class:"IRIS.odlistList".....and all prperties are same,so no unique identification
2>>>>>>>
When I click on "Create a product class" tab, it goes to 2nd screen shot and here all text fields are taken as "Notes Rich Text"...even checkboxes
here last sentence refers to "Save and Close" button but its still shows as ("Create a Product Class").
3>>>>>>>>
In 3rd screen shot when I click on drill downs it takes all as ("NotesLineView").
-------------------------------------------------------------------
I tried Smart Identification(but all object have same properties),Ordinal Identifier doesnt work either
I also tried DP but didnt work.
-------------------------------------------------------------------
Please tell me if any possible solution is there....
thnx in advance
Abhijeet
I am facing some issues with QTP test automation for Lotus Notes.QTP is not able to identify the objects in notes uniquely
1>>>>>>>
In the 1st screen shot you can see tabs such as "product codes","process class".... and so on, QTP takes all of them as class:"IRIS.odlistList".....and all prperties are same,so no unique identification
Code:
[b]Window("Lotus Notes").WinObject("IRIS.odlistList").Click 111,341[/b]
2>>>>>>>
When I click on "Create a product class" tab, it goes to 2nd screen shot and here all text fields are taken as "Notes Rich Text"...even checkboxes
Code:
[b]Window("Lotus Notes").WinObject("Create a Product Class").Click 58,10
Window("Lotus Notes").WinObject("NotesRichText").Type "Battery"
Window("Lotus Notes").WinObject("NotesRichText").Click 497,153
Window("Lotus Notes").WinObject("NotesRichText").Type "T1"
Window("Lotus Notes").WinObject("NotesRichText").Click 33,263
Window("Lotus Notes").WinObject("Create a Product Class").Click [/b]51,19
here last sentence refers to "Save and Close" button but its still shows as ("Create a Product Class").
3>>>>>>>>
In 3rd screen shot when I click on drill downs it takes all as ("NotesLineView").
Code:
[b]Window("Lotus Notes").WinObject("NotesLineView").Click 116,8
Window("Lotus Notes").WinObject("NotesLineView").DblClick 116,8
Window("Lotus Notes").WinObject("NotesLineView").DblClick 131,24
Window("Lotus Notes").WinObject("NotesLineView").DblClick 134,113[/b]
I tried Smart Identification(but all object have same properties),Ordinal Identifier doesnt work either
I also tried DP but didnt work.
Code:
exa:
Set objDesc = Description.Create()
objDesc("Type").Value = "NotesRichText"
objDesc("Name").Value = "Process Class:"
Window("Lotus Notes").WinObject(objDesc).Type "UPS"
-------------------------------------------------------------------
Please tell me if any possible solution is there....
thnx in advance
Abhijeet