Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DP Web Browser/Page issues
#1
Solved: 9 Years, 4 Months, 2 Weeks ago
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.
Reply
#2
Solved: 9 Years, 4 Months, 2 Weeks ago
Environment Issue... Browser should be always creation time and value should be 0
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can QTP handle slick grid table in a web page qtplearner88 2 4,488 10-01-2019, 10:44 AM
Last Post: shilpi952
  Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify t Divya Roopa 1 8,454 03-11-2014, 12:13 PM
Last Post: devarapallliramana
Question Capture Entire Web page through QTP learnQtptips 2 11,914 07-25-2013, 05:24 PM
Last Post: vinod123
  Getting the complete width and height of the web browser using qtp learnQtptips 1 4,380 05-27-2013, 01:17 PM
Last Post: ravi.gajul
  How to validate tool tip in a web page? qtplearner88 3 4,302 04-24-2013, 05:19 PM
Last Post: nucleation

Forum Jump:


Users browsing this thread: 1 Guest(s)