Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use GetRoProperty for title
#1
Solved: 10 Years, 8 Months ago
hi all,
i am trying to click on "register" on home page of the site for that one i want to get title of the page when the page opens.
i am trying to open the page by below code.
but how to get "title" of the page then how to write the code for click the word "Register"
Code:
systemutil.Run "iexplore.exe", "http://www.dealsdirect.com.au/"
Reply
#2
Solved: 10 Years, 8 Months ago
Try this

Code:
title = Browser("micclass:=Browser").Page("micclass:=Page").GetROProperty("title")
Reply
#3
Solved: 10 Years, 8 Months ago
Code:
systemutil.Run "iexplore.exe","http://www.dealsdirect.com.au"

TitleValue = Browser("micclass:=Browser").Page("micclass:=Page").GetROProperty("title")
print TitleValue

Browser("micclass:=Browser").Page("micclass:=Page").Link("html tag:=A","text:=Register").Click

This will do it.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Script not getting title in IE UFT_Newbie 1 2,403 09-25-2014, 10:16 AM
Last Post: vinod123
  .Object vs GetROProperty? Archens 0 3,153 03-28-2012, 10:26 PM
Last Post: Archens
  QTP gives wrong value through GetRoProperty rahul3tech 2 3,846 02-03-2012, 10:14 PM
Last Post: rajpes
  How to use GetROProperty mv8167 8 49,274 05-04-2011, 09:52 PM
Last Post: mv8167
  Problem with GetROProperty QADBA 2 4,526 07-15-2008, 07:46 PM
Last Post: QADBA

Forum Jump:


Users browsing this thread: 1 Guest(s)