Micro Focus QTP (UFT) Forums
Unable to capture text using check point - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Unable to capture text using check point (/Thread-Unable-to-capture-text-using-check-point)



Unable to capture text using check point - jyoo - 10-01-2009

My problem is I have a internal url where all the values are stores as strings but not objects.I am trying to capture that value and store it in data table.But it always takes as '0'.I am using text check point to capture the value.

Please look at the script
Code:
Browser("HM | Home").Navigate "http://qa2/templates/templateViewer.jsp?todo_id=737661037"---internal environment url

Browser("HM | Home").Page("Called Denise Hewitt_2").Link("Click here").Click --- clicking on a link in the page

Browser("HM | Home").Navigate "http://qa1.abcd.com/devTools/sessionDump.jsp?writetodb"--another internal environment url to capture an id Please see the screen shot how the page looks

Browser("HM | Home").Page("Session Dump").Output CheckPoint("Session Dump") ---its a page with out objects,just want to capture a value(entity id from the screen shot.What i did is highlighted tht value and inserted check point on it.but it is not working.

Attached is the screenshot and values are displayed.I am capturing entityid from the screenshot.I selected that value and inserted text checkpoint.

Any thoughts on this.

Thanks in Advance.

Thanks in Advance


RE: Unable to capture text using check point - basanth27 - 10-04-2009

Is there any other object after the page ?? I mean to ask, are the strings when spyed show you a object of any class ?

If you do a check checkpoint what happens ? Do you get any error messages ?