First of all I want to say hi to all u there . I just joined this forum and found that it's just great!!!
I have a question in QTP... I want to insert a output value on a text area in a web page say: Total items:3 and retrieve only 3 as output value but not the whole text to a column in data table.can u plz help me
You could filter out "Total items:" while storing the data itself or you could filter it out after storing the data. Assuming you are using the inbuilt Output value utility of QTP I think it would be easiest to replace/filter unwanted data after storing it.
Let's say you have stored the data "Total items:3" in a column "output" in the localsheet. There are a number of ways to filter this out but if the 'Total items:' remains constant throughout, the easiest would be to simply replace this like so:
DataTable("output", dtLocalSheet) = Replace(DataTable("output", dtLocalSheet),"Total items:","")
This step should go into your code after the Output step. It will truncate the 'Total items:' part of your column data so only the data after that remains.
(I'm hiring Software Development Engineers in Test in Seattle, WA)
Capture the text area using Text ouput value or Text Area Ouput value checkpoints, then in Text output value properties or Text Area Output value properties you can spefify the text you want to retrieve.