Micro Focus QTP (UFT) Forums
DP Web Browser/Page issues - 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: DP Web Browser/Page issues (/Thread-DP-Web-Browser-Page-issues)



DP Web Browser/Page issues - rstimers - 07-08-2015

The following code will not work using title or name for either Browser or Page:

Code:
Browser("title:=OpenSSO (Login)").Page("title:=OpenSSO (Login)").WebEdit("title:=IDToken2").Set "MyName"

If I use creationtime:=0 or index:=0 it works fine but nothing works using attributes name or title. Any thoughts? Is there an environment issue? I have tried on different computers.

Thanks.

Solved, it was the brackets in the name/title - needed to escape them with:

Code:
Browser("name:=OpenSSO \(Login\)").Page("title:=OpenSSO \(Login\)").WebEdit("html id:=IDToken1").Set

Thanks.


RE: DP Web Browser/Page issues - venkatesh9032 - 08-14-2015

Environment Issue... Browser should be always creation time and value should be 0