Micro Focus QTP (UFT) Forums
QTP is not identifying Parent objects it self then how can we automate - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: QTP is not identifying Parent objects it self then how can we automate (/Thread-QTP-is-not-identifying-Parent-objects-it-self-then-how-can-we-automate)



QTP is not identifying Parent objects it self then how can we automate - swapna.9n9 - 12-11-2014

Hi All,

Please see my below script it is unable to identify Browser and page itself then How can I perform dropdown selections.
I have QTP 10 version. Could you please provide solution.

Code:
url = "www.ifsccodebank.com"
systemutil.Run "iexplore", url
wait(10)
If Browser("name:=IFSC code | IFSC codes*").Page("title:=IFSC code | IFSC codes*").Exist Then
     msgbox "object found"
End If

'With  Browser("name:=IFSC code | IFSC codes*").Page("title:=IFSC code | IFSC codes*")
'x = .Object.documentElement.innerText
'msgbox x
'End With

''Here returning false for
Code:
"Browser("name:=IFSC code | IFSC codes*").Page("title:=IFSC code | IFSC codes*").Exist "
as QTP unable to identify these objects.