In My application, having Copmany Name : Text Box and
click Save button. if i enter a vlue, after run..........it
shows the already exists. so
how to enter random ro mmultiple names names into webedit
box(company Name). without using DATATABLE
THanks
Ramesh
Answer Posted / ashok kumar
Chars =
array("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z")
For i = 1 to 4
random = Rnd()*26
random_value = random_value & Chars(random)
Companyname = "CompanyName_"&random_value
Next
Result:
CompanyName_s
CompanyName_so
CompanyName_sop
CompanyName_sopi
--------------------------------
If you don't want loop, then remove the 'For' loop and write
'Randomize' below the array...
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the different types of action?
banking domain description for software tester for interview
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
How can i initiate the objects to find uniquely in OR
Explain the Different types of QTP test assets and their extensions?
Explain calling sub procedure.
Is it possible to merge two object repository files in qtp?
Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.
What is Cross browser testing? Does UFT support it?
What are the challenges you faced during you entire life automation ?
What are parameterizing tests?
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
Hi Samrat, Thank u very much, what u said it is right.
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u