Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP doesnt identify objects uniquely
#1
Solved: 11 Years, 5 Months ago
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

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


Attached Files
.doc   Notes.doc (Size: 310.5 KB / Downloads: 117)
Reply
#2
Solved: 11 Years, 5 Months ago
QTP does not support Lotus notes. Though you can use the lotus notes API to send mail
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT CAN'T IDENTIFY OBJECTS ORGIO 3 2,431 07-28-2018, 01:25 AM
Last Post: marcelodruida
  UFT unable to identify Java app objects consistently lester 1 2,069 07-12-2018, 08:28 PM
Last Post: Ankur
  How to identify hidden objects shinoj123@gmail.com 1 4,280 09-13-2015, 01:21 AM
Last Post: ADITI1992
  Qtp 10.0 Not able to identify objects on Win 8.1 64 bit OS hpuser 1 2,365 06-11-2015, 06:43 PM
Last Post: venkatesh9032
  QTP 11 Flex 4.5 Unable to Identify Objects krishiyers 1 3,828 12-24-2014, 12:39 PM
Last Post: vds.vipul

Forum Jump:


Users browsing this thread: 3 Guest(s)