How to find the particular word in text file and how to split and capture total line of the founded word using vb scripting?

Normally has many webtable and we can extract a lot of information using webtable methods in QTP.In this post we will discuss various methods by which we can used for webtable object. HyperLink and click the link and the password is 1234 to get the page .


here i want find the HyperLink and password.
my output should like :....
1: HyperLink= "http://google.com/users/login?returnurl=%2fquestions%2fask#create-account"
2: password= 1234

Questions by Baleesh

Showing Answers 1 - 2 of 2 Answers

Anu

  • Jan 24th, 2014
 

You can take the help of regexp object and find the matches as below

Code
  1. span style="color: #ff0000;">"scripting.filesystemobject""C:Usersanu.bajpaiDesktopf1.txt""QTP"

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions