I have a problem right now.
My question is how to invoke view source through vb script and copy it into a notepad.How to extract a particular string from that notepad?
We have a web application in which there is a web edit box.There is some license agreement in that box and at the last line we have a random key automatically generated every time you login into the application.We have to copy that random key and paste it into the next web edit box.
In order to do that i tried using output values from that box.But there is no text output checkpoint enabled.
So the only way is i have to copy the value from view source to a notepad and copy it from there.
Is there any other solution other than this?
Or else if this is the solution can anyone suggest me how to invoke the view source from notepad and copy a particular string into a new text pad.
Hi Treddy, This sounds like a good solution for me... But could you explain me how to actually use this. I am thinking this will give me the HTML source of the page and from this I can actually extract the string I need. But dont know how to code this. how to get this HTML source into a variable or a text file and extract the string I need. I need to extract a string after "Random Key:".
01. LR 11.1 (Patch 3)
02. Web(HTTP/HTML) URL method
05. LoadRunner 11.1
07. Subscription - 5000 Web and Multimedia
09. Win Vista Enterprise SP2/Ubuntu Linux 10.04 LTS/Solaris
10. I haven't filed one.
This is the view source code :
Random Key : ggomo
<TD colSpan=2>The <A href="/partners/apply_docs/tnc40/guides/"
In this code i have to copy " ggomo " which is a variable and paste it in the next web edit box.