Micro Focus QTP (UFT) Forums
QTP 11 not identifying web objects using string based DP - 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: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: QTP 11 not identifying web objects using string based DP (/Thread-QTP-11-not-identifying-web-objects-using-string-based-DP)



QTP 11 not identifying web objects using string based DP - ankit5815 - 07-14-2012

Hi ,
I have installed QTP 11 on xp2 with IE8.

While recording and playing the google search script it works fine.but when I use the String based DP and use the first statement

Code:
Browser("name:=Google").Page("title:=Google").WebButton("name:=Google Search").Click

it throws error "Cannot find web button object parent {browser}"

I have tried with supplying different properties along with creationtimeas ordinal identifier but it did'nt help

Just to know ,should I need to install any patch for QTP 11 to fix this issue or any configuration needs to be done


Your help is highly appreciated


Thanks,

Ankit


RE: QTP 11 not identifying web objects using string based DP - sshukla12 - 07-16-2012

Hi,

Try below code:

Code:
Browser("title:=Google").Page("title:=Google").WebButton("type:=Submit","html tag:=INPUT","value:=Google Search").Click

Regards,
Sankalp