IF application is a Java-based application means 2 0r 3
tier application. How the script will be in QTP. pls kindly
give some sample script.
Answer Posted / baba fakruddin
VBScript is scripting language which is used by QTP. QTP
supports no.of environments. Initially we have to check
particular addin and enter. QTP prepares methods for that
environment in background and it identify the object and
generates steps with that methods.
for Java application, we have to install java addin and
check java addin before we start scripting.
QTP will record script in the form of
javawindow("Calculator").javabutton("1").click
javawindow("Calculator").javabutton("2").click
javawindow("Calculator").javabutton("+").click
.
.
.
.
if you wanna write scripts in descriptive you can go like this
javawindow("windowname:=Calculator").javabutton("text:=1").click
javawindow("windowname:=Calculator").javabutton("text:=2").click
.
.
.
you can use collection object
dim window
set window=description.create()
window("title").value=Calculator
javawindow("window").javabutton("text:=1").click
javawindow("window").javabutton("text:=2").click
.
.
.
.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is test object model in quicktest professional?
How to create scenario selector
How to create Reusable and Multiple Actions?
how u will evaluate the tool for test automation?
Have you used xml check point in your project? How?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
When to use shared and local object repository?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
What is output value? How many types of output values are there in qtp?
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
How can you handle exceptions in qtp?
what is the mail use of frame work(with detail). architecture for keyword driven frame work
What are the check points can be inserted without recording?
Difference between test object and run time object?
Explain the concept of how quicktest professional (qtp) identifies object?