ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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.
 Question Submitted By :: Praveen
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
see..if u dont want parameterization means u have to use 
constant values only. how u can generate user name and 
password automatically.
 
Is This Answer Correct ?    2 Yes 2 No
Nn
 
  Re: 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
# 2
The above is not my answer. So if you don't know, no need to
answer.
 
Is This Answer Correct ?    1 Yes 2 No
Praveen
 
 
 
  Re: 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
# 3
You can generate username and password using random number 
within a range ..convert the generated random numbers to 
string using chr.
 
Is This Answer Correct ?    1 Yes 0 No
Aparna
 
  Re: 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
# 4
Aparna u are correct..but he doesnt want parameterization. 
thats what i mentioned in the above answer. if u generate 
random number and passing that to user name and password, 
it is one of the parameterization techique. Am i correct?
               and another way is u can take the values 
from environment, but this is also one of the 
parameterization.
 
Is This Answer Correct ?    3 Yes 0 No
Nn
 
  Re: 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
# 5
I think we can do this by writing a function...
 
Is This Answer Correct ?    0 Yes 1 No
Rico
 
  Re: 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
# 6
Hi Rico could you please tell us what will be the content 
inside the function.
 
Is This Answer Correct ?    0 Yes 0 No
Aparna
 
  Re: 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
# 7
Hi 

I ont knw when this was posted 

but answer could be by regular Expression, since there will 
a function which will restrict the charecters of a username 
and pwd , i think using this we can do it 

also QTP has a option to test regular expression
 
Is This Answer Correct ?    1 Yes 0 No
Azbi
 
  Re: 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
# 8
http://www.allinterview.com/showanswers/73047.html Check 
this link Aparna...Somebody has already stole my thuder
 
Is This Answer Correct ?    0 Yes 0 No
Rico
 
  Re: 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
# 9
With the help of regular expression
[A-Z]+[a-z]+[0-9]
 
Is This Answer Correct ?    0 Yes 2 No
Aman
 
  Re: 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
# 10
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 ?    0 Yes 0 No
Beer Bahadur Singh
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
how many test scripts we will write in qtp? very urgent. please??? Thanks in advance..  1
what is meant by keyword driven frame work can any one answer plzzzzzzzzzzz  1
i have .xls,.txt,.doc files are there (together). i want find only .xls file among them? how can we write function? CTS2
How to call .vbs funtion , Library files in QTP? plz Explain indetail(chandana) Wipro4
how much space occupies in object respository by default? VSoft5
what is the syntax for regular expression in QTP? how to create user defined functions in QTP? MBT4
dar Sir I am Facing th eProblem in QTP thet ,when I start thrcording inthe QTP for the ASP front end and C# the Coding Language I fing that recording is Done well for the Login screen but at the Time Running the script the QTP is Unable to Identify the Objects On the Objec Onht eLigin screen .Please answer the Question in Description and the Propables reason I might be facing alsp the Popable solution I have to Take thanks and ragards  1
how we connect oracle or sql data server database to qtp Tanla-Solutions2
How to open an application through scripting?  9
How do you create a library file  1
How to change the screen name while running the test. TCS3
How we can add objects to the object repository during the running?is it possible or not?explain  3
Dear Friend, I am New in QTP 10 so can any one tell me how to do QTP testing on WEB APPLICATION while writing VBScript. If Possible then Give Example how to write vbscript in QTP to test WEB Apllication. Vishal Patil  1
How can we display the names of the buttons in the toolbar of a webpage  1
What is keyword driven Testing Framework. Anybody can explain it in details... Pls anybody can give the answer.. Thanks in advance... Navis1
what is the default ordinal identifier.what are the send keys in qTP.  1
How would you parameterize the text field "Country" and the same "country" when it appears as combo field on other page with text field city and same with City combo field? Adobe1
in real time when we are creating the script by default it is going to save in action object repository or not any way my question is in one of my interviewer said that in real time the default object repository is action object repository and by using quick test plus they are going to merge is it correct i said that by selecting the object repository as shared one in selecting the test>>settings>>resources but she is not convinced what is the correct one DigiTech1
i want to handle all the unwanted pop up through QTP i done that with recovery scenario but it need some title of pop up but i want that it should handle all the pop up even i don't give the title of that pop up in recovery scenario is there any general way to handle all the pop up please help  3
HOW TO DO THE BATCH TESTING USING QTP? CTS6
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com