Capture button properties in QTP
Can anybody provide me with a bit of guidance regarding how to capture the link properties of a button.
The button is on a web page and has an embedded href property but I am new to QTP and can figure out how to capture the value of the link.
Any ideas you can provide would be appreciated, thanks
Re: Capture button properties in QTP
propHref = Browser("XXX").Page("YYY").WebButton("ZZZ").GetROP roperty("href")
or you can do Insert > Output Value > Standard Output Value and select the href property and send it to the DataTable.