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
Answer / aiswaryan
If numerics are allowed,
msgbox "ABC Company " & replace(replace(replace(date &
time,"/",""),":","")," ","")
Is This Answer Correct ? | 2 Yes | 0 No |
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 |
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 |
In real time whenever we found bug , after that where you send to that bug. send to T.Lead or Directly Developer. Plz explain me?
Gmail application is there.On that Inbox so many mails are there including naukari mails. On that mails i can select the only naukri mail checkboxes. plz tell the descriptive code for the above..
I have to pass all the test cases into gmail userid and password using functions please give me code thanks have anice and greate day
What is the difference between Keyword Driven test and Data Driven test?
What is creation time property and how does it work?
What is the method for maximize the application while we using Decriptive programming in QTP?
what are the different kinds of frameworks in automation?
What is the virtual object?
Syntact for how to call one script from another? and Syntax to call one "Action" in another?
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
hi. I Am working in Small IT company as Test Engineer. But am looking for change. I have 2+yrs experience, but my problem is MCA 72%, remaining all are Second Division. plz give solution for my problem.am elgible for MNC's or not. if not plz give suggestion............ already i forwarded my resume to lot of MNC's but. I didn,t get CAL............ plz give any suggestion.
What is the process for creating an automated test script using QTP assuming you have reviewed the manual test case and understand the requirements?