Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
This code does not give total no of links present on page plz help it returns 0
#5
Solved: 11 Years, 2 Months ago
This might help you while debugging.
Just check the browser that is active and the browser, you are trying to retrieve the link.

Code:
[b]Browser("micclass:=Browser").Page("Page for Archive link")[/b].Sync
set issuecount = [b]Browser("title:=.*").Page("title:=.*")[/b].ChildObjects(obabstract)

Second,
as you said ur links are within the webtable, you should apply the description object on the webtable not on the page like....

Code:
set issuecount = [b]Browser("title:=.*").Page("title:=.*").webtable("xxxx")[/b].ChildObjects(obabstract)
Reply


Messages In This Thread
RE: This code does not give total no of links present on page plz help it returns 0 - by learnQtptips - 07-24-2013, 05:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to check expected cookies are present or not priyanka.agarwal 0 1,936 07-02-2015, 12:43 PM
Last Post: priyanka.agarwal
  VB Script to count number of links in a web page. Suma Parimal 4 25,150 07-01-2015, 12:59 PM
Last Post: govind
  how to get a link present under mouseover action priyadarisini 1 2,271 12-03-2013, 08:59 PM
Last Post: Parke
  I want to compare string present on two pages excellentpawan 3 3,412 07-23-2013, 02:33 PM
Last Post: ssvali
  I want to count total no of links in a page and click one by one excellentpawan 9 7,075 07-23-2013, 11:51 AM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 4 Guest(s)