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
Why we load add-ins in qtp?
Is text area check point supports for web applications?
What are the challenges you faced during you entire life automation ?
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
How does qtp identify objects in the application?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
Explain how you can find the absolute value of the number in qtp?
What is the use of an object spy tool in qtp?
How does qtp identify gui object?
how to test Web application using QTP software
In Remote acess server how u run a test?
Explain different checkpoints in qtp.
What does mean by Scope of Automation?n How we defined it?
after click on compose mail how can we attached a file in qtp with vbscript code