How to get button Response/Request URLs in QTP? -


how response/request urls (which shown in f12 developer tools - network tab) using qtp 11? based on these urls, need perform action in application. there alternate solution urls?

scenario: open ie browser , navigate url, press f12, go 'network' tab. click on 'start capturing' button. click on button or link on page, set of urls in developer tool (f12).

firstly, need of url requests generated button and/or link click? remember "network" tab in developer tools include url's fetching e.g. javascript , css in addition to, instance request external api.

i'll try provide alternative approach. if requiring url associated each interactive element, should able using getroproperty method so:

strurl = browser("yourbrowser").page("mainpage").webbutton("abutton").getroproperty("href") 

a more generic script fetching e.g. "href" properties links on page may found in following post: (hp quicktest) how http status using quicktest?.

hope helps.

update: regards question regarding fetching of url's ie developer tools; far know there no way fetch them view using qtp.


Comments

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

php array slice every 2th rule -