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
How you can find the absolute value of the number in qtp?
What is the difference between call to existing action and copy of an action?
What are private functions in QTP? How they can be called from the function library?
How to do call a output parameter from one action to another action??/
Can we run multiple QTP scripts one after the other without manual intervention? How?
What is qtpro? What is quick test pro? What is a quick test professional?
Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
Define Canvas view of UFT?
Can we create a qtp test from qc?
Have you done batch testing in qtp? If yes how you are doing?
How smart identification works in qtp ?
Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach
Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.
What is fragmentation and paging?