How to call a function in QTP?Is there any method ?
Thanks ,
PRASANNA
Answers were Sorted based on User's Feedback
Answer / siva
there are twoways
call login( login is a function name) for this we have to
create a function in a notepad and we have to save it
with .vbs extension, then we have to go to settings-
resources-you the show he path of the vbs file) then it
will work perfect or else
executefile"pathof your vbs file"
ex: executefile"d:\\login"
i hopw you can understand
Is This Answer Correct ? | 2 Yes | 0 No |
When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)
How to get line numbers in your editor in expert view?
How can we perfom Action and Component parameter.?
How many types of recording modes are there?
Hi All As per the requirements i have to copy the data from word document to excel sheet using the QTP Note : Data in word document is in tabular format i.e there is 80 rows and 5 columns table Can any body provide code for this ? Thanks in advance Regards Test123Test
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.
What are the Levels of Automation in QTP
How did you resolve conflicts present in Object Repository?
write script to read and write data from file ?
Explain types of descriptive programming?
What r steps to migrate from Manual testing to QTP?(IN BOTH WEB BASED AND WINDOWS APP)
w is active screen