Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get the source code from a Page or Browser Object
#1
Not Solved Question 
Hi all,

I am using QTP on a commercial Website and want to test if a portion of text exist in the webPage. The objects and webelement are'nt always defined with an id or a property and sometime it take me very long time to reconize it with a Description / childObjects method when i make my scripts.

I was wondering if there is any method to get the full source code from a page object in a single string, so i could compare it with the portion of text I want with a InStr() vb fonction.

Any Idea ?
Thx
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Using external data source for multiple actions Neetha 0 1,780 10-26-2015, 06:23 AM
Last Post: Neetha
  This code does not give total no of links present on page plz help it returns 0 excellentpawan 8 5,610 01-17-2015, 07:49 PM
Last Post: yogi4tech
  Close browser code not working akilamurugesh 1 4,625 08-26-2014, 03:21 PM
Last Post: vinod123
  General run error. Line (18): "Loop while Browser("Index:=0").Object.Busy" AshokReddy 3 5,058 12-20-2013, 01:44 PM
Last Post: sshukla12
  UFT object Identification Issues with Win 8 and IE 10 Browser rajeshnunna 1 3,787 11-21-2013, 07:34 PM
Last Post: rajeshnunna

Forum Jump:


Users browsing this thread: 1 Guest(s)