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.c
Browser("Browser").Page("Welcome: Mercury Tours").WebEdit
("userName").Set "chaitanyakumar2005"
a = Browser("Browser").Page("Welcome: Mercury
Tours").WebEdit("userName").GetROProperty("name")
msgbox a
Browser("Browser").Page("Welcome: Mercury Tours").WebEdit
("password").SetSecure "462974ae67a58c7d26974858f8a5b00fa630
"
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Hybrid framework supports Descriptive programming. Is it true?
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
Explain the qtp test phases.
What is a data driven test in qtp?
how interviews will be on QTP?
How are actions and functions different in QTP?
Describe function procedure in vbscript.
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
How to suppress warnings from the test results page?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
Explain calling sub procedure.
what are the challenges you have faced while testing web based application using the automation tools ?
• What type of testing questions will be asked for 2+ yrs exp people in interview?
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.