Hi,
I'm new at QTP, can someone please help me?
After I launch Access application, I find the "Blank desktop database" and
click once.
This code works.
After the click new dialogue is displayed on which I have to click Create
button.
I tried everything to click that button but when I run the script I get an
error "Pin to List" button is not enabled.
Please help.
' Find the location of "Blank desktop database"
count = .WinObject("WinObject").WinList("Featured")
.GetROProperty("items count")
ReDim x(count)
For i = 0 To count - 1
itemlist = .WinObject("WinObject").WinList("Featured")
.GetItem(i)
If itemlist = "Blank desktop database" Then
Exit for
End If
Next
' ' Click on "Blank desktop database"
.WinObject("WinObject").WinList("Featured").Select(I)
Thanks!
--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.