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

Answers were Sorted based on User's Feedback



In My application, having Copmany Name : Text Box and click Save button. if i enter a vlue, af..

Answer / aiswaryan

If numerics are allowed,
msgbox "ABC Company " & replace(replace(replace(date &
time,"/",""),":","")," ","")

Is This Answer Correct ?    2 Yes 0 No

In My application, having Copmany Name : Text Box and click Save button. if i enter a vlue, af..

Answer / ramesh

Thank You
Aiswaryan


Numerics are Not allowed, plz help m e

Is This Answer Correct ?    0 Yes 0 No

In My application, having Copmany Name : Text Box and click Save button. if i enter a vlue, af..

Answer / aiswaryan

here is my another immatured code for your issue.
company=now
companyName=replace(replace(replace
(company,"/",""),":","")," ","")
replace(replace(companyName,"0","A"),"1","B") 'and keep on
till 9

Is This Answer Correct ?    0 Yes 0 No

In My application, having Copmany Name : Text Box and click Save button. if i enter a vlue, af..

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

More QTP Interview Questions

In website, protocol has been changed http:to https what you will do? tell me your approach?

1 Answers  


I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail. Could you please any assist in this?

2 Answers  


Explain about the test fusion report of quicktest professional (qtp)?

0 Answers  


What are the differences between qtp and winrunner?

0 Answers  


Tell some commonly used Excel VBA functions?

0 Answers  






can any one tell me what is process metrics and what is product metrics if possible give me example. Thank You

2 Answers  


Is it possible to run qtp scripts in Test Director(Scripts are uploaded in Test director)???and also how to see the test results in test director???

1 Answers  


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

1 Answers   DigiTech, Infotech,


The Senario is Steps to do 1.Entered userid in textbox 2.saved with details 3.i want to open user which i have created its in hurry.....

1 Answers  


What is log file?How to write log file code?

2 Answers   Apps Lab, Value Labs,


If the objects hierarchy is changing from build to build, then how you will handle that condition?

0 Answers  


How does quicktest professional (qtp) identifies the object in the application?

0 Answers  


Categories