RFT-how to get the title of the webpage in RFT -


i trying automate web application using rft.the web application written in java.

my test case,the moment,i navigate particular page,i want title of webpage

example:- go www.google.com , click on 'news'. page title "google news".

i want title.

like in selenium,i aware gettitle() used give me title of page

please help!

thanks!

getting tile depends on type of application is( mean if html/win/.net/java etc) , type of object have in object map it. information looking can use testobjectinspector in rft. using testobjectinspector(and setting "show properties" ) can check property 1 shows title , on object can call getproperty("propertyname"); java application (as mentioned application based on) might use .captiontext or if have htmlbrowser in object map can find htmldocument (htmlbrowser's child) , call getproperty(".title").


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -