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


Please Help Members By Posting Answers For Below Questions

Mention the test steps of qtp.

536


how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

1900


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1358


How smart identification works in qtp ?

574


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.

1560






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

1871


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..

1512


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

1570


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?

1600


What are the disadvantages of recording test cases in qtp?

591


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.

1807


What are the types of properties that quick test learns while recording?

527


If u r using library files (Instead of Check Points) , How do u do bitmap check ?

1448


how to download mercury qtp9.2 ny internet ?

2953


Brief the process of testing with UFT?

625