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
Mention the test steps of qtp.
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
How smart identification works in qtp ?
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
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
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..
Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers
i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?
What are the disadvantages of recording test cases in qtp?
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
What are the types of properties that quick test learns while recording?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
how to download mercury qtp9.2 ny internet ?
Brief the process of testing with UFT?