how u write vb script in qtp pls give me some basic script
and some material
Answer Posted / c.chaitanya kumar
for example login window taken, the following script is
performed
Dialog("Login").Activate
Dialog("Login").WinEdit("username").Set "chaitu"
Dialog("Login").WinEdit("Pasword").SetSecure"mercury"
Dialog("Login").WinButton("OK").Click
| Is This Answer Correct ? | 77 Yes | 17 No |
Post New Answer View All Answers
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
How many types of object repository in qtp?
What is the syntax to call one action in another?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
What is the difference between analog and low level recording?
With what extension you can save the list of tests in a file to run in test batch runner?
hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?
How to use parameterization in qtp?
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
Does QTP run in any environment?
how to find that tools work well with ur existing system?
What are the two types of repositories available, explain them?
What are the views available in qtp?