Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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.

Answers were Sorted based on User's Feedback



We need to verify the user name & password in for the user validation. But we don't want t..

Answer / nn

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

We need to verify the user name & password in for the user validation. But we don't want t..

Answer / aparna

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

We need to verify the user name & password in for the user validation. But we don't want t..

Answer / aparna

Hi Rico could you please tell us what will be the content
inside the function.

Is This Answer Correct ?    1 Yes 0 No

We need to verify the user name & password in for the user validation. But we don't want t..

Answer / azbi

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

We need to verify the user name & password in for the user validation. But we don't want t..

Answer / sanju

We can use RND Function to generate any String automatically

Suppose the Length of Password which you need to enter is 4


For i=0 to 3
Var=Chr(97-65+1)*Rnd+65
Var1=Var1&Var
Next

97 and 65 are the ascii numbers which will generate the characters randomly

So i am converting ascii number to Chr

Is This Answer Correct ?    1 Yes 0 No

We need to verify the user name & password in for the user validation. But we don't want t..

Answer / nn

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

We need to verify the user name & password in for the user validation. But we don't want t..

Answer / rico

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

We need to verify the user name & password in for the user validation. But we don't want t..

Answer / 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

We need to verify the user name & password in for the user validation. But we don't want t..

Answer / praveen

The above is not my answer. So if you don't know, no need to
answer.

Is This Answer Correct ?    1 Yes 2 No

We need to verify the user name & password in for the user validation. But we don't want t..

Answer / rico

I think we can do this by writing a function...

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

What is the difference between Accessibility Checkpoint and Bitmap Checkpoint in QTP? Note: I have read it in QTP help but i dont want answer from that.......

1 Answers  


What is the Difference between copy to action and call to action?

0 Answers  


How to do Batch run in qtp? provide the steps?

5 Answers  


How we can merge the object repositories?say if we have 2 or 3 object repositories then how we can merge them?Is there any option in QTP to merge the object repositories?

2 Answers  


WHAT IS SMATR IDENTIFICATION? plz EXPLAIN BRIEFLY? IS IT POSSIBLE in QTP? HOW AND WHEn THE SITUATION U R USING EXPLAIN WITH EXAMPLE?

3 Answers  


how to write code for to select all the checkboxs in the gmail i wrote code for my question but it didn't works any body suggest what wrong my code my code is Set chkboxDesc=Description.Create() chkboxDesc("type").value="chekbox" Set chboxcollection=Browser("name:=Gmail .*").Page("title:=Gmail .*").ChildObjects(chkboxDesc) For i=0 To chboxcollection.count-1 chboxcollection(i).set "ON" Next i was getting general run time error pls help me i am in learing stage

2 Answers  


I want to test advanced Java applications what kind of add- ins I have to install?

1 Answers  


we r conduction testing on a project USING QTP, regarding that project the object repository is full ? Till that project having objects that r not recognised by repository, then what wil you do? How we wil recogine remailning objects? Is it possible to maintain another shared(or)peraction repository? what is the maximum capcity of object repository? How the technical people decide this much object repository is enoughf for this project?

7 Answers   AppLabs, CGI,


Hi,How to write regular expression for inbox(10) {here 10 is changing while playback}.tell me the pettern.

6 Answers  


Give the syntax to load function at run time.

0 Answers  


Why VB scripts are used in QTP and TSL in Winrunner, is there any advantage of using VB Scripts

2 Answers  


How to handle Run-time errors?

2 Answers  


Categories