Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to get total number of links on a web page
#1
Not Solved
Hi all,
Can anybody please help me on this code.
Code:
Dim odesc
Set odesc = Description.Create
odesc("micclass").value="Browser"
odesc("title").value = "Welcome: Mercury Tours"
Set  odescp = Description.Create
odescp("micclass").value="Page"
odescp("tile").value= "Welcome: Mercury Tours"
Set odescL = Description.Create
odescL("micclass").value="Links"
Links=Browser(odesc).Page(odescp).ChildObjects(odescL)
MsgBox Links.count

When i am running the code i am getting this error.

General : Run time erro

Line (10):
Code:
"Links=Browser(odesc).Page(odescp).ChildObjects(odescL)".


Thanks,
Rgummadidala.
Reply


Messages In This Thread
Unable to get total number of links on a web page - by RGummadidala - 02-13-2011, 07:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Can QTP handle slick grid table in a web page qtplearner88 2 4,491 10-01-2019, 10:44 AM
Last Post: shilpi952
  unable to rowcount in web table manoj84monu 1 2,905 06-13-2016, 04:46 PM
Last Post: Anu1234
  DP Web Browser/Page issues rstimers 1 2,435 08-14-2015, 12:37 PM
Last Post: venkatesh9032
  I want to click on all the links in the webtable. These links are nothing but some co abhideshpande001 0 2,653 07-22-2015, 09:36 AM
Last Post: abhideshpande001
  Fetching total number of records inside a webtable vidya2k2 2 3,878 06-15-2015, 02:55 PM
Last Post: venkatesh9032

Forum Jump:


Users browsing this thread: 1 Guest(s)