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
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
What are the flaws in water fall model and how to overcome it?
How do you create regression test packs?
What are the types of environment variables in qtp?
How QTP support all types of applications (platforms)?
Explain about Test Fusion Report of QTP?
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
How to associate function library at a run time?
How to analyzing test results using quicktest professional (qtp)?
explain abt dyanamic changing object with example?
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
Difference between test object and run time object?
What is object spy in quicktest professional?
Have you done batch testing in qtp? If yes how you are doing?