We need to verify the user name & password in for the user
validation. But we don't want to use the parameterization/
loop for user name and password. What is the way in
scripting so that user & password will generate automatically.

Answer Posted / beer bahadur singh

we can write like this

Browser("name:=Browser").Page(name:=Page").WebEdit
("name:=username").Set "abc"
Browser("name:=Browser").Page(name:=Page").WebEdit
("name:=password").Set "abc"

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how interviews will be on QTP?

1514


How does qtp identify objects in the application?

575


when will you do debug your script? and explain that process?

1443


How to run a test using quicktest professional?

520


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

596






How many types of parameters are available in quicktest professional?

514


What are the main differences of qtp and win runner?

587


What phases are involved in testing an application in qtp?

556


Name the properties you would use for identifying a browser and page when using descriptive programming?

514


How to carry out bit map check points in QTP

1753


Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........

1565


With what extension you can save the list of tests in a file to run in test batch runner?

554


i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression

1018


Can any suggest me what is exposure testing?

1365


How you can decide which type of object repository you have to use?

693