i am trying to capture the URL from the open browser and
store it. pls give me solution how we can do this in QTP.
thanks
Answers were Sorted based on User's Feedback
Answer / chandu
try this
x=Browser("ALL Interview .com ::").GetROProperty("openurl")
msgbox x
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / neeraj chauhan
Hi All
Set oDesc=Description.create()
oDesc("html tag").value="INPUT"
oDesc("micclass").value="Link"
set
CollectionOfLinks=Browser("vBrowser").page("vPage").childobjects(oDesc)
NumberOfLinks=CollectionOfLinks.count()
for i=0 to NumberOfLinks
Print CollectionOfLinks(i).GetRoProperty("href or url")
Next
If still you face any problem, reply me.
Thanks and Regards
Neeraj Chauhan
Is This Answer Correct ? | 3 Yes | 0 No |
how to write testcases for web based insurance,from the script by using qtp.
I have faced one issues while doing test in QTP. I have described the scenario below. 1. I have to test web application.In that i want to give input of drop down values in the application. 2. Suppose Drop down has 5 value "A,B,C,D,E".I would like to give value from data table of QTP. 3. I have changed the drop down value as variable in Keyword view and given values in data table "A,B,C,D,E" as one below one. 4. While i am running the script it could not identify the drop down value which is in Data Table.It shows message. How to make value identify by QTP?
Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?
Hi, Has anybody attended IBM interview on 17th APR 2010,and got offer letter? I had given interview and selected also but still did not recieve offer letter.
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!
What is the descriptive programming?
Is there a function to find the number of occurrences of sub strings within a string?
How function returns a value?
what the difference between shared repository and per action repository?
what is the extension for QTP files?
Explain getroproperty and gettoproperty & settoproperty?