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 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If I change the property value at runtime is it effect is object repository?

597


what is the difference between modular framework & datadriven framework

1587


What are benefits of qtp?

571


Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also

1857


What is action split and the purpose of using this in qtp?

526






Have you used xml check point in your project? How?

538


Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma

3226


HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com

1525


How to find operating system information using the qtp script?

576


What is checkpoints for quicktest professional (qtp)?

565


How you calling actions in qtp?

618


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1271


Why is Client side image is preferred over server side image?

1433


Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.

1383


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

1453