How do u write script in qtp? where do u write?
Answers were Sorted based on User's Feedback
Answer / sreekanth
In QTP we can develop the script in following ways :
1. By Using Standard Recording :Here script will be
Automaticaly Generated as per the recording.
2.Manually writing the Script:
for above two ways script will be written in the
Expert view of the Test Pane of Quick Test Window.
3. Using Library Files(.vbs):
In.vbs files also we can write the script & then we can
associate that files to a particular test if needed.
Mostly we are going to develop the scripts in expert view
by using 1 or 2 itself.
| Is This Answer Correct ? | 6 Yes | 0 No |
how will you handle the situation when object is not caputred during record?
I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?
Hi Friends...this is surendra..recently i joined automation team ...Please send me some documents regarding VB script ...and where can i learn VB script... This is My mail id: surendra.mamilla@gmail.com... please send to my mail.... Thanx in advance surendra.
how your doing reporting in your script?
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?
Any one please tell me how to create framework in QTP (in detail). Is there any website for reference?
Shared Object Repository is preferable while dealing with dynamic objects ok? descriptive prog also same? ok but why descriptive?(only for w/o application)
How to create scenario selector
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
what are the disadvantages in QTP 9.2?
I recorded a Web based Application running on JAVA and when I went to play them back a week later they didn't run. I noticed that the Browser was putting in a (Underscore and a Number) for each line so i re-recorded and noticed the Underscore line wasn't the same as what i recorded last week so any script I record today will not work next week because the browser settings or how QTP recognizes it keeps changing. This is the new line Browser("Bureau of Labor Statistics_4").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" This is the old line 'Browser("Bureau of Labor Statistics_3").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" Notice the Burearu of Labor Statistics_3 adn Burearu of Labor Statistics_4. Why does it change and how do I prevent it from changing.
How to call .vbs funtion , Library files in QTP? plz Explain indetail(chandana)