how to write script in qtp(vbscript)..i mean with out
application deployed..and how to call script1 into script2?
Answer Posted / bfakruddin
Hello Bilal,
first try to get the value available in fields... by using
getroproperty
eg:
inp1=object.getroproperty("text")
inp2=object.getroproperty("text")
res1=len(inp1)
res2=len(inp2)
if (res1=0)&(res2=0) Then
msgbox "Fields are Empty"
End if
try to use above code and update as per your requirement
and execute... It will work
else let me know... What the error you are getting
Thanks & regards
Baba Fakruddin.D
| Is This Answer Correct ? | 14 Yes | 4 No |
Post New Answer View All Answers
How does QTP identify an object?
What is Test Fusion Report in QTP?
Object repositories types, which and when to use?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
We stored into the objects OR and then write the scripting
How to remove associated function library?
What are the properties you would use for identifying a browser and page when using descriptive programming?
What are the different types of checkpoints?
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
What is the syntax for how to call one script from another?
Explain in brief about the quicktest professional automation object model?
What are the common defects found in your project? (in qtp interview)
In qtp, how you can use xpath to identify objects?
What is the short cut keys for the following?
How can i initiate the objects to find uniquely in OR