Hello,
Can we capture only the labels of the web page in the
object repository. If yes, then how.
Actually my scenario is:
I have to capture all the label of mercury site
http://newtours.mercuryinteractive.com/tour/mercurypurchase.
php.
and want to copy all these labels in the notepad.
So,please help me how to do this all.
Thanks in advance,
Gaytri
Answer Posted / chaitu
Line: 1 Set a = Browser("Browser").Page
("Page").StaticLabeltext
Line: 2 msgbox a
Step:3
'Create the Notepad file and Save the url in that
Dim fso, MyFile
Set fso = CreateObject("Scripting.FileSystemObject")
Set MyFile = fso.CreateTextFile("D:\Documents and
Settings\Administrator.SEERVER\Desktop\chaitu.txt", True)
MyFile.WriteLine(a)
MyFile.Close
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is text/text area checkpoint?
What is keyword view in qtp?
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
To which environments does quicktest professional (qtp) supports?
What is use of object spy?
How will internal and external links be validated and updated? how often?
How you can decide which type of object repository you have to use?
What are the differences between quicktest professional (qtp) and winrunner?
How to check feasibility of the appliction?in automation testing?
Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
Can you brief the hurdles you faced during Automation testing?
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
How to test login module with different username and password by using data driven testing in QTP?
Explain runtime dynamic settings?